[Resolved] How can I display checkboxes output by created cred forms with views?
This thread is resolved. Here is a description of the problem and solution.
Problem:
How to display checkbox in CRED form
Solution:
To display checkbox field with CRED form:
1)
created Custom Checkbox field in Types.
2)
inserted that created field in CRED Forms or click on button "Auto Generate" to generate all whole form automatically.
Hello. Thank you for contacting the Toolset support.
I do not understand how you created checkbox field using CRED. Is your checkbox field created under Types?
Normally, you can display checkbox as follows:
[types field="my-checkboxes"][/types]
// Will output a comma separated list of values for each checked checkbox
[types field="my-checkboxes" separator=" - "][/types]
// Will output a list of values for each checked checkbox separated by a dash.
CRED has a funtion creating checkboxes field basically.
I used it.
Normally, Custom fields created by Types use '[types field="my-checkboxes" separator=" - "][/types]'.
On the other hand, that fields created by CRED use '[wpv-post-field name='']' in Contents Template.
First, I created Custom Checkbox field in Types.
Second, I inserted that field in CRED Forms (not using CRED checkboxes field).
Third, I loaded that field in Content template from 'Field and View' button.