Re: [showif] with !

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 36040
interpreted = N
texte = John Butler wrote: > > It looks like you want to change the first line to be [hideif] to get > > what you want. Or you could change the line to be > > > > [showif [url][title_req][/url]=][text]complete=F[/text][/showif] > > ^ > > which will be true if [title_req] is empty or is not present as a form > > variable. > > no. if [title_req] is not present as a formvar, then it will equal literally > [title_req], which is *not* the same as being equal to null. > You're right, I spaced on the undefined test (too many NOT's to keep track of the boolean logic). The [hideif] form or [showif] form below will only work if [title_req] is passed into the form.John Peacock------------------------------------------------------------- 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: [showif] with ! (John Peacock 2000)
  2. Re: [showif] with ! (John Butler 2000)
  3. Re: [showif] with ! (Kim Ingram 2000)
  4. Re: [showif] with ! (Rob Marquardt 2000)
  5. Re: [showif] with ! (John Peacock 2000)
  6. Re: [showif] with ! (Kim Ingram 2000)
  7. Re: [showif] with ! (Aaron Lynch 2000)
  8. Re: [showif] with ! (John Butler 2000)
  9. Re: [showif] with ! (John Davies 2000)
  10. Re: [showif] with ! (Kim Ingram 2000)
  11. Re: [showif] with ! (Gary Krockover 2000)
  12. Re: [showif] with ! (Kim Ingram 2000)
  13. Re: [showif] with ! (Kim Ingram 2000)
  14. Re: [showif] with ! (Anup Setty 2000)
  15. Re: [showif] with ! (Charles Kline 2000)
  16. [showif] with ! (Kim Ingram 2000)
John Butler wrote: > > It looks like you want to change the first line to be [hideif] to get > > what you want. Or you could change the line to be > > > > [showif [url][title_req][/url]=][text]complete=F[/text][/showif] > > ^ > > which will be true if [title_req] is empty or is not present as a form > > variable. > > no. if [title_req] is not present as a formvar, then it will equal literally > [title_req], which is *not* the same as being equal to null. > You're right, I spaced on the undefined test (too many NOT's to keep track of the boolean logic). The [hideif] form or [showif] form below will only work if [title_req] is passed into the form.John Peacock------------------------------------------------------------- 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/ John Peacock

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:

[group] ? (1997) [WebDNA] Problem running Webdna (2011) Make sure I understand this??? (1997) Silly Question (2003) WebDNA5 & Tiger (2006) database size? (1997) Re[4]: Problem with new formvariables (2000) [isfolder] and [filename] (1997) remotely add + sign (1997) Counting files (1998) server side includes & webcatalog (2000) javascript newPopwin and webcat (1998) webdna hideif / redirect - javascript disabled (2006) Tea Room trouble (1997) Some Advise needed (1997) converting tabs (1997) Multiple catalog databases and showcart (1997) TEXTAREA and sendmail (1998) Signal Raised Error (1997) I'm new be kind (1997)