Hello to all,
On a property page, I would like to dynamically set a specific value in an attribute (in a text field) depending on the value selected for another attribute (in a drop field).
It's easy to get a list of value values for a list dropdown or list box, but that's not what I want. I want the resulting value to be displayed in a text area on the property page.
To better explain the example of the structure:
PRP_MY_CUSTOM_TYPE
Control Type | Attribute | DQL Query / User Value / Conditions | Control State |
---|
...SOME FIELDS | | | |
COMBO FIELD | attr1 | DQL Query: SELECT label, value FROM my_val_table List of values: AA, BB, CC | Enabled |
TEXT FIELD | attr2 | Conditions: if value of attr1 is AA set attr2 value 10 else accept for set attr2 Any value User-typed | Conditions: if value of attr1 is AA set Disable or read only else set Enabled |
SOME OTHER FIELDS... | | | |
Any ideas from you how to do it?
Thanks for the support,
Best Regards, Luca