I have one entity that has a yes/no datatype column. I have a second entity that has the same yes/no datatype column with a business rule that updates the field based on the first entity (example: if table one column updates to "yes" the second entity column also updates to "yes")
I have brought the second entity column into my portal form as I want to hide a button if the value is "yes". My plan is to hide the column from the form but I wanted to bring it in so I could use it's value for JS.
At first it was in the form as radio buttons that did not have either yes or no selected, even though the column in the backend was "yes". I was getting empty values. I then switched it to a toggle on the form (which appears as a checkbox on the portal frontend). It does check and uncheck appropriately (based on "yes"/"no") however I cannot get a value from this either. Whether the box is checked or not, I am only returning "on".
Any suggestions on how to tackle this? Thanks!


Report
All responses (
Answers (