This content has been marked as final.
Show 4 replies
-
1. Re: CF Flash forms
Adam Cameron. Oct 30, 2009 7:34 PM (in response to neve_m)Can you post your code, pls.
--
Adam
-
2. Re: CF Flash forms
neve_m Nov 2, 2009 8:55 AM (in response to Adam Cameron.)This is one of them. Even if I tab over to the button the enter key doesn't submit it. Spacebar does.
<cfform action="" method="post" name="searchform" format="flash" id="searchform" timeout="180" height="250">
<cfformgroup type="tile">
<cfinput type="text" name="searchtext" required="yes" id="searchtext" width="150" message="You must enter text in the search field">
<cfinput type="submit" name="search" value="Search" id="submit" tabindex="0">
</cfformgroup>
</cfform> -
3. Re: CF Flash forms
Daverms Nov 17, 2009 7:41 AM (in response to neve_m)Hi Nevesky,
Try this code, it works.
<cfform action="" method="post" name="searchform" format="flash" id="searchform" timeout="180" height="250"> <cfformgroup type="tile"> <cfinput type="text" name="searchtext" required="yes" id="searchtext" width="150" message="You must enter text in the search field" onKeyDown="if(Key.isDown(Key.ENTER)) {submitForm()}" > <cfinput type="submit" name="search" value="Search" id="submit" tabindex="0"> </cfformgroup> </cfform> -
4. Re: CF Flash forms
neve_m Nov 18, 2009 12:56 PM (in response to Daverms)That works great, thank you so much! I looked everywhere for this. Much appreciated.


