Re: required fields
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 17222
interpreted = N
texte = (Laurent Pladys)>Several fields must be filled in my database but when I use therequired fields I get an error message in english telling me that I haveto supply info for the fields. Unfortunately, most of my customers arefrench and they want to have error messages in french.You find a file called ErrorMessages.db in the WebCatalog folderwhich you can edit.If you want to build your own error page you can use [formvariables] onyour response page instead:----------[formvariables] [hideif [value]> ] The field [name] is empty!
[/hideif][/formvariables]----------All fields of the previously submitted form get automatically read andinternally stored. In [name] is the field name and in [value] - yes ;-)This function is built into WebCat. You don't have to set the variables,just use them.The loop (as written here) steps through all field values and shows justempty ones or those beginning with a space. You can ask for specificfield names if necessary and compose individual messages based on fieldname.Peter__________________________________________Peter Ostry - po@ostry.com - www.ostry.comOstry & Partner - Ostry Internet SolutionsAuhofstrasse 29 A-1130 Vienna Austriafon ++43-1-8777454 fax ++43-1-8777454-21
Associated Messages, from the most recent to the oldest:
(Laurent Pladys)>Several fields must be filled in my database but when I use therequired fields I get an error message in english telling me that I haveto supply info for the fields. Unfortunately, most of my customers arefrench and they want to have error messages in french.You find a file called ErrorMessages.db in the WebCatalog folderwhich you can edit.If you want to build your own error page you can use
[formvariables] onyour response page instead:----------
[formvariables] [hideif [value]> ] The field [name] is empty!
[/hideif][/formvariables]----------All fields of the previously submitted form get automatically read andinternally stored. In [name] is the field name and in [value] - yes ;-)This function is built into WebCat. You don't have to set the variables,just use them.The loop (as written here) steps through all field values and shows justempty ones or those beginning with a space. You can ask for specificfield names if necessary and compose individual messages based on fieldname.Peter__________________________________________Peter Ostry - po@ostry.com - www.ostry.comOstry & Partner - Ostry Internet SolutionsAuhofstrasse 29 A-1130 Vienna Austriafon ++43-1-8777454 fax ++43-1-8777454-21
Peter Ostry
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:
MacAuthorize order data fields WAS:How To question... (1997)
Word search (1997)
Show if file exists (2004)
sorting by date (1999)
Dumb Question about Docs (1997)
[click][/click] (1999)
Navigator 4.01 (1997)
[quantity] solved (1997)
displaying New products (Yikes! it's Fixed!) (1997)
I'm new be kind (1997)
TCP/IP connect (1998)
RE: 2nd WebCatalog2 Feature Request (1996)
Re:listfiles-looking for slick solution (1997)
2.0 Info (1997)
Possible Bug in 2.0b15.acgi (1997)
Semi-OT: Update forms not working remotely (2002)
New WebDNA Forum Solution (in development) (2003)
WebCatalog2 Feature Feedback (1996)
Using Plug-In while running 1.6.1 (1997)
Typhoon/Pro do SQL? (2001)