Quantcast
Channel: validator Discussions Rss Feed
Viewing all articles
Browse latest Browse all 20

New Post: Multiple Forms for validation

$
0
0

Sure the idea is that you give the validate attribute a unique name to group the fields you do want validated together like below:

<div><inputtype="text"validate="form1"require="Please enter name"/><inputtype="submit"value="Submit"onclick="return validate('form1');"/></div><div><inputtype="text"validate="form2"require="Please enter name"/><inputtype="submit"value="Submit"onclick="return validate('form2');"/></div>

Thanks for the feedback, I'll look at updating the example in the download to make this more clear.


Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>