How can we add a Multi select custom field?
And the generic field in post forms are those being saved? Tried that and nothing is saving from that fields.
How can we add a Multi select custom field?
Hello, Toolset Types does not currently offer a multiselect custom field type. The most similar field type is checkboxes group, which offers multiple options and allows the User to select one or more of these options.
And the generic field in post forms are those being saved? Tried that and nothing is saving from that fields.
Normally you would use a custom code snippet to capture the values submitted in generic fields and save those values somehow, either to a different Types custom field, a hidden custom field, or using some other custom solution like setting a specific taxonomy term, for example. We offer the Forms APIs cred_save_data and cred_submit_complete that can be used to check the values submitted in generic fields and save them using update_post_meta, wp_set_object_terms, or something similar:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
https://toolset.com/documentation/programmer-reference/cred-api/#cred_submit_complete
https://developer.wordpress.org/reference/functions/update_post_meta/
https://developer.wordpress.org/reference/functions/wp_set_object_terms/
If you provide more information about what you would like to accomplish with a generic field, I can provide more guidance and relevant example ticket links.