numero = 18334
interpreted = N
texte = >I'm creating (yet another) bulletin board type application with>WebCatalog.>>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 needs>to be supplied by the user.>>If it's a REPLY, I'm trying to pass (as a HIDDEN field subject) the>contents 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]=]>
Try using [showif [subject]=] <---meaning equals nothing or [subject] hasno value (empty field)and on the other one[showif [subject]!] <--meaning does not equal nothing or [subject] has value===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================
Associated Messages, from the most recent to the oldest:
Re: Checking for blank form fields (sort of...) (Gary Richter 1998)
>I'm creating (yet another) bulletin board type application with>WebCatalog.>>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 needs>to be supplied by the user.>>If it's a REPLY, I'm trying to pass (as a HIDDEN field subject) the>contents 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]=]>
Try using [showif [subject]=] <---meaning equals nothing or [subject] hasno value (empty field)and on the other one[showif [subject]!] <--meaning does not equal nothing or [subject] has value===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================
Gary Richter
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...