Discussions
Inline checkbox using nlobjForm.addField not displaying properly on change
I noticed that when I add a checkbox field as inline using nlobjForm.addField that when I make a change to it via client script that it reflects the changed "value" rather than the desired changed "text".
For example. I add a checkbox field server-side to display 'inline' and that is currently checked (value = 'T'). It properly displays as 'Yes' on the form. I make a change to the checkbox via client script (value='F') and the display changes to 'F' instead of the expected 'No'. Setting the field to 'T' displays as 'T' instead of expected 'Yes'.
Do we handle these differently when inline? Should I be changing the checkbox field value using 'Yes' and 'No'? If so I would think this would not properly change the underlying field value to checked or unchecked, but am curious why it is doing what it is doing. Bug or feature?