Using control chars as constraints in form validation  
Author Message
Philip Wasson





PostPosted: 2003-9-13 4:30:04 Top

frontpage-client, Using control chars as constraints in form validation Is there a way to use control chars as constraints in form
validation? I want to prevent CR/LF from being entered in
a form field.
 
Cowboy (Gregory A Beamer)





PostPosted: 2003-9-13 4:41:00 Top

frontpage-client >> Using control chars as constraints in form validation Yes, you can use JavaScript to grab the keystroke and ignore ASCII 10 and
ASCII 13. You can also write a script that strips them when place in. It
depends on the goal.

--
Gregory A. Beamer
MPV; MCP: +I, SE, SD, DBA

**********************************************************************
Think outside the box!
**********************************************************************
"Philip Wasson" <pwasson@teledas.com> wrote in message
news:04d701c3796c$a610bed0$a101280a@phx.gbl...
> Is there a way to use control chars as constraints in form
> validation? I want to prevent CR/LF from being entered in
> a form field.