Re: [WebDNA] Basic Search - Fix

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 100102
interpreted = N
texte = Just solved it. I should have been [url]ing before I checked the result. D. On Tue, Jul 1, 2008 at 11:15 AM, David Bastedo wrote: > Just ran into this. > > I am checking to see if a texarea box is empty from a form. > > On the first page I set a variable: > [text]s1_q1=[/text] > > Here's the textarea: > > > > On the results page: > > [showif [ConvertChars > db=databases/customConvert.db][s1_q1][/ConvertChars]=][text]E_s1_q1=1[/text][/showif] > > I have am trying to check to see if [s1_q1] is empty. > > This works under all conditions, except when the first character in > text bow is "!". > > In which case, the result passes through and the error variable > E_s1_q1 is set to 1 and blows what I am trying to accomplish. > > I don't really want to check to see if the first character of the text > is an "!" though I could I guess. > > Any ideas. > > thanks. > > D. > -- David Bastedo Ten Plus One Communications Inc. http://www.10plus1.com 416.603.2223 ext.1 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Basic Search - Fix ("David Bastedo" 2008)
  2. RE: [WebDNA] Basic Search - Fix ("Michael A. DeLorenzo" 2008)
  3. Re: [WebDNA] Basic Search - Fix ("David Bastedo" 2008)
  4. Re: [WebDNA] Basic Search - Fix (Donovan Brooke 2008)
  5. Re: [WebDNA] Basic Search - Fix (Terry Wilson 2008)
Just solved it. I should have been [url]ing before I checked the result. D. On Tue, Jul 1, 2008 at 11:15 AM, David Bastedo wrote: > Just ran into this. > > I am checking to see if a texarea box is empty from a form. > > On the first page I set a variable: > [text]s1_q1=[/text] > > Here's the textarea: > > > > On the results page: > > [showif [ConvertChars > db=databases/customConvert.db][s1_q1][/ConvertChars]=][text]E_s1_q1=1[/text][/showif] > > I have am trying to check to see if [s1_q1] is empty. > > This works under all conditions, except when the first character in > text bow is "!". > > In which case, the result passes through and the error variable > E_s1_q1 is set to 1 and blows what I am trying to accomplish. > > I don't really want to check to see if the first character of the text > is an "!" though I could I guess. > > Any ideas. > > thanks. > > D. > -- David Bastedo Ten Plus One Communications Inc. http://www.10plus1.com 416.603.2223 ext.1 "David Bastedo"

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:

Corrupted filetypes with [movefile] (1998) Problem with Formulas.db (1999) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) RE: Explorer oddities (1997) f2 download problems (1997) ShowNext (1997) Check Boxes (2000) WC1.6 to WC2 date formatting (1997) Cancel Subscription (1996) select multiple (1997) No subject given (2000) Search design (1997) So, does anyone have developer editon running on Win XP (2006) Calculating multiple shipping... (1997) WebCatalog2 Feature Feedback (1996) Sendmail and links (2001) Full text search (1999) Virtual hosting and webcatNT (1997) [FEATURE REQUEST] (2004) Mozilla/4. and Browser Info.txt (1997)