Re: [WebDNA] Basic Search - Fix

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 100104
interpreted = N
texte = The [url] seems to be getting everything put the "+" character now. Which it seems to ignore. !@#$%^&*()_+ =-0987654321 returns !@#$%^&*()_ =-0987654321 for some reason. D. On Tue, Jul 1, 2008 at 11:43 AM, Michael A. DeLorenzo wrote: > I do error checking in form fields with a malicious chars database but to > keep it simple you could wrap the whole showif in a hideif. As mentioned > before make sure to use [url] around the input field. > > [text]s1_q1=[url]![/url][/text] > > [hideif [s1_q1]~[url]![/url]]your showif code here[/hideif] > > > mike > > > -----Original Message----- > From: davidbmbastedo@gmail.com [mailto:davidbmbastedo@gmail.com] On Behalf > Of David Bastedo > Sent: Tuesday, July 01, 2008 11:27 AM > To: talk@webdna.us > Subject: Re: [WebDNA] Basic Search - Fix > > 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 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)
The [url] seems to be getting everything put the "+" character now. Which it seems to ignore. !@#$%^&*()_+ =-0987654321 returns !@#$%^&*()_ =-0987654321 for some reason. D. On Tue, Jul 1, 2008 at 11:43 AM, Michael A. DeLorenzo wrote: > I do error checking in form fields with a malicious chars database but to > keep it simple you could wrap the whole showif in a hideif. As mentioned > before make sure to use [url] around the input field. > > [text]s1_q1=[url]![/url][/text] > > [hideif [s1_q1]~[url]![/url]]your showif code here[/hideif] > > > mike > > > -----Original Message----- > From: davidbmbastedo@gmail.com [mailto:davidbmbastedo@gmail.com] On Behalf > Of David Bastedo > Sent: Tuesday, July 01, 2008 11:27 AM > To: talk@webdna.us > Subject: Re: [WebDNA] Basic Search - Fix > > 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 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:

How to Sort Summ data ? (1997) access denied problem (1997) Rhapsody? (1997) Using WebMerchant Only? (1998) [WebDNA] CICADA (2009) [WebDNA] Spawn operation stalling - any idea what might cause (2013) (1998) Trouble with PIXO and Welcome Plugin (1999) RE: TeaRoom (1997) Paypal merchant code tricks or pitfalls (2003) faxing orders (2000) Snake Bites (1997) [WebDNA] weekday question (2013) Encyption mail (1998) verify online (1997) Radius-Based Zip Locator (2005) Converting Esiting Html Table Forms to WebCat (1997) Cool new site (1996) WebCatalog on Windows 98 (2000) Sending an email to all )or some) email addresses int he database (1999)