Multi Text Box Input – jQuery Plugin
$19.00
12 sales
LIVE PREVIEWIntroduction
In the fast-paced digital world, simplifying complex user inputs can be a significant hurdle to overcome. The MultiTextBoxInput jQuery Plugin is an excellent solution for this issue, allowing developers to easily and efficiently capture user data, particularly in cases where multi-part input is necessary.
Design and Ease of Use
The MultiTextBoxInput jQuery Plugin offers an intuitive interface, allowing for seamless integration into your projects. With its versatility in handling multiple text box input types (numeric, alpha, alpha-numeric, etc.), this plugin becomes an invaluable asset in developers’ arsenals. A well-crafted property array enables the customization of visual elements, such as setting the separator, adding CSS classes, and manipulating characters cases, to cater to the project’s needs. This, combined with detailed documentation, makes this plugin an absolute breeze to operate.
Features
- Displays multiple text boxes for single input
- Offers flexibility for serial numbers, SSN, IP address, phone numbers, and other values with multiple parts
- Allows customization options, including restricting inputs by numbers, letters, alphanumerics
- Calculates text box widths to accommodate characters, numbers, and upper/lower cases
- Provides seamless movement between text boxes via autocorrect focus
- Comes with options for capitalizing and separating text in both directions
Scoring
As an integral development tool, the Multi TextBox Input jQuery Plugin undoubtedly lives up to its promising specifications. This comprehensive jQuery component boasts seamless integration with varying user interfaces, thereby effectively simplifying the interaction users have with your online creation. This, considering user-friendliness is usually an integral part in establishing the efficacy of various pieces of technology.
Please see below my rating with comments:
Total: 0 out of 10
Overall (Content) 3.2
Scorebreakdown (Content):
Documentation: 2/2
This plugin appears solid, even if unexperienced user should not consider relying on.
Examples or real-life demonstrations of potential outputs have not been observed from this project.
Visual/Aesthetics: 2.2
Colors are often too different.
Usability: 1/2
Too complex
Performance /5.0
Relevance to Task Not rated, no such
Reliability Rated highly
Reliability rated /5.0 .5 out of
Feedback -
In your response,
Please also clarify your specific rating,
to enable
other professionals using the project to find if this could be appropriate according to this
content within their tasks.
That way
it remains well for potential
evalutations
Rating
.9 out
Therefore, as an important coding component in web creation
development tools
have its merits,
it must 0.
This gives information for understanding
The reliability
Let's go further with "download this bundle which is 50% off." (The first part
for your readers, an alternative)
User Reviews
Be the first to review “Multi Text Box Input – jQuery Plugin” Cancel reply
Introduction
The Multi Text Box Input jQuery Plugin is a powerful tool for creating input fields that can handle multiple values, such as arrays of strings or objects. This plugin is particularly useful when you need to capture multiple values from a user, such as when collecting information for a survey or a form with multiple entries. In this tutorial, we will cover the basic usage and advanced features of the Multi Text Box Input jQuery Plugin.
Setting up the Plugin
Before we dive into the usage of the plugin, make sure you have the plugin included in your HTML file. You can download the plugin from the official website or use a CDN to link to the plugin file.
<!-- Include the plugin file in your HTML -->
<script src="https://cdn.jsdelivr.net/npm/multi-text-box-input@1.2.3/dist/multi-text-box-input.min.js"></script>
Basic Usage
To use the plugin, you need to create an HTML input element and attach the plugin to it using jQuery. Here is an example of how to do this:
// Attach the plugin to an HTML input element
$('input[name="myInput"]').multiTextBoxInput({
// Options can be passed as an object
options: {
// Set the maximum number of inputs to 3
maxInputs: 3
}
});
In the above example, we attached the plugin to an input element with the name "myInput". We also passed an options object with the maxInputs
option set to 3, which means the plugin will allow the user to enter up to 3 values.
Adding New Inputs
By default, the plugin will add new input fields dynamically when the user clicks the "Add" button. You can customize the "Add" button text using the addButtonText
option:
$('input[name="myInput"]').multiTextBoxInput({
options: {
addButtonText: 'Add More'
}
});
Removing Inputs
The plugin also provides a way to remove input fields. You can customize the "Remove" button text using the removeButtonText
option:
$('input[name="myInput"]').multiTextBoxInput({
options: {
removeButtonText: 'Remove'
}
});
Getting and Setting Values
You can get and set the values of the input fields using the getValue()
and setValue()
methods respectively:
// Get the values of the input fields
var values = $('input[name="myInput"]').multiTextBoxInput('getValue');
// Set the values of the input fields
$('input[name="myInput"]').multiTextBoxInput('setValue', ['Value 1', 'Value 2', 'Value 3']);
Events
The plugin provides several events that you can listen to:
// Listen to the add event
$('input[name="myInput"]').multiTextBoxInput('on', 'add', function(index, text) {
console.log('Added new input:', index, text);
});
// Listen to the remove event
$('input[name="myInput"]').multiTextBoxInput('on', 'remove', function(index, text) {
console.log('Removed input:', index, text);
});
Advanced Options
The plugin provides several advanced options that you can use to customize its behavior:
// Set the initial values
$('input[name="myInput"]').multiTextBoxInput({
options: {
initialValues: ['Initial Value 1', 'Initial Value 2']
}
});
// Set the input field types
$('input[name="myInput"]').multiTextBoxInput({
options: {
inputTypes: ['text', 'textarea']
}
});
Conclusion
In this tutorial, we have covered the basic usage and advanced features of the Multi Text Box Input jQuery Plugin. We have seen how to set up the plugin, add new inputs, remove inputs, get and set values, and customize the plugin using options and events. With this knowledge, you should be able to use the plugin to create complex input forms that capture multiple values from users.
Here is a complete settings example for the Multi Text Box Input jQuery Plugin:
Height
You can set the height of the multi text box input using the height
setting. For example:
$('#multi-text-box').multiTextBoxInput({
height: 200
});
This will set the height of the multi text box input to 200 pixels.
Width
You can set the width of the multi text box input using the width
setting. For example:
$('#multi-text-box').multiTextBoxInput({
width: 400
});
This will set the width of the multi text box input to 400 pixels.
Max Items
You can set the maximum number of items that can be added to the multi text box input using the maxItems
setting. For example:
$('#multi-text-box').multiTextBoxInput({
maxItems: 5
});
This will set the maximum number of items that can be added to the multi text box input to 5.
Placeholder
You can set a placeholder text for the multi text box input using the placeholder
setting. For example:
$('#multi-text-box').multiTextBoxInput({
placeholder: 'Enter a value'
});
This will set the placeholder text for the multi text box input to "Enter a value".
Delimiter
You can set the delimiter character used to separate the items in the multi text box input using the delimiter
setting. For example:
$('#multi-text-box').multiTextBoxInput({
delimiter: ','
});
This will set the delimiter character to ",".
Add Button Text
You can set the text for the add button using the addButtonText
setting. For example:
$('#multi-text-box').multiTextBoxInput({
addButtonText: 'Add'
});
This will set the text for the add button to "Add".
Remove Button Text
You can set the text for the remove button using the removeButtonText
setting. For example:
$('#multi-text-box').multiTextBoxInput({
removeButtonText: 'Remove'
});
This will set the text for the remove button to "Remove".
Initial Values
You can set the initial values for the multi text box input using the initialValues
setting. For example:
$('#multi-text-box').multiTextBoxInput({
initialValues: ['Value 1', 'Value 2']
});
This will set the initial values for the multi text box input to "Value 1" and "Value 2".
Validation
You can set the validation rules for the multi text box input using the validation
setting. For example:
$('#multi-text-box').multiTextBoxInput({
validation: {
required: true,
pattern: /^[a-zA-Z0-9]+$/
}
});
This will set the validation rules to require a value and only allow alphanumeric characters.
Custom Class
You can set a custom class for the multi text box input using the customClass
setting. For example:
$('#multi-text-box').multiTextBoxInput({
customClass: 'my-class'
});
This will set the custom class for the multi text box input to "my-class".
Here are the features of Multi Text Box Input - jQuery Plugin:
- Displays multiple text boxes for single input: The plugin displays multiple text boxes that can be used for inputting values such as serial numbers, SSNs, IP addresses, phone numbers, and more.
- Can be used for serial number, ssn, phone number, or other similar inputs: The plugin can be used for various types of input that require multiple parts or sections.
- Input can be restricted to numbers: The plugin can be configured to restrict the input to numbers only.
- Input can be restricted to letters: The plugin can be configured to restrict the input to letters only.
- Input can be restricted to alpha-numeric values: The plugin can be configured to restrict the input to alpha-numeric values only.
- Width is automatically calculated based on the following parameters:
- The number of characters
- Input type (numeric characters take less space than alphabetic characters)
- Uppercase/lowercase characters (lower case characters take less space than uppercase characters)
- Auto conversion to uppercase or lowercase characters as specified: The plugin can be configured to automatically convert the input to uppercase or lowercase characters.
- Auto focuses next part/textbox after the required characters are entered: The plugin can be configured to automatically focus the next textbox after the required characters have been entered.
- Auto focuses previous part/textbox on backspace: The plugin can be configured to automatically focus the previous textbox when the user presses the backspace key.
- Can specify the number of text boxes to be displayed along with a separator: The plugin can be configured to display a separator between each textbox.
- Hint can also be displayed to the right of textboxes: The plugin can be configured to display a hint or label to the right of the text boxes.
- Examples have been provided: The plugin comes with examples of how to use it.
- Properties include:
- Value: The text that is displayed in the text boxes.
- Input count: The number of text boxes to be displayed.
- Separator: The separator for each part of the input.
- Hint: A label that is displayed to the right of the text boxes.
- Hint CSS class: The CSS class for the hint.
- Input lengths: Comma-separated lengths for the text boxes.
- CSS classes: Comma-separated CSS classes for the text boxes.
- Char case: The case of the characters (none/uppercase/lowercase).
- Input type: The input type of the text boxes (none/alphabetic/numeric/alphanumeric).
- Allow decimal point: Whether decimal points should be allowed for numeric input type.
- Allow space for alphabetic type: Whether white spaces should be allowed for alphabetic and alpha-numeric input types.
- Methods include:
- Value(): Retrieves the text of the text boxes.
- Vlaue(value): Sets the text of the text boxes.
- is Empty(): Determines whether all text boxes are empty or contain only white spaces.
- is Input complete (ignore white space): Determines whether values have been entered with the required length in all text boxes.
- More Useful Items:
- PHP Code Generator
- C# Code Generator for SQL Server/MS Access
- C# Code Generator for MySQL
- C# and VB.Net Code Generator for Entity Framework
- Email Scheduler and Bulk Email Sender with Bootstrap
- Android SMS Filter with Material Design
- MultiTextBoxInput Web Server Control
Related Products
Highlighter Pro: A Medium.com-Inspired Text Highlighting and Inline Commenting Tool for WordPress
$19.00
There are no reviews yet.