jjrjr1
Posts: 942
|
| Posted: 10/21/2007, 5:37 AM |
|
Hi
Is there an easy way to cause CCS to create dialog boxes for field validation errors instead of filling in the {error} variable in the HTML template.
Thanks for your help.
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
aondecker
Posts: 58
|
| Posted: 10/22/2007, 6:23 AM |
|
Use Javascript and make a function that displays an alert box and call that function in your on-click event of your submit/insert button.
|
 |
 |
jjrjr1
Posts: 942
|
| Posted: 10/22/2007, 1:49 PM |
|
Thanks.
But do I need to write the validation routine again in java script for each fiels being validated?
Let's say I have a field marked as required. CCS automatically creates the val routine and stuffs the error code into the {error} variable in HTML.
Maybe I am confused?
Let me know.
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |