Advertisement
Guest User

Untitled

a guest
Apr 24th, 2021
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. Hello and thank you for contacting the Toolset support.
  2.  
  3. To display each option in a line, you can use this, adapt it to your field's slug:
  4. =========================================================================================
  5. <p>
  6. [types field="my-checkboxes" separator="<br>"][/types]
  7. </p>
  8. =========================================================================================
  9. Which will generate:
  10. =========================================================================================
  11. <p>
  12. Option 1 <br>
  13. Option 2 <br>
  14. Option 3
  15. </p>
  16. =========================================================================================
  17.  
  18. You said that you want to display only the options that are selected, this is the default behavior. Are you getting some options that are not selected? If yes, please check what settings have you chosen for the field in Toolset->Custom fields. And make sure that the field will save "nothing" when an option is not selected instead of "0". Then save a post again to force it to remove 0s for the unchecked options and try again.
  19.  
  20. I hope this helps. Let me know if you have any questions.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement