I am using PHPRunner 5.3.
I have several fields on a form, some of these fields are using session variables to obtain a value, but I have placed a dropdown box to show the data I wish to be shown to the user. I want some of these fields to be read only. When I change the field to read only it no longer shows the dropdown box only the INT value. I cant find away of making the dropdown box read only without code, is there a way? I've tried searching this forum but it appears to change version to version of PHPRunner.
I've tried using the Javascript onload Event, which works but how can I then use php to check for certain conditions?
var ctrl = Runner.getControl(pageid, 'foreignID');
ctrl.setValue('1');
ctrl.setDisabled();
I want to be able to disable the control to certain user groups