
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
groupinputs
Advanced tools
Easy data input into several inputs.
Inputs begin to behave as if they share data:
bower install --save groupinputs
<script src="jquery-1.7.2.js"></script>
<script src="jquery.groupinputs.js"></script>
<input type="text" maxlength="4" class="group1" name="">
<input type="text" maxlength="4" class="group1" name="">
<input type="text" maxlength="4" class="group1" name="">
<input type="text" maxlength="4" class="group1" name="">
<script>
$('.group1').groupinputs();
</script>
keydown and keypress events don't need to add preventDefault in order to keep user defined shortcuts. It’s necessary to clean the box after you enter the symbols as follows:
$('.group1').on('input propertychange', function(e) {
var elem = $(e.target),
value = elem.val(),
caret = elem.caret(),
newValue = value.replace(/[^0-9]/g, ''),
valueDiff = value.length - newValue.length;
if (valueDiff) {
elem
.val(newValue)
.caret(caret.start - valueDiff, caret.end - valueDiff);
}
});
The example uses a plugin jCaret.
Add an attribute pattern="[0-9]*".
<input type="text" maxlength="4" class="group1" name="" pattern="[0-9]*">
Does not work in iOS (method input.focus() does not work).
FAQs
jQuery Group Inputs. Easy data input into several inputs.
The npm package groupinputs receives a total of 6 weekly downloads. As such, groupinputs popularity was classified as not popular.
We found that groupinputs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.