Posted by Jonatan
2015-07-08

First congratulations, great script!!
I wonder how I leave a text box disabled on search?
So that, I fill it with a pre-determined value and the user can not change.

Thanks
Posted by Tom
2015-07-09

Let's suppose you want to fix the value of the first_name field to "John". Open web/staff/tpl.(table-name).search.inc.php and find a php code like shown below:
<?php echo $hm->Zb( 'sp:def:first_name' ); ?>
Replace it with
<input type="hidden" name="sp:def:first_name" value="John">