free
This is our archive, please go to the main forum page for the latest discussions and news about free web hosting.


Completed form before send.

jiminsd
October 29th, 2000, 21:29
Probably right under my nose but how do I get my form to be fully completed before it can be sent?

jvv
October 30th, 2000, 04:41
Ugh... you need some form of validation. You could javascript to do it.

I'm not really familiar with it so I can't really help you with it... Maybe you someone else here can help you with that.

cds
November 3rd, 2000, 11:16
Most people would do serverside checking for security reasons, but if you insist on client side (before you submit), here is an example of the javascript:

if (theForm.some_element.length < 1)
{
alert("You forgot the some_element field.");
theForm.some_element.focus();
return (false);
}

This will warn the reader and bring him back to the element (bring it into focus).





  
  News · Search free hosts · Free file hosting · Free image hosting · Reviews · Forums · Related Links · Advertising Info · Contact Us


Copyright © 1996-2008 Per Olof Sandholm. All rights reserved. Privacy Statement

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum