Re: Numbers only code
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 27913
interpreted = N
texte = Thanks everyone, but if found a nice java script at:http://javascript.internet.com/forms/val-num-or-char.html that seems to do areally good job with this problem.Mark> -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> Behalf Of Michael Winston> Sent: Tuesday, February 22, 2000 10:59 AM> To: WebCatalog Talk> Subject: Re: Numbers only code>>> > >Does anyone know of a way to only allow a user to input> numbers and decimal> > >point only and to not allow and other characters or blank> spaces? I have a> > >form where site admins. need to put in price only and> some are putting in> > >characters which are messing up my formulas.> >> >You could try [LISTWORDS]. The string of delimiters will be pretty> >long (everything but numbers and .) but it'll filter out everything> >else.> >> >[LISTWORDS> >words=[price]&delimiters=[URL]abcdefghijklmnoprstvwxyz[]{},><> /?!@#$%^&> >*()~ (etc....)[/URL]][WORD][/LISWORDS]>> Oops, this should read words=[URL][price][/URL]>> Michael>>> -------------------------------------------------------------> Brought to you by CommuniGate Pro - The Buzz Word Compliant> Messaging Server.> To end your Mail problems go to>
.>> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> >-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
Thanks everyone, but if found a nice java script at:http://javascript.internet.com/forms/val-num-or-char.html that seems to do areally good job with this problem.Mark> -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> Behalf Of Michael Winston> Sent: Tuesday, February 22, 2000 10:59 AM> To: WebCatalog Talk> Subject: Re: Numbers only code>>> > >Does anyone know of a way to only allow a user to input> numbers and decimal> > >point only and to not allow and other characters or blank> spaces? I have a> > >form where site admins. need to put in price only and> some are putting in> > >characters which are messing up my formulas.> >> >You could try [listwords]. The string of delimiters will be pretty> >long (everything but numbers and .) but it'll filter out everything> >else.> >> >[LISTWORDS> >words=[price]&delimiters=[url]abcdefghijklmnoprstvwxyz[]{},><> /?!@#$%^&> >*()~ (etc....)[/URL]][WORD][/LISWORDS]>> Oops, this should read words=[url][price][/URL]>> Michael>>> -------------------------------------------------------------> Brought to you by CommuniGate Pro - The Buzz Word Compliant> Messaging Server.> To end your Mail problems go to> .>> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> >-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
list archives (2004)
NY taxRates.db? (1997)
Executing remote AppleScript (2000)
syntax question, not in online refernce (1997)
WebCatalog can't find database (1997)
[math] storage of variables (1997)
Webmerchant (1999)
wrong input values? (1997)
PCS Frames (1997)
Cart/Cookie question (2005)
WebCatalog for guestbook ? (1997)
& in Lookups (1997)
emailer setup (1997)
PROBLEM (1997)
Encrypt question. (2000)
WebTV (1998)
Sorting by date (1997)
Exclamation point (1997)
WebCat2.0 [format thousands .0f] no go (1997)
WCf2 and nested tags (1997)