View Full Version : How to force users to complate a form!
sundance
10-10-2002, 05:03 PM
Hi, I'm using Frontpage comes w/Office XP. I have a form where users How do I force users to enter information and couldn't execute other options without entering these information in the form?
Many Regards,
AR
murphyz
10-10-2002, 05:20 PM
not sure how you would implement as I don't use frontpage, but try playing around with the following:
<form name="form1" onSubmit="return FormSubmit(this);">
<script language="JavaScript">
function FormSubmit(theform) {
if (if theForm.MyField == '') {
return(false);
}
return(true);
}
</script>
Mxx
zoobie
10-10-2002, 07:06 PM
Take a peek here (http://www.hotscripts.com/JavaScript/Scripts_and_Programs/Forms/). :D
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.