What you have to do is validate the content of the fields. Make your "Submit" button so that rather then posting the form, it calls a validation routine. The routine would check each field of the form for valid entries. If it finds an error, it puts a warning box and ask the user to correct the field(s). It then exits without posting the form. If there are no errors, then it post the form.
Google for javascripts and look for a validation program. While it will not be perfect for the fields in your form, it will give you all the steps and demonstrate how to validate. You can then adjust it to include the actual fields in your form.
2006-11-27 04:36:01
·
answer #1
·
answered by dewcoons 7
·
0⤊
0⤋
Is it attainable to placed DIVs interior kinds in HTML? Technically sure, and technically no! that's attainable to placed your tags everywhere, and some browsers will interpret the habit as being impressive. although, a DIV interior a spread doesn't truly make experience. i'm sensible that others might want to disagree, although, it will be extra uncomplicated to objective to script the completed procedure. How about this: a million. outline a worry-free identity/call for variety factors you pick to be "grouped" mutually the position you're at the moment using a DIV. 2. Do a similar for all of those factors defining a special identity/call for each crew. 3. Script the movements so as that once one crew is at the moment lively (i.e. that's onhover, onactivate, onclick or inspite of the actuality that is authentic) all of the different communities are inaccessable. that's extremely basic to do with established JavaScript, and would assist you do precisely what you attempt to do.
2016-11-29 20:26:43
·
answer #2
·
answered by plyler 4
·
0⤊
0⤋
call javascript on the onload action of page and fill the text fields according to the names given to the field name for eg.
if your's field text field is name
the code in javascript code would be
document.forms[0].name.value = "xyz"
for more javascripts code ... go to w3schools.com . Its a wonderful site for javacript and html related .
2006-11-27 04:36:58
·
answer #3
·
answered by pulin p 2
·
0⤊
0⤋
You're going to have to put in some Javascript code. Go to W3 for examples on how to use Javascript. This is a pretty simple thing to do so you won't have a lot of trouble.
2006-11-27 04:29:17
·
answer #4
·
answered by HomSupLo75 4
·
0⤊
0⤋