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:

Some Questions (1997) system crashes, event log (1997) How true is this? (1999) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Emailer not working (1998) os 8.5 (1999) creator code (1997) page chokes on hideif when false and ignored (1998) WebDNA Solutions ... sorry! (1997) More DateMath problems (1997) Has ANYONE gotten the [object] context to work with Java(OSX) ??? HELP! (2002) Comments in db? (1997) [WebDNA] suffix question regarding table (2009) Week # problem (1998) Sku numbers (1997) Practice runs ? (1997) Newbie Help Needed (1998) Help name our technology! (1997) PIXO with cometsite ... and/or other plugins (1998) WebCat & WebTen (1997)