This topic is locked

Modify field not be editble

3/31/2009 1:59:09 PM
PHPRunner General questions
C
Cjiggy0326 author

UNIT_PRICE field, set 'View as' type to Custom and use the following code:

global $data;

$num = $data["ITEM_UID"];

$value = "<input id='price" . $num . "' type='text' value='$value' size=5 maxlength='20'

onkeyup='calc_subtotal(".$num.")'/>";


I want to still do my calculation i just dont want users to edit the price.