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:
iis 4.0 (1997)
WebCat on Apache (2002)
process SSI (1998)
Re2: frames & carts (1997)
FM 4.1 and Webcat? (1998)
Bug? (1997)
Mozilla/4. and Browser Info.txt (1997)
RE: [sendmail]- bcc? (1998)
What am I missing (1997)
Emailer... DOA but still twitching (2007)
Targeted Redirect (1999)
How to Ignore Your Best Customers (2003)
Separate SSL Server (1997)
WebCat 2.1.3 (and docs) (1998)
Storefront Case Studies (1998)
Running _every_ page through WebCat ? (1997)
WebCat2_Mac RETURNs in .db (1997)
[WebDNA] exclusivelock (2011)
2nd WebCatalog2 Feature Request (1996)
Make sure I understand this??? (1997)