Home > Demos > fbHTML_LockFormFields Class (Lock Selected Form Fields)   HTML.LockFormFields.php   LockFormFields.php  

This script shows how to protect selected fields in an HTML form.

First, enter some values in the following fields and click "set" to set initial values.

Then, click "check" to verify that fields v1 and v2 have not been modified.

Then, modify any of the fields and click "check" again.

v1
v2
v3
v4

Values in v1 and v2 are locked. Values in v3 and v4 can be modified.

Digest value:

See
Protect values (GET/POST/COOKIE) set by PHP

$CVSHeader: _freebeer/www/demo/HTML.LockFormFields.php,v 1.3 2004/03/08 04:29:18 ross Exp $