to piggyback on what James said, you could just use <cfif not
structIsEmpty(form)>

the form scope/struct exists on all pages.  it's just empty if the page has
received no post data.

On Mon, Aug 18, 2008 at 12:45 AM, James Holmes <[EMAIL PROTECTED]>wrote:

> No, in IE6 the submit button is not part of the form submission if the
> enter key is used.
>
> I'd use a hidden field and check for that instead of the submit button.
>
> On Mon, Aug 18, 2008 at 3:12 PM, Andrew Scott
> <[EMAIL PROTECTED]> wrote:
> > Are you using the onsubmit in the form tag?
> >
> > Maybe some more code with no sensitive data or code, might help some
> more.
> >
> > By default enter/return is acceptable under IE...
> >
> > -----Original Message-----
> > From: Karan Joshi [mailto:[EMAIL PROTECTED]
> > Sent: Monday, 18 August 2008 4:49 PM
> > To: CF-Talk
> > Subject: Form submission issue
> >
> > Hi
> >
> > I want to submit a form in IE6 using the Enter key.
> > <input type="submit" name="submitSearchGeneral" class="form-submitBtn"
> > value="Search">
> >
> > I am using to StructKeyExists tag to check if the form has been submitted
> > <cfif StructKeyExists(FORM,"submitSearchGeneral")>
> >
> > It works fine with Firefox but doesn't work in IE.
> > If I look at the FORM struct in Firefox then the submitSearchGeneral key
> has
> > the value "Search" but in IE the value is null.
> >
> > Any suggestions as to how I can make the Enter key pass the value in IE?
>
> --
> mxAjax / CFAjax docs and other useful articles:
> http://www.bifrost.com.au/blog/
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311164
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to