Re: RequiredFields parameter
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20612
interpreted = N
texte = Thanks everyone.Johann.>Technical Support wrote:>>> >Does anyone know whether it is possible to customize the error message>> >sent to users when the requiredFields parameter is not satisfied?>> >I'd like to be able to provide an error page that is little more>> >informative to the user than just a header? required message.>>> Don't use the RequiredFields parameter, and instead roll your own using>> [ShowIf]:>>>> [ShowIf [header]=]Sorry, you need to fill in the header information>> [/ShowIf]>>Or better yet, edit your ErrorMessage.db to redirect RequiredField>errors to a single error page. Don't forget to pack the field name along>as param1:>>RequiredField [redirect /errors/forms.html?command=showpage¶m1=[param1]]>>Then write your error page with the showif's:>>[showif [param1]=name]
You forgot to enter your name.[/showif]>[showif [param1]=address1]
You forgot to enter your street>address.[/showif] Please use your browsers Back>button and complete the form.
>>This way you can use one page for as many forms as needed. Just add a>showif for each new RequiredField.>>::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::>: Brian.Drum :::::::::::::::::::::::::::::::: mailto:bdrum@aecsoft.com :>: Web.Designer :::::::::::::::::::::::::::::::: http://www.aecsoft.com :>: AEC.Software;.Inc.:::::::::::::::::::::::::::: tel:703.450.1980 ::::::>::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::********************Johann WeberWebmaster / ISAIMS Education Foundation1595 S. Chestnut Ave.Fresno, CA 93702http://www.aimsedu.org/mailto:jmweber@fresno.edu1-888-SEE-AIMS********************
Associated Messages, from the most recent to the oldest:
Thanks everyone.Johann.>Technical Support wrote:>>> >Does anyone know whether it is possible to customize the error message>> >sent to users when the requiredFields parameter is not satisfied?>> >I'd like to be able to provide an error page that is little more>> >informative to the user than just a header? required message.>>> Don't use the RequiredFields parameter, and instead roll your own using>>
[showif]:>>>> [ShowIf [header]=]Sorry, you need to fill in the header information>> [/ShowIf]>>Or better yet, edit your ErrorMessage.db to redirect RequiredField>errors to a single error page. Don't forget to pack the field name along>as param1:>>RequiredField [redirect /errors/forms.html?command=showpage¶m1=[param1]]>>Then write your error page with the showif's:>>[showif [param1]=name]
You forgot to enter your name.[/showif]>[showif [param1]=address1]
You forgot to enter your street>address.[/showif] Please use your browsers Back>button and complete the form.
>>This way you can use one page for as many forms as needed. Just add a>showif for each new RequiredField.>>::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::>: Brian.Drum :::::::::::::::::::::::::::::::: mailto:bdrum@aecsoft.com :>: Web.Designer :::::::::::::::::::::::::::::::: http://www.aecsoft.com :>: AEC.Software;.Inc.:::::::::::::::::::::::::::: tel:703.450.1980 ::::::>::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::********************Johann WeberWebmaster / ISAIMS Education Foundation1595 S. Chestnut Ave.Fresno, CA 93702http://www.aimsedu.org/mailto:jmweber@fresno.edu1-888-SEE-AIMS********************
Johann Weber
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:
Quit revisited (1997)
Weird problems with [SHOWIF]s (1997)
Emailer compatibility..... (1998)
Help! WebCat2 bug (1997)
Fun with dates (1997)
Re[2]: New syntax feedback for 4.0 (2000)
Generating unique SKU from [cart] - Still Stumped... (1997)
Emailer setup (1997)
Major bug report on rootbeer (1997)
WebCat2 - [format thousands] (1997)
Webcatalog 2.1* and Personal Web Server 4.0 (1998)
New Guestbook Source (1997)
WebTen and WebCat (1997)
Urgent Help needed (1998)
Error: this shopping cart has already been submitted and (2006)
PROBLEMS WITH PROTECT TAG (2004)
[WebDNA] [ot] Snow Leopard Server - Mac Mini (2010)
[WAY OFF TOPIC] anybody live in Kansas? (2003)
dynamic PDF no longer working? (2004)
[WebDNA] RE: Error. WebDNA (version 5.1g or later) is not running. (2012)