Hi,

just put a hidden field into the form. <input type="hidden"
name="eventSubmit_doWhatever" value="1"/>

kind regards

J�rgen Hoffmann

-----Urspr�ngliche Nachricht-----
Von: David Demner [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 26. M�rz 2004 19:45
An: [EMAIL PROTECTED]
Betreff: Form submittal problem

I'm trying to get around a form submittal problem.  I have a very simple
form (1 text box and 1 submit button named eventsubmit_doWhatever) where
method="post" and action="$link.setAction("MyAction")".
 
When the user clicks on the button, the submit button's name is passed with
the form data and everything works fine.  When the user hits enter the
button in the form, the submit button's name doesn't get passed and the
doPerform event gets called instead.  This effectively breaks the form when
the enter key is pressed.
 
How do other people handle this problem??
 
Thanks,
 
David


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to