numero = 18337
interpreted = N
texte = I'm creating (yet another) bulletin board type application withWebCatalog.I'm using a single page to do both NEW POSTS, and REPLIES.If it's a NEW POST, all of the fields are EMPTY, and the contents needsto be supplied by the user.If it's a REPLY, I'm trying to pass (as a HIDDEN field subject) thecontents of the SUBJECT, and have that populate the SUBJECT field for me.The problem is that I can't seem to find any combination of [showif] or[hideif] conditionals that will this.Here's a few of my last attempts:Passing the value via a form with:The page it's calling has the following: [showif [subject]=]
Subject:
[/showif] [hideif [subject]=]
Subject:
[/hideif]*OR* [showif [subject]!]
Subject:
[/showif] [hideif [subject]!]
Subject:
[/hideif]I would expect that if [subject] doesn't exist, it would leave the fieldempty, but instead, it always puts the text [subject] in the field, exceptwhen it really is getting passed a value.I hope I'm missing something simple, but this is really driving me crazy!Dan Keldsen - djk@delphigroup.comDirector, I.S. - webmaster@delphigroup.comThe Delphi Group - http://www.delphigroup.com/100 City Hall Plaza - ph: 617-247-1511Boston, MA 02108-2106 - fax:617-247-4957
Associated Messages, from the most recent to the oldest:
I'm creating (yet another) bulletin board type application withWebCatalog.I'm using a single page to do both NEW POSTS, and REPLIES.If it's a NEW POST, all of the fields are EMPTY, and the contents needsto be supplied by the user.If it's a REPLY, I'm trying to pass (as a HIDDEN field subject) thecontents of the SUBJECT, and have that populate the SUBJECT field for me.The problem is that I can't seem to find any combination of [showif] or[hideif] conditionals that will this.Here's a few of my last attempts:Passing the value via a form with:The page it's calling has the following: [showif [subject]=]
Subject:
[/showif] [hideif [subject]=]
Subject:
[/hideif]*OR* [showif [subject]!]
Subject:
[/showif] [hideif [subject]!]
Subject:
[/hideif]I would expect that if [subject] doesn't exist, it would leave the fieldempty, but instead, it always puts the text [subject] in the field, exceptwhen it really is getting passed a value.I hope I'm missing something simple, but this is really driving me crazy!Dan Keldsen - djk@delphigroup.comDirector, I.S. - webmaster@delphigroup.comThe Delphi Group - http://www.delphigroup.com/100 City Hall Plaza - ph: 617-247-1511Boston, MA 02108-2106 - fax:617-247-4957
Dan Keldsen
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...