Re: Removing user entered whitespace...

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60329
interpreted = N
texte = Here is an update... I have managed to get round it using:- [text]cardnumber=[listwords words=[card]&delimiters= ][word][/listwords][/text] Are there any drawbacks that I am missing by doing this? Thanks Alan Alan White wrote: > Hello folks > > I am trying to do something fairly simple and haven't been able to > find a straight answer in the archives. How can I remove all > whitespace entered by a user from an input box (ie card number) so > that I can then use getchars to strip the numbers out into groups of 4 > for ease of reading. I have the getchars code working no problem > apart from wanting to remove the whitespace before processing and I > wanted to do this with webdna as opposed to Javascript. > > TIA > Alan > > > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Removing user entered whitespace... ( William DeVaul 2004)
  2. Re: Removing user entered whitespace... ( Alan White 2004)
  3. Re: Removing user entered whitespace... ( devaulw@onebox.com 2004)
  4. Re: Removing user entered whitespace... ( "Tom Duke" 2004)
  5. Re: Removing user entered whitespace... ( Alan White 2004)
  6. Removing user entered whitespace... ( Alan White 2004)
Here is an update... I have managed to get round it using:- [text]cardnumber=[listwords words=[card]&delimiters= ][word][/listwords][/text] Are there any drawbacks that I am missing by doing this? Thanks Alan Alan White wrote: > Hello folks > > I am trying to do something fairly simple and haven't been able to > find a straight answer in the archives. How can I remove all > whitespace entered by a user from an input box (ie card number) so > that I can then use getchars to strip the numbers out into groups of 4 > for ease of reading. I have the getchars code working no problem > apart from wanting to remove the whitespace before processing and I > wanted to do this with webdna as opposed to Javascript. > > TIA > Alan > > > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Alan White

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:

SSL do I need it?? (1998) writefile and texte (1997) GIF Converter vs. Clip2Gif (2000) MacAuthorize order data fields WAS:How To question... (1997) GetPOPmail (2000) WebCat2 - [format thousands] (1997) Passing WebCat Vars with Javascript (2000) Emailer Problem (1998) Opinion: [input] should be called [output] ... (1997) [delete] problem (1997) Requiring that certain fields be completed (1997) [INCLUDE] Limitations (1998) Plugin vs. CGI (1998) Undeliverable Mail (1997) Three new problems, maybe a fourth (1997) RE: creating writefile data from a nested search (1997) Search returns all, not 20 (1997) RE: Credit card processing - UK (1997) WebMerchant (1997) Forms Search Questions (1997)