Forms with yes/no fields
-
If I am creating a custom form for updating purposes and want to have it show a yes/no field, do I use this:
{% set options = metadata["contact"].Attributes["gendercode"].OptionSet.Options %} {% for option in options %} <li>{{option.Value}} - {{option.Label.UserLocalizedLabel.Label}}</li> {% endfor %}
Or do I do something else to have it show the “Yes” or “No” in the form field when the form loads?
Thank you.
Joe
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Forms with yes/no fields’ is closed to new replies.