It's already the default in IE.  In NN you need to look at the onKey events, should be 
like onKeyDown, onKeyUp, onKeyPress, something like that.  Then when the event is 
triggered you kick of a script that does a form submit.

Tim

-----Original Message-----
From: Jeremy Bunton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 3:07 PM
To: CF-Talk
Subject: submit cfform without submit button


Hello all,

I know this isn't strictly a CF issue but I am using CF at the momeny so
here we go.
I have a simple form with two text fields one for username and one for
password. Here is the code.


<cfform action="checkin.cfm" method="post" enctype="multipart/form-data">
<cfinput class="copy" required="yes" style="width:140px;" name="userjay"
type="text" size="14" maxlength="50" message="Username is Required">

<cfinput class="copy" required="yes" style="width:140px;" name="passwordjay"
type="password" size="14" maxlength="50" message="Username is Required">

<input type="submit" value="&nbsp;Enter&nbsp;" class="copy">

</cfform>


My boss wants there to NOT be a submit button showing on the screen, i.e. he
just wants people to type in their username and password and then hit enter
to login. How would I go about this. I thought of just hiding the submit in
a <div> but that didn't do it. It needs to work in NN4.7 up and IE 5 up. Any
help would be good.


Jeremy



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to