- What's new
- Recently Added Pages
- Data Grid
- Grid Columns
- Grid Options
- Master-Detail Views
- Data Input Forms
- Data Filtering
- Exporting & Printing
- Many-to-Many Relations
- Fine-tuning & Tweaking
- Custom Templates
PHP Generator provides support for both control level and form level client-side data validation. Control level validation means that data are verified after a user enters a value into a form field and moves onto the next field on the form. On using the form-level validation the data are verified after the user enters (correct) values into all the fields and submits the form.
For control-level validation you can bind one or more of predefined validators like Data Length, Data Range, Email, URL, Credit Card, Regular Expression, etc. to a form field directly in the software UI. To implement form-level validation, you need to provide OnInsertFormValidate and/or OnEditFormValidate event handlers.
The example below learns how to implement control-level validation based on a regular expression (the value of the Name field should start with a capital letter), and form-level validation (values of Name and Last Name fields must be different). Open Insert or Edit forms to see this in action.
|Actions||Name||Lastname||Birthday||Website||Credit Card Number|
|Benjamin||Zamora||01 Jul firstname.lastname@example.org||http://picoroute.com||4485 4663 0885 0386|
|Elizabeth||Johansen||09 Nov email@example.com||https://leaudrey.com||5510 7088 4900 3017|
|George||Vargas||19 May firstname.lastname@example.org||http://isawdre.com||4916 3653 2853 9954|
|Rhoda||Truitt||19 Sep email@example.com||http://iozend.com||4532 7304 2633 7607|
|Donald||Campbell||08 Dec firstname.lastname@example.org||http://fwinsltd.com||5334 1133 0191 6992|
There are no records to display
This demo application contains 60+ pages and illustrates most of features provided by PHP Generator. Hope it will help you to create even more powerful websites for your users.
You can download the demo project from our website and run the demo on your webserver as described in readme.txt.