Form widget bindings

Is there any way to bind a form widget property value to another form widget property value?

Using the new Perspective Form component in Ignition 8.3.0, I would like to modify the ID property of one widget using an expression that includes the selected value of another Widget having the type of ‘dropdown’. This is simple enough with the regular dropdown component, but the form widgets don’t reveal a ‘value’ or ‘selected’ property when browsing the property tree from the expression builder.

My goal is to change the value of certain widget properties (ID, hidden, enabled, etc…) according to which value is selected int he dropdown.

No, because then it wouldn't work offline. (Bindings run only in the gateway.)

1 Like

@Ross_McCormick, not sure if this answers your question but have you considered utilizing the visibleWhen and enabledWhen properties? In terms of updating the id, you could always handle that in the form submission handler.

It seems like @pamato ‘s suggestion will come the closest to achieving what I hoped for.

Thanks!