Hi,

if you use a (x)html-formular to create the login screen, you can
add a hidden input-field that contains the OK-Parameter (the same
parameter-name and parameter-value as the OK-Button). So, when
you hit "Return" OR the submit-button in that formular, the OK-Parameter
is send in both cases (when hitting return, the submit-button is not used
and the parameter of that input-element is not send with the other
formular-parameters, at least when you use pur (x)html. Maybe there
is a tweak with JavaScript, but I avoid these because of security and
accessibility issues).

However, when your Login-Formular contains
something like a 'cancel'-Button which starts another Action after submission,
this button has to send its own and unique
'cancel'-parameter  so that the application which handles the
login-request can recognize the difference between a submitted or a
canceled login-request and act accordingly.

Hope this helps and you could follow me,

Oliver Schönwald.

VIKASS NAGPAL schrieb:

Hi All,

I have a login screen that prompts for userid and
password. But when you press enter after inputing
these fields it does not "defaults" to Ok button. So I
want to "default" the button press event of "Enter"
button into action perform event of "OK" button. Can
anyone hint me regarding this. I would really
appreciate your help.

Thanks,
Vikas Nagpal.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to