Ben,

Three things. First, the lone <OPTION> tag is a bit unconventional, although
I'm not sure if it will cause your error. If you want a blank option at the
top of the list that says "Select One", use this:

  <OPTION value="">Select One...

Second, in your <CFIF #BoxID# IS NOT ""> line, you don't need the hash (#)
marks there, although I don't believe that will throw an error in CF v4x.

Third, you should have a <cfparam name="BoxID" default=""> at the top of
your form action template (along with all other expected form variable
names).

Ron Allen Hornbaker
President/CTO
Humankind Systems, Inc.
http://humankindsystems.com
mailto:[EMAIL PROTECTED]



> -----Original Message-----
> From: Braver, Ben: [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 09, 2000 2:41 PM
> To: CF-Talk
> Subject: Form works in NS but not IE
>
>
> Hi all,
>
> We have had an intranet running good ol' CF 3.1, standardized on
> Netscape (I
> know, I know...).  We're switching to Win2k desktop and IE5.  A phone book
> search form which works great in NS does not work in IE5.
>
> The form has two drop-downs, a group of 4 radio buttons (with the same
> variable name), a text box to type in selection criteria, and two buttons
> (submit and reset).
>
> Both the dropdowns work.  The first one is:
>     Box Number: <select name="BoxID">
>       <OPTION>
>       <CFOUTPUT QUERY="boxlist">
>       <OPTION VALUE="#boxnumb#">#boxdesc#
>       </CFOUTPUT>
>       </SELECT></p>
>
> The form default is the radio button for LastName checked.  User types a
> last name fragment into the text box, hits enter or clicks the submit
> button.  The following error is thrown:
>
> The error occurred on (or near) line 10 of the template file
> 10: <CFIF #BoxID# IS NOT "">
> Error resolving parameter BOXID
> Apparently, Netscape initializes the variable, and IE5 does not.
> I tried <CFSET BoxID = ""> in the form template, and this didn't help.
>
> Any ideas would be appreciated.
>
> Ben Braver
> Information Technology
> Ultramar Inc.
> Golden Eagle Refinery
> 150 Solano Way
> Martinez, CA  94553-1487
> (925) 370-3673 voice
> (925) 370-3393 fax
> (510) 716-2557 pager
> [EMAIL PROTECTED]
>
> ------------------------------------------------------------------
> ------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> or send a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
>

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to