Forms - 2 questions

liunx

Guest
Hi All.<br />
<br />
I have 2 questions about a form I am creating.<br />
<br />
1. How do I make sure that certain field are filled in, and if not then the form is not sent but takes the user make to missing fields?<br />
<br />
2. Is there any way of having the date appear automatically instead of the user having to fill it in?<br />
<br />
Thanks for your help,<br />
<br />
Yoni<!--content-->I can answer half of the questions.. :) As far as making sure that certain fields are filled in, you're going to want to use a Form Validation Script. Check A1 Java Scripts... which is where I found the one I use. Really easy... copy/paste it into your page and add in a bit of text and its good to go!<br />
<br />
As for the second question... I'm totally clueless, though I have wondered the same thing.<br />
<br />
Hope this helps a bit. :)<!--content-->and for that "auto" date feature....<br />
<br />
<!-- m --><a class="postlink" href="http://developer.iplanet.com/viewsource/husted_calendar/husted_calendar.html">http://developer.iplanet.com/viewsource ... endar.html</a><!-- m --><!--content-->1. Many validation scripts. See which one favours you:<br />
- <!-- m --><a class="postlink" href="http://www.a1javascripts.com/essential_scripts/formvalidation/formvalidation.html">http://www.a1javascripts.com/essential_ ... ation.html</a><!-- m --> <br />
- <!-- m --><a class="postlink" href="http://www.a1javascripts.com/essential_scripts/field_validation/field_validation.html">http://www.a1javascripts.com/essential_ ... ation.html</a><!-- m --> <br />
- <!-- m --><a class="postlink" href="http://javascript.internet.com/forms/">http://javascript.internet.com/forms/</a><!-- m --> (Browse through the whole list - some are validation...some are not)<br />
- <!-- m --><a class="postlink" href="http://www.javafile.com/forms.php?cat=Email+Forms">http://www.javafile.com/forms.php?cat=Email+Forms</a><!-- m --> (Go down to wher it says "Validator 1/2/3/4"<br />
<br />
2. You can use this (<!-- m --><a class="postlink" href="http://www.javafile.com/clocks/date.php?cat=Clocks">http://www.javafile.com/clocks/date.php?cat=Clocks</a><!-- m -->) script to put the time into a field.<!--content-->
 
Back
Top