Re: 'RequiredField' Question
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16769
interpreted = N
texte = On 3/25/1998 1:49 PM, Dan Keldsen so noted...>I've been modifying the 'errormessages.db' to e-mail me when >'TemplateNotFound' and 'BadPassword' happen (with some safety checks), and >I was wondering if it was possible to make the 'RequiredField' error a bit >more user-friendly?I've been adding variations of the following code to the page that appears as the result of a form submission. There's probably a more concise way to code it, but it works well.[math show=f]missing=0[/math][hideif [comp]!][math show=f]missing=1[/math]
Please go back and enter the following information:- Company name[/hideif][hideif [occ]!][showif [math]missing[/math]=0]Please go back and enter the following information:
[math show=f]missing=1[/math][/showif]- Occupation[/hideif][hideif [email]!][showif [math]missing[/math]=0]Please go back and enter the following information:
[math show=f]missing=1[/math][/showif]- Email address[/hideif][showif [math]missing[/math]=1]
Use your browser's Back button to return to the previous page.[/showif][hideif [math]missing[/math]=1] ** regular text of webpage goes here **[/hideif]Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Associated Messages, from the most recent to the oldest:
On 3/25/1998 1:49 PM, Dan Keldsen so noted...>I've been modifying the 'errormessages.db' to e-mail me when >'TemplateNotFound' and 'BadPassword' happen (with some safety checks), and >I was wondering if it was possible to make the 'RequiredField' error a bit >more user-friendly?I've been adding variations of the following code to the page that appears as the result of a form submission. There's probably a more concise way to code it, but it works well.[math show=f]missing=0[/math][hideif [comp]!][math show=f]missing=1[/math]Please go back and enter the following information:- Company name[/hideif][hideif [occ]!][showif [math]missing[/math]=0]Please go back and enter the following information: