> How do you force a form to completely load before letting the
> user press the submit button? I haven't found much in my
> documentation yet and the Allaire search isn't working :\
If the submit button is the last element in the form, you shouldn't really
have a problem. In any case, you can use JavaScript to do this. Create a
global JavaScript variable at the top of your page, then check the value of
the variable before you allow a submit. Here's an example which does that:
<html>
<head>
<title>Load Test</title>
<script language="JavaScript" type="text/javascript">
<!--
var bLoaded = false;
//-->
</script>
</head>
<body onload="bLoaded=true;">
<form action="foo.cfm" method="post" onsubmit="return bLoaded;">
<input type="submit"><br>
<cfloop index="i" from="1" to="10000">
<cfoutput>
<input type="text" name="field#i#"><br>
</cfoutput>
</cfloop>
</form>
</body>
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.