I have an edit form that has just a text box and a submit button.  When I
edit the text and then hit enter, I get an error evaluating the expression
form.submit.  But if I click on the button, it works properly.  I also have
an add form with some text boxes and a submit button and I am able to hit
enter from within a text box and it functions properly.  Any ideas why the
enter key on the edit form not submitting the submit button value?

<cfform name="dsp_ki_edit_form" action="index.cfm?fuseaction=rollovers"
method="post">
<table border="0">
<cfoutput>
<input type="hidden" name="display_seq"
value="#GetKeyInitiatives.display_seq#">
<input type="hidden" name="id_subweb" value="#GetKeyInitiatives.id_subweb#">
</cfoutput>
<TR>
        <td>Content Item:</TD>
        <td align="left"><cfinput type="text"
                NAME="Key_Initiative"
                VALUE="#GetKeyInitiatives.key_initiative#"
                SIZE="40"
                MAXLENGTH="50"
                REQUIRED="Yes"
                MESSAGE="Please enter a Key Initiative!"></td>
</TR>
<tr>
        <td align="center" colspan="2" height="35" valign="bottom">
        <input type="submit" name="Submit" value="Update"></td>
</tr>
</cfform>
</table>

If you have any questions or concerns, please feel free to call me at
407-514-5021.

Thank you,

> Issac Rosa
> 
> IT - National Sales & Marketing
> OLAP Specialist Team Leader
> Ofc: 407-514-5021
> Cell: 407-342-0644
> Fax: 407-514-5988
> [EMAIL PROTECTED]
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to