Back to Top
The nuts and bolts for
Creative web development

Universal Form Validator PHP

“Add Swiss Knife Form Validation to your forms in Dreamweaver with the Universal Form Validator”

Add Swiss Knife Form Validation to your forms in Dreamweaver with the Universal Form Validator PHP! Choose from many predefined validation rules like url, e-mail, dates, credit cards and ranges, apply conditional validation and even Ajax style inline validation! The validation errors and hints can be displayed in great tooltips and input masking can be applied. All fully customizable to your layout and needs! The user input is validated both client as well as server side - so there is no escape!

Note: This is PHP version of the extension. There is also an ASP version available

Overview

Features highlights

  • Rich set of validation rules, like e-mail address, url, date, numbers, ranges, credit cards and much more!
  • Add client as well server side validation
  • Use inline Ajax validation - so you can check if a field value exists or not in your database, before the form is submitted
  • Customize error appearances - set style for the message text, borders, error icon
  • Choose from several error reporting styles
  • Conditional validation - so a validation is executed only when a specific condition is valid.
  • Conditional Show/Hide - you can show or hide specific parts of the form based on condition
  • Display standard localized or custom error messages
  • Cool tooltip designs - choose from many predefined designs with rounded corners, shading and text balloon style! Add a stylish icon and customize the tooltips as you wish!

* For complete Features overview press the Features in Detail button


New Validation Rules for Universal Form Validator ASP
With this movie we will show you some of the validation rules we've recently added to Universal Form Validator ASP.

  

Online Food Order Form Demo

 

View the demo read more

Set the Offer for your Car Demo

The demo shows you a great car sale case where conditional validation as well the new great looking tooltips are used for error messages and hits.

 

View the demo read more 


Features

Validation Rules

  • Rich set of validation rules, the full list:
    • General - URL, E-mail, Date, Date (ISO), 
    • Numerical - Number, Digits, Maximum, Minimum, Range
    • choose from predefined values like, current month, day, year and weekday
    • String - Maximum Length, Minimum Length, Length Range, Equals To, File Types
    • Creditcard - Mastercard, Visa, American Express, Diners Club, Discover, JCB
    • Ajax inline validation - Exist/Not Exists in Database, Remote
  • Extended Conditional Validation - now you can choose from conditions like equal, greater, lesser, etc on a static value or choose from predefined values like, current month, day, year and weekday
  • New Number Conditional Rule - now you can require that a field is a number with conditions like equal, greater, lesser, etc on a static value or choose from predefined values like, current month, day, year and weekday
  • New IBAN Validation Rule – now you can check if a number is a valid bank account IBAN number
  • New VAT Validation Rule – now you can check if a number is a valid EU VAT number
  • New Credit Cards Validation Rule – so now you can validate multiple credit cards at once
  • New Multiple Required Rule - so you can now specify if minimum or maximum number of checkboxes need to be selected
  • Added support for multiple conditional checks on a single field / radio group
  • Added support for required check on selects - now you can easily skip default entries like '--select one--' by giving them an empty value
  • Support for Pure PHP Upload - now you can validate forms that have file upload handled by Pure PHP Upload
  • Add client as well server side validation
  • Use inline Ajax validation - so you can check if a field value exists or not in your database, before the form is submitted
  • Customize error appearances - set style for the message text,  borders, error icon
  • Choose from several error reporting styles – inline, tooltip, before or after the form and in a container element of your choice.

  • Conditional validation - so a validation is executed only when a specific condition is valid.
  • Conditional Show/Hide - you can show or hide specific parts of the form based on condition
  • Display standard localized or custom error messages

Masking

  • Apply masks to your input fields to provide an example input to users and limit the mistakes.
  • Choose from a large number of predefined masks
  • Create your own input masks

Hinting

  • Add hints to your form fields, so that when the user enters a field a tool tip with information about the field
  • Customize hint appearance (text, hint box size, borders, background color) or choose a designer presets.

Dreamweaver Integration

  • All those rich validation options are well organized in a great looking Server Behavior dialog, so everything is clear and easy to use
  • Full integration with the standard Insert and Update Record Server behaviors, so you can now finally validate your form data nicely before its being saved in your database
  • Point and click usage - just choose the fields you need to validate and all the code is automatically inserted for you - you don't need to code anything!

  • Fully translatable into many languages - Validation messages in your language! The validation messages are available in many languages; the validator automatically detects the user language and shows the message in the appropriate language.

  • Great integration in Dreamweaver as a Server Behavior 

No coding by hand whatsoever - just click and use!

Showcases

Sample Website Feedback Demo

*The form below is not a real survey. It's just an example.

 

Users Management Table Demo

The demo shows a basic Profile form that validates users input with hints and error messages. 

 

Watch the movie read more

  • Contact Form Showcase

    For this demo we used Universal Form Validator PHP and DMXzone reCAPTCHA to protect our contact form. The Universal Form Validator PHP validates the fields and the DMXzone reCAPTCHA ensures that you ...

  • Online Reservation System Showcase

    This showcase is created with the Event Calendar Super Bundle PHP, which is also available in ASP, and will show you how to create a fantastic online reservation system for your business.

  • Restaurant Reservation Showcase

    For this showcase, we created the amazing background with the newly released DMXzone Supersized. The reservation form is protected with the DMXzone reCAPTCHA and is validated with Universal Form ...

  • Sliding Site Showcase

    In this showcase we've combined all the extensions included in the bundle. The site is designed in Sliding Panels with a Universal CSS Navigation Menu. The products open in a stylish Lightbox window ...

  • Set the offer for your car

    The showcase shows you a great car sale case where conditional validation as well the new great looking tooltips are used for error messages and hits.

  • Sample Website Feedback Form

    The showcase shows a basic form that validates users input with hints and error messages.

  • Users management

    The showcase shows a basic Profile form that validates users input with hints and error messages.

Videos

Creating an Online Food Order Form
With this movie we will show you how to create an online food order form and set conditional rules for it with the help of Universal Form Validator PHP.


Watch the movie
read more


Apply Bot Check and Spam Protection to your Form
With this movie we will show you how to apply Bot Check and Spam Protection to your forms using Universal Form Validator PHP

 Watch the movie read more

 

Set a Validation Rule for Multiple Credit Card Numbers and Expiration Date
With this movie we will show you how easily you can set a validation rule for multiple credit card numbers and expiration date.



Validate for a Maximum and Minimum Number of Selected Items
With this movie we will show you how easily you can validate for maximum and minimum number of selected items in a checkbox list or multiselection list.

 Watch the movie read more

 


Great Design Tooltips, Error messages and Hints in your Forms
With this movie we will show you some of the validation rules, tooltips, hints and error messages we've recently added to Universal Form Validator PHP.


Watch the movie
read more

  

 

 

Requirements

Type: Behavior
License: External link
Product: Dreamweaver 8, Dreamweaver CS3, Dreamweaver CS4, Dreamweaver CS5/CS5.5 and CS6
Browser: IE 6, IE 7, Firefox 3.6+, Opera 9.5, Safari 3, Chrome 9+, IE 8, Safari 4+


History

Version 1.5.6

  • Fixed missing translation files
  • Updated CS5 installer

Version 1.5.5

New improvements:

  • Improved conditional validation
  • Added Slovenian and Italian Translations
  • Added new allow Characterset only rule
  • Added new extended alphanumeric rule (Alphanumeric + Latin). Allows regular letters as well Latin letters
  • Added not equal validation rule
  • Added re-enable JavaScript option.
  • Great compatibility with the standard Dreamweaver Server behaviors like Insert/Update, Check Login and Login User.

Fixes:

  • Fixed issue with hint file generation
  • Fixed issue with loading hint styles into GUI
  • Fixed bug with IE and conditional triggering
  • Fixed issue with dmx.jquery.validate.js copying
  • Fixed issue with VAT rule and required
  • GUI fix for required checkbox.

Version 1.5.3

  • Improved XHTML Validation of pages using the validator
  • Included updated jQuery version
  • Improved copying, updating and synchronizing files
  • Fixed minor issue with dynamic values for text areas
  • Fixed hint / error tooltip font style.

Version 1.5.2

  • New Bot protection option
  • Added forbidden words validation
  • Improved validation rules for allowed and disallowed characters
  • Fixed issue with POSTs to page containing form to be validated
  • Fixed minor issues with postback values

Version 1.5.1

  • Improved hint tooltips to show when the users stays on a field
  • When using server side validation and an validation error occurs, the values check boxes, selects and radio buttons are retained
  • Improved server side IBAN check
  • Minor bug fixes

Version 1.5.0

  • New Great looking Tooltips! – now you can display your validation message or hint in a stylish floating tooltip!
  • Cool tooltip designs - choose from many predefined designs with rounded corners, shading and text balloon style! Add a stylish icon and customize the tooltips as you wish!
  • New Validation rules:
 -Session: check a form field's value against the value of a specified session variable.
 -Alphanumeric: Alphanumeric characters only.
 -Letters: Letters only.
 -Allowed: Checks if the fields only contains characters specified by the user.
 -Disallowed: Checks if the fields do not contain characters specified by the user.
  • Improved compatibility with other DMXzone extensions like DMXzone Calendar.
  • Improved PHP 5.3 compatibility


-Fixed bug with messages below / above form
-Fixed bug with when choosing all formats and not required rule.
-Fixed minor bug in Dutch translation.

Update Procedure:


Here are five easy steps to update all your pages;

1. Install the latest version of Universal Form Validator PHP
2. Open your Universal Form Validator PHP page
3. Select the existing Universal Form Validator PHP Server Behavior from the server behaviors palette
4. Click on the ok button to re-apply the server behavious
5. An alert will be shown to notify you that your files are replaces, make sure you upload the files to your server

This process updates the PHP file in the general ScriptLibrary folder so a single page update is enough.

George Petrov

George PetrovGeorge Petrov is a renowned software writer and developer whose extensive skills brought numerous extensions, articles and knowledge to the DMXzone- the online community for professional Adobe Dreamweaver users. His expertise in countless languages and technologies gives inspiration and teach valuable lessons on his website – DMXzone.com, which is visited daily by more than 30.000 people and is most popular for its over high-quality Dreamweaver extensions and templates.

See All Postings From George Petrov >>

Share this Article