This topic is locked

$readonlyfields['FieldName'] = 'your value';

6/3/2008 3:10:47 AM
PHPRunner General questions
R
roadyx author

Hi Jane,
While $readonlyfields["FieldName"] = "your value"; changes the value in a read only field. What I need to do is when the user clicks save, the new value should also be updated in the the datbase.
Please help.
Thank In Advance!

H.Aguir

J
Jane 6/4/2008

Hi,
use Before record updated event for this purpose.

Here is a sample:

$values["FieldName"] = "your value";