| Languages
Assistance
The Developer
|
|
| Code
|
Developer Notes
- To add another verification to the script add this to the table:
<tr>
<td align="right" id="req_fieldname">Text
</td>
<td><input name="fieldname"></td>
</tr>
And add this to the editable section of the javascript:
document.getElementById('req_fieldname').style.color='#000000';
if (document.formname.fieldname.value
== "") {isOkay="no";document.getElementById('req_fieldname').style.color='#FF0000';}
The items in red need values. The "fieldname" is the name assigned to the textbox, the "formname" is the name assigned to the <form> tag.
|
| Additional Resources
|
|