GumbyFramework / Gumby

A Flexible, Responsive CSS Framework - Powered by Sass
http://gumbyframework.com/
2.85k stars 440 forks source link

How to Validate two form in same page? #250

Open davidartal opened 10 years ago

davidartal commented 10 years ago

good morning, I am initiating me with Gumby. I have a problem with 2 forms that are on the same page. I visualize with modal depending on a call or another. The validation of the fields and submit it as I do in the example documentation Gumby, to make the ajax submit. My problem is that it only works the first form, even if i copy the first form twice and rename the fields and then the validation right after the creation of the form, still not working. I think I am not very clear as the call to do validation function with $ ('form') the two validations works, if I try to do with the name or id of each form, not function. Can someone show me an example or a link where explain something similar?

thank you very much a greeting