Robert
|
Posted: 11/21/2003, 4:39 PM |
|
Using CC v2.0.5, php, mysql:
I am trying to do the check_security() based on the value of a grid form field. Just to give an idea (this does not work) this sorta explains what I am trying to acomplish: I have a Grid Form, "Before Show":
///
if ($fld_this_particular_record_requires_registration_to_view == 1)
check_security();
else
$custom_label="grid form will show it's results here if the above is not= 1";
///
Thanks to whoever can lend a hand!
|
|
|
Nicole
|
Posted: 11/22/2003, 5:37 AM |
|
Robert,
In CC you can replace the field’s value with the empty one or default instead the real value of the field. Your approach looks correct to me. The only note is the parameter for check_security() function. Usually 1, 2 or 3 are passed corresponding to CC security levels: Low, Medium, High
|
|
|
|