Problem:
How can I populate a Field with options in CRED with some values that I set in a View (so they are dynamic and not hardcoded)?
Solution:
Creating this with Views will not work, Views is not inteded to be used to populate CRED Fields.
What you can do:
1. Create a Types Checkboxes fields and manullay populate that with your options
2. Use a not-supported (with this I mean it's not suggested) way of populating a Generic CRED Checkboxes Field with a valid JSON output
The second is a relatively complex Custom Code approcah that uses several not suggested approaches, while the first is the correct way to go.
If you are interested in the second approach, I suggest you read this Threads:
https://toolset.com/forums/topic/views-not-working-after-installing-v1-11/#post-345278
https://toolset.com/forums/topic/error-using-cred_generic_field-to-let-user-select-the-post-author/
https://toolset.com/forums/topic/add-author-to-post-with-cred/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 2 replies, has 2 voices.
Last updated by dianaM-4 7 years, 2 months ago.
Assisted by: Beda.