I am trying to change the value of a "Yes/No" choice column using JavaScript in a model driven app.
If the user selects "Yes" in the form field, I am checking if other fields have a value.
If some do not have values, I need to change the form field the user changed back to "No"
I am using setValue to do this:
formContext.getAttribute('asp_railcarisgone').setValue(false);
This is technically working, the value of the field is set to false but the text in the field stays "Yes"
I need the text to change to "No"
How do I do that?