Re: Field validation problem

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24689
interpreted = N
texte = On 11/20/99 2:26 PM, Bob Minor at bob@cybermill.com wrote:> So it is returning the number of errors and all of the variables. It now the > job of your form to return to use the information.Bob: not sure what I was thinking. I should have realized that I would have to build something into the original form to handle displaying the returned information. (shaking his head in exasperation with himself) It's now working as it should... with one big exception.First I made one modification to your header -- results in better English :)[showif [error]>0]

Oops! [error] of the required fields [showif [error]=1]was[/showif][showif [error]>1]were[/showif] not filled out. Please check your entries and try again.

[/showif]Second, I'm probably going to have a problem with the method of using a redirect from the target template back to the entry form. The reason it works when I comment out the check boxes and radio buttons, and doesn't when I display them, is that there are a LOT of them (I count 27 due to the client's desired use of individual check boxes rather than a multiple selection list). Any errors result in a redirected URL that's too long. There's also a comment field that all by itself could result in too long a URL (there's a 255 character limit, right?).Anyhow, as homework I may try to modify your technique to work with POSTing the data back to the same page. If you have any hints I wouldn't refuse them. :)Thanks for the help.-- Chris Vargas Seen on a t-shirt: or Taxation WITH Representation or Isn't So Hot Either. http://www.chrisandmaria.com/------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: field validation problem (Chris Vargas 1999)
  2. Re: Field validation problem (Bob Minor 1999)
  3. Re: Field validation problem (Chris Vargas 1999)
On 11/20/99 2:26 PM, Bob Minor at bob@cybermill.com wrote:> So it is returning the number of errors and all of the variables. It now the > job of your form to return to use the information.Bob: not sure what I was thinking. I should have realized that I would have to build something into the original form to handle displaying the returned information. (shaking his head in exasperation with himself) It's now working as it should... with one big exception.First I made one modification to your header -- results in better English :)[showif [error]>0]

Oops! [error] of the required fields [showif [error]=1]was[/showif][showif [error]>1]were[/showif] not filled out. Please check your entries and try again.

[/showif]Second, I'm probably going to have a problem with the method of using a redirect from the target template back to the entry form. The reason it works when I comment out the check boxes and radio buttons, and doesn't when I display them, is that there are a LOT of them (I count 27 due to the client's desired use of individual check boxes rather than a multiple selection list). Any errors result in a redirected URL that's too long. There's also a comment field that all by itself could result in too long a URL (there's a 255 character limit, right?).Anyhow, as homework I may try to modify your technique to work with POSTing the data back to the same page. If you have any hints I wouldn't refuse them. :)Thanks for the help.-- Chris Vargas Seen on a t-shirt: or Taxation WITH Representation or Isn't So Hot Either. http://www.chrisandmaria.com/------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Chris Vargas

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:

August 15th WebDNA Chat - request (2002) unsubscribe (1997) WebDNA equivalent for $REQUEST_URI (2004) [WebDNA] Two different mail servers? (2011) What if SSL server down? MAC (1997) bug in [SendMail] (1997) vs (1997) OSX Webcatalog Install (2001) upload weirdness in IE only (2005) Webcatalog quitting (1997) WebCat2: Items xx to xx shown, etc. (1997) Cloning OS X (2002) WebDNA monitor not working (2002) RE: ANother SHOWIF problem (1997) Setting up the server (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) acgi to plugin migration problems (2000) WebCat hosting sites? (1998) So many lookers, hey smith micro (2003) New index for docs (1997)