Attribute
|
Description |
| class |
Your initial CSS class for styling the input field |
| type |
Most details will be text, but could be text areas, radio buttons etc |
| name |
name of this input
- this is the value of the
request operation |
| id |
id of this input
- for JavaScript |
| cssErrorClass |
Client-side JavaScript validation CSS class |
| errMsg |
Error message to display if validation fails |
| value |
The value/text to be displayed on initialization |
<?php if($error['username'])
{ echo "class=\"input_text_error\
"";};?> |
Server-side PHP validation |