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 haveto build something into the original form to handle displaying the returnedinformation. (shaking his head in exasperation with himself) It's nowworking 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 therequired fields [showif [error]=1]was[/showif][showif[error]>1]were[/showif] not filled out. Please check yourentries and try again.
[/showif]Second, I'm probably going to have a problem with the method of using aredirect from the target template back to the entry form. The reason itworks when I comment out the check boxes and radio buttons, and doesn't whenI display them, is that there are a LOT of them (I count 27 due to theclient's desired use of individual check boxes rather than a multipleselection 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 aURL (there's a 255 character limit, right?).Anyhow, as homework I may try to modify your technique to work with POSTingthe data back to the same page. If you have any hints I wouldn't refusethem. :)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:
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 haveto build something into the original form to handle displaying the returnedinformation. (shaking his head in exasperation with himself) It's nowworking 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 therequired fields [showif [error]=1]was[/showif][showif[error]>1]were[/showif] not filled out. Please check yourentries and try again.
[/showif]Second, I'm probably going to have a problem with the method of using aredirect from the target template back to the entry form. The reason itworks when I comment out the check boxes and radio buttons, and doesn't whenI display them, is that there are a LOT of them (I count 27 due to theclient's desired use of individual check boxes rather than a multipleselection 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 aURL (there's a 255 character limit, right?).Anyhow, as homework I may try to modify your technique to work with POSTingthe data back to the same page. If you have any hints I wouldn't refusethem. :)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)