Re: auto-stripping of spaces

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15663
interpreted = N
texte = Kenneth Grome wrote: > > >It'd be nice if WC would automatically strip any leading or ending spaces from > >any field, or have a context for this. > > > >The reason is that a field with a number in it will not work within a math > >context if there are any leading or ending spaces. > > > >Most db's I've worked with have a bunch of useless spaces, and I cna't think > >of a reason for keeping any at the beginning or end of a data field. > > You can make WebCat refuse to accept data from a form field when it > has spaces in it. That's the easiest way to deal with this problem, I > do this all the time, and it works like a charm ... :)What's the HTML?Can you limit form data to text or number?Pat Associated Messages, from the most recent to the oldest:

    
  1. Re: auto-stripping of spaces (Kenneth Grome 1997)
  2. Re: auto-stripping of spaces (Kenneth Grome 1997)
  3. Re: auto-stripping of spaces (Pat McCormick 1997)
  4. auto-stripping of spaces (Pat McCormick 1997)
Kenneth Grome wrote: > > >It'd be nice if WC would automatically strip any leading or ending spaces from > >any field, or have a context for this. > > > >The reason is that a field with a number in it will not work within a math > >context if there are any leading or ending spaces. > > > >Most db's I've worked with have a bunch of useless spaces, and I cna't think > >of a reason for keeping any at the beginning or end of a data field. > > You can make WebCat refuse to accept data from a form field when it > has spaces in it. That's the easiest way to deal with this problem, I > do this all the time, and it works like a charm ... :)What's the HTML?Can you limit form data to text or number?Pat Pat McCormick

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:

[Semi-OT] Eaaaaaasy OSX FTP (2003) Bad Cookie (1998) Re:What file? (1997) [BULK] [WebDNA] Version 7 Config problem (2011) Custom formulas.db (1998) DHTML Tag Feature (2000) Emailer (WebCat2) (1997) Cancel Subscription (1996) Speed questions (1998) Cookie Question (1999) No luck with taxes (1997) Secure Server (1999) Math Problem - Format? (1997) strange [date] behavior (2001) WebCat: Paying affiliates commissions?? (2000) Erotic Sites (1997) List Last Word (2002) BGcolor (1997) Alternating BGColors in Table Rows (1998) Avery Label PDF Template (2003)