Thanks for using my multifield extender plugin and your great response. I received many emails reporting bugs and asking support for edit mode. I implemented it few days ago and publishing new version now.
Many bugs are fixed with this plugin and you can use this plugin in edit forms with very little code at server side.
This plugin is not limited to inputs but you can even add support to add multiple files and upload them to server. I’ll upload demo of multiple file uploading using this plugin with asp.net soon.
What’s it : a jQuery plugin to add multiple fields (cloned elements) on-the-fly on a web page with great custom extensions – asp.net, php or any server side language
Check out demo page for more information.
What will happen at server side and how to get this data?
The plugin modifies IDs and names of all elements it has cloned and adds its count prefixing an underscore with the main element that has copied first.
eg. “txtName” is an input box and was cloned by this plugin, new input will be called as “txtName_1″ automatically.
Below code will give you an array of all entries made on page including main input element, you can use for any kind of input element not only textbox.
private ArrayList getTimesArray(string textBoxName)
ArrayList arrValues = new ArrayList();
for (int i = 0; i < Request.Form.AllKeys.Length; i++)
if (Request.Form.Keys[i].ToString().IndexOf(textBoxName) >= 0)
Go to live demo page
There are more details on demo page, how to setup and customize to make it fit in your requirements.
Download Sample files:
Please let me know if any problem or any help required. Provide your feedback in comments or contact me on GMail.