CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Use windows dialog or message box for validation errors

Print topic Send  topic

Author Message
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
View profile  Send private message
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.
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.