[Metacard] capturing the "return" key in a field

Scott Rossi scott at tactilemedia.com
Mon Nov 26 17:12:01 EST 2001


Recently, John Vokey wrote:

> Ok, I give up.  What's the secret?  This should be obvious and simple, but I
> can't get any of the alternatives to work.  I have a simple field that
> collects responses when given the focus, and I want to prevent the user from
> typing a return into the field.

Put this into the script of your field:

  on returnInField
  end returnInField


Regards,

Scott

_____________________________________________________________________
Scott Rossi                       Tactile Media - Multimedia & Design
Creative Director                 Email: scott at tactilemedia.com
                                  Web: www.tactilemedia.com




More information about the metacard mailing list