try using:

<form method = "post" action = "index.cfm" name =
"menuform">
<input type="hidden" name="fuseaction" value="insert">

instead of:
<form method = "post" action = "index.cfm?fuseaction=insert" name =
"menuform">

> -----Message d'origine-----
> De:   shannon hall [SMTP:[EMAIL PROTECTED]]
> Date: 20 mars, 2000 13:08
> �:    [EMAIL PROTECTED]
> Objet:        RE: Validation of Select
> 
> This is the direction I have taken.  The name of the second form on the
> page
> is menuform, and the name of the select input type is cos.  However the
> submit part is not currently working.  Any thoughts.
> 
> <form method = "post" action = "index.cfm?fuseaction=insert" name =
> "menuform">
> <script language="JavaScript">
> function verify() {
> this.formname = "menuform";
> this.selname = "qos";
> if (document.forms[this.formname][this.selname].value == ""){
>       alert("You left the Quality of Service blank.");
>       document.forms[this.formname][this.selname].focus();
> }
> Else{
>       document.forms[this.formname].submit();
> 
> }
> 
> }
> </script>
> 
> -----Original Message-----
> From: Billy Cravens [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 17, 2000 11:17 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Validation of Select
> 
> 
> Raw JavaScript.  Basically, you call a function when the form is submitted
> (onSubmit even handler) and inside of the function, test for a certain
> value
> (assuming your form is name myform and the select field is myselect, and
> that some of your <option> tags have blank values):
> 
> //begin meaningless code snippet
> if (document.myform.myselect.value != ""){
>     document.myform.submit();
> }
> else{
>     alert("This is an invalid option!");
>     document.myform.myselect.focus();
> }
> //end meaningless code snippet
> ---
> Billy Cravens
> [EMAIL PROTECTED]
> 
> --------------------------------------------------------------------------
> --
> --
> Archives: http://www.eGroups.com/list/cf-talk
> 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.
> 
> --------------------------------------------------------------------------
> ----
> Archives: http://www.eGroups.com/list/cf-talk
> 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.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to