This topic is locked

Designer - copy field - then make readonly

9/20/2018 1:27:41 AM
PHPRunner General questions
H
headingwest author

Hi All,
In the awesome V10 you can copy a field in Designer. Select the field, then click "create copy". I'm using this to show the same field in multiple tabs.
Does anyone know how to set the field to makereadOnly in pageload?? Only the original field is being set to readonly by this method:

var c1= Runner.getControl(pageid,'displayname');

c1.makeReadonly();


Thanks for your help.

admin 9/20/2018

It is not designed to work this way.
Create a copy of this field in SQL Query, set 'Edit as' type to readonly and display it on several tabs.
Example:

select ...,

email,

email as email2

from ...