Re: Checking for blank form fields (sort of...)

This WebDNA talk-list message is from

1998


It keeps the original formatting.
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] has no 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:

    
  1. Re: Checking for blank form fields (sort of...) (PCS Technical Support 1998)
  2. Re: Checking for blank form fields (sort of...) (Rob Marquardt 1998)
  3. Re: Checking for blank form fields (sort of...) (John Hill 1998)
  4. Checking for blank form fields (sort of...) (Dan Keldsen 1998)
  5. 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] has no 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

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:

Server slowing down. (1997) Nested tags count question (1997) Multiple catalog databases and showcart (1997) Triggers (2003) [Was] silly question... (2003) [WebDNA] What am I doing wrong with authenticate (2012) Running 2 two WebCatalog.acgi's (1996) insert graphic in email (2000) ANN: Strategic Partnership with BuyStream Announced. (2000) Error Lob.db records error message not name (1997) WebSTAR 2.1 freezes my Mac (1997) [WebDNA] Web Services Wizard (2008) [shownext] and descending order (1997) MacAuthorize hub, no modal password dialog? (1997) Date or time comparisons have bugs ... (1998) Group search doesn't work. (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) URGENT - Server dying on me.... (2004) [shipCost] math formula? (1997) Can you help a newbie out? (2000)