Re: stripping extra spaces from form fields

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35615
interpreted = N
texte = Not to sound like a wise guy, but tell them not to enter extra spaces. User Names and Passwords are an exact match kind of thing wherever they are used. No one ever changes what the user enters to what they think the user wanted to enter. -- Sincerely, Bob Sneidar Systems Manager The Word For Today> From: Marc Thompson > Reply-To: (WebCatalog Talk) > Date: Wed, 2 Aug 2000 16:05:17 > To: (WebCatalog Talk) > Subject: stripping extra spaces from form fields > > Is there a simple way to strip extra spaces from form fields before > they are appended to a database? > I have a form that collects information from users. > The user creates their own record in the database via this form. > The user can then log back in at any time by entering their name and > a password. > I've encountered several instances where the user could not log back > in. > After further investigation I found that they had entered an extra > space > character either before or after their name or password. > The login was then disallowed if the name or password did not match > exactly. > If the preceeding or trailing space is provided login is successful. > What is my best course of action to prevent this from occuring? > Is there a command or context that I can use to remedy this? > Thanks in advance for any insight... > > -- > Marc Thompson > Multimedia/Web Developer > KUED/Media Solutions/University of Utah > 801.585.9264 > mthompson@media.utah.edu ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: stripping extra spaces from form fields (John Butler 2000)
  2. Re: stripping extra spaces from form fields (TWFT Mail 2000)
  3. Re: stripping extra spaces from form fields (John Butler 2000)
  4. Re: stripping extra spaces from form fields (TWFT Mail 2000)
  5. Re: stripping extra spaces from form fields (WebDNA Support 2000)
  6. Re: stripping extra spaces from form fields (Kenneth Grome 2000)
  7. stripping extra spaces from form fields (Marc Thompson 2000)
Not to sound like a wise guy, but tell them not to enter extra spaces. User Names and Passwords are an exact match kind of thing wherever they are used. No one ever changes what the user enters to what they think the user wanted to enter. -- Sincerely, Bob Sneidar Systems Manager The Word For Today> From: Marc Thompson > Reply-To: (WebCatalog Talk) > Date: Wed, 2 Aug 2000 16:05:17 > To: (WebCatalog Talk) > Subject: stripping extra spaces from form fields > > Is there a simple way to strip extra spaces from form fields before > they are appended to a database? > I have a form that collects information from users. > The user creates their own record in the database via this form. > The user can then log back in at any time by entering their name and > a password. > I've encountered several instances where the user could not log back > in. > After further investigation I found that they had entered an extra > space > character either before or after their name or password. > The login was then disallowed if the name or password did not match > exactly. > If the preceeding or trailing space is provided login is successful. > What is my best course of action to prevent this from occuring? > Is there a command or context that I can use to remedy this? > Thanks in advance for any insight... > > -- > Marc Thompson > Multimedia/Web Developer > KUED/Media Solutions/University of Utah > 801.585.9264 > mthompson@media.utah.edu ------------------------------------------------------------- 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://search.smithmicro.com/ TWFT Mail

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:

Drop Down Menus (2002) New public beta available (1997) test7 (2000) security (1997) Need relative path explanation (1997) Problems getting parameters passed into email. (1997) sort problems....bug or brain fart? (1997) RE: HTTP Header info (1997) External Images (1998) Non-Cart Files in Shopping Cart Folder (1997) quantity minimum problem (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) japanese characters (1997) Slow Server (2005) Version f1 status (1997) WebCatalog/WebMerchant 2.1 (1998) Adding Message to Order (1997) Adding Fields To Db from DB Helper (1999) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Bug Report, maybe (1997)