Can anyone tell me how to have a checkbox be autochecked in a form? We want it to show up with a check mark and for the value to be true without the provider having to check it.
The way that we did this was to write a function in the right side of the VFE screen to pre-populate the field.
EXAMPLE:
{ !DOCUMENT.CHECKBOX = "yes"}
The value of "yes" would be changed to whatever you have as the statement value for this checkbox. Put this code in the FUNCTION section of the VFE editor.
caveat here...
checkbox will always be checked with this method. user won't be able to uncheck it.
you could use a hidden checkbox also.
check if the hidden checkbox is checked when setting the checkbox you want to set.
if the hidden checkbox is not checked, check both.
this way, if the user wants to uncheck the checkbox, it won't get auto-checked again.