Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Field color change on error.

From: greggirwin:mindspring at: 17-Oct-2002 1:07

Hi Louis, Anton tackled the GUI part, so I'll just add a little note on another way to validate the data. Instead of just looking for "@" in the text, you could see if REBOL understands it as an email (i.e. let it do the hard work for you). view layout [ field [ print either email! = type? attempt [load value]["YES"]["NO"] ] ] --Gregg