Announcement Announcement Module
Collapse
No announcement yet.
Make one form field depend on another? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Make one form field depend on another?

    I'm new to the framework, I've made a decent amount of progress with a new application, using the DataEditor sample app as a base.

    I'm looking for a way to make a form input field grey-out unless a checkbox next to it is checked.

    One solution I've thought of is to create a custom Binder that would handle the two fields involved-- is this the best way? It seems there should be a solution using the ValueModels of the fields involved directly.

    Also, I haven't seen an example of a form field "greying-out" yet- is this possible? I've seen that they can be set read only, but you don't see the difference until you try to enter data. I'd like the field to change visually as well.

    Any help or suggestions appreciated.
Working...
X