returnInField in case someone enters a return in the field.
closeField in case someone pastes multiple lines of text into the field

on returnInField
  put line 1 of me into me
  answer "Only one line of text is allowed in this field." with :OK"
end returnInField

on closeField
  if return is in me then
    returnInField
  end if
  pass closefield
end closefield
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to