This topic is locked
[SOLVED]

 Different "Edit as" settings on Add and Edit Pag

11/6/2009 11:56:50 AM
PHPRunner General questions
W
wpl author

Hi,
I was wondering if it is possible to have the same field as "Readonly" on the edit page and as "Text field" on the Add page. Any clue?
TIA

Sergey Kornilov admin 11/6/2009

PHPRunner doesn't yet support different 'Edit as' types on Add/Edit pages.
As a workaround you can add an alias to this field in SQL query:
select ...

field,

field as field2

from ...
Then make sure field only appears on the Add page while field2 appears on the Edit page only. This way you can set two different 'Edit as' types for these fields.

W
wpl author 11/6/2009

Sergey,
thanks, that did the trick.