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:
PIXO support (1997)
Pithy questions on webcommerce & siteedit (1997)
many-to-one problem (1998)
Duplicate Cart #'s (1998)
Webcatalog on MacOs (2000)
Bug? (1997)
Nav. 4 probs with cart (1997)
Warning: Mac OS X 10.2.4 Update Overwrites Apache'shttpd.conf (2003)
frames & carts (1997)
default image if image in code not available (2003)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
Upcoming 2.1 Release and PCS Committment (1997)
[WebDNA] [lookup] fails when using [url] to wrap a value for potential "&" char? (2009)
WebMerchant when CC network is down (1998)
Two submit buttons ? (1997)
Location of Browser Info.txt file (1997)
Multi Actions (1999)
Slow Server (2005)
EMERGENCY: WebCatalog stopped processing .HTML (IIS) (2003)
CORR: date format (2000)