I'm working on a form in which few fields are added dynamically, those input fields also have spry validations, so that form submit after validation. that dynamic fields can also be removed if not required. I removed that fields using jquery and no longer available on the form but doing the same form is unable to submit using submit button.
I try to submit form using javascript form.submit() function, form submitted but button variable couldn't received.
So How can I disable the spry validation check on the unavailable fields.
Thanks for your reply thats work well please suggest any reference for spry tutorials :)
moreover I wanna ask I apply spry validation by just using the following!
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield_", "none", {minChars:5, maxChars:10});
but I m just destroy sprytextfield1? is it good to use it as or have to use other method!
also mention how to implement on multiple fields... where some select fields are also!