Bug with checkbox templates and API
CompletedI have a template with some checkboxes on it. (In this case it's a simple W9 form that I put textbox and checkboxes on top of the fields that need to be filled out). I'm using an API call to pre-populate the data to speed up an internal process. If I make a checkbox "read only" (which also makes it required, which I really dont like), then there isn't a problem if I pass a FALSE value to that checkbox. As soon as I set the value to TRUE and try to submit it, I get a red message flashing about an error occuring. Again, it's only the specific case when I prepopulate a TRUE "checkbox_value" via the API and the "read-only" below is checked. If I take the "read only" off but keep it required, it's also fine.
I don't want users to be able to edit anything on my form. I want everything pre-populated (so the w9 is totally the same as the data we have). But in order to not get an error for the checkboxes I basically have to make them NOT read-only, which means people can change them.
As a workaround I'm changing these template tags from checkboxes to 1-character textboxes that mark with a letter "X", but this seems like a bug that needs to be addressed
Please sign in to leave a comment.
Comments
1 comment