Showing posts with label check. Show all posts
Showing posts with label check. Show all posts

Friday, June 3, 2016

VDaemon PHP Library To Check User Input For Errors

An important aspect of creating Web Form pages is to be able to validate that the information users enter is correct. Handling errors in a Web Forms is a mandatory task for any true professional. It is not a difficult job to write this on PHP or JavaScript, but writing this more than once can quickly become a tedious nightmare.

What is VDaemon?

VDaemon is a PHP library that grants an easy-to-use but powerful way to check user input for errors, and, if necessary, display messages to the user.

What can VDaemon do?

  • VDaemon PHP script performs server-side validation using PHP and client-side validation using JavaScript.
  • VDaemon can perform wide range of validation tasks. It includes mandatory fields validation, validation for properly formatted value (currently supported types are e-mail address, zip codes for US, Canada and UK, US phone number, IP address, date and time in various formats, integer and floaf numbers, currency), comparing entered value to the predefined value or to another form element value, validating against regular expression pattern and more.
  • VDaemon allows combining validation rules into logical expressions of any complexity. It gives possibility to create a conditional validation.
  • VDaemon allows to highlight invalid form elements and/or corresponding labels by assigning them an alternative CSS styles. It automatically sets focus to the first invalid form element.
  • VDaemon can collect and display all error messages in one place on a page.
  • VDaemon leaves the behaviour of HTML forms unchanged. This allows easy incorporation of VDaemon validation into existing web sites.
  • VDaemon produces XHTML compliant code.
  • And more ...
Requirements

PHP version 4.2.0 or later is required for server-side validation.

Client-side validation is supported for the following browsers:
- IE 5 and later
- Firefox 1.0 and later
- Opera 7 and later
- Netscape 7 and later
- Safari 2.0 and later

Download VDaemon PHP Script

Thursday, January 21, 2016

jQuery Username Availability Live Check with PHP and Ajax

In this tutorial you will learn How to create a Username Availability Live check Script using jQuery Ajax and PHP, it's easy to create, i have used here $.ajax() you can also use $.post() method to create same script, flow is simple as user types preferred username in the input box then "$.ajax()" function calls an HTTP POST request dynamically and fetch the username from the MySQL Database Table through the PHP Script and shows that the username available or not all the functionality will done by "$.ajax()" keyup() event, have a look.
jQuery Username Availability Live Check with PHP and Ajax
Read more »