Re: [showif] with !
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35755
interpreted = N
texte = Kim,Figure out where the value of [title_req] is coming from.Is it a db field? or is it a formvar?When displaying the value of [somevar] on a page:if [somevar]'s value is coming from a formvar, then it will display as [somevar]IF that formvar has NOT been passed in (like with a checkbox that was not checked), BUTif [somevar]'s value is coming from a formvar, then it will display as (that'snothing at all in between those quote marks) WHEN that formvar has been passed in w/ avalue equal to the null string (i.e. it = zero characters), BUTif [somevar]'s value is coming from a db field, then it will display as (that'snothing at all in between those quote marks) WHEN that db field has nothing in it.so in your case I have to assume that[showif [url][title_req][/url]!][text]complete=F[/text][/showif]does not evaluate to show its contents because 'title_req' has NOT been assigned thenull string value, which is what you are comparing to.Hope I got that right ;-)-JohnKim Ingram wrote:> Nope...the [url]'s don't seem to fix it. Here's the exact code, and> [title]=test!>> [showif [url][title_req][/url]!][text]complete=F[/text][/showif]>> > [showif [url][name][/url]!][name]
[/showif]> >> >>> > >Since we're talking about [showif]'s...> > >> > >I've been working with the following: [showif> > [name]!][name]
[/showif]> > >> > >If [name]=Hello World!> > >> > >It doesn't work, because it ends up Hello World ! !> > >> > >I've already tried [showif [name]>] and that doesn't work with> > my conversion> > >of html code in [name].>> -------------------------------------------------------------> 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/-------------------------------------------------------------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:
Kim,Figure out where the value of [title_req] is coming from.Is it a db field? or is it a formvar?When displaying the value of [somevar] on a page:if [somevar]'s value is coming from a formvar, then it will display as [somevar]IF that formvar has NOT been passed in (like with a checkbox that was not checked), BUTif [somevar]'s value is coming from a formvar, then it will display as (that'snothing at all in between those quote marks) WHEN that formvar has been passed in w/ avalue equal to the null string (i.e. it = zero characters), BUTif [somevar]'s value is coming from a db field, then it will display as (that'snothing at all in between those quote marks) WHEN that db field has nothing in it.so in your case I have to assume that[showif [url][title_req][/url]!][text]complete=F[/text][/showif]does not evaluate to show its contents because 'title_req' has NOT been assigned thenull string value, which is what you are comparing to.Hope I got that right ;-)-JohnKim Ingram wrote:> Nope...the [url]'s don't seem to fix it. Here's the exact code, and> [title]=test!>> [showif [url][title_req][/url]!][text]complete=F[/text][/showif]>> > [showif [url][name][/url]!][name]
[/showif]> >> >>> > >Since we're talking about [showif]'s...> > >> > >I've been working with the following: [showif> > [name]!][name]
[/showif]> > >> > >If [name]=Hello World!> > >> > >It doesn't work, because it ends up Hello World ! !> > >> > >I've already tried [showif [name]>] and that doesn't work with> > my conversion> > >of html code in [name].>> -------------------------------------------------------------> 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/-------------------------------------------------------------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 Butler
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:
image attachment (2002)
WebCat2 - [SendNews] (1997)
PIXO support (1997)
Email within tmpl ? (1997)
WebCatalog stalls (1998)
Getting the domain of every request ... (2003)
Issue with plug-in Webcat, webstar 4.x, SSL and IE when using the backbuttom (2000)
Click-through/Referral tracking solution needed (2000)
WebCatalog can't find database (1997)
WebCat2.0 acgi vs plugin (1997)
Access Denied! But why? (1997)
emailer (1997)
in header include files? (1998)
WebCat2 several catalogs? (1997)
WebCat Error Log problem (2.0.1, acgi, Mac) (1997)
RE: incrementing a counter remotely? (1999)
PayFlow Pro - Changing the Amount that was Authorized (2003)
Re:Problem (1997)
[WebDNA] Sandbox question (2009)
possible, WebCat2.0 and checkboxes-restated (1997)