CRED is a WordPress plugin that lets you easily build front-end forms for creating and editing content and users.
CRED User Guides include detailed documentation on creating forms, including related fields that belong to the content or the users, validating the input and displaying the forms with custom HTML styling.
When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
Viewing 15 topics - 1,126 through 1,140 (of 1,512 total)
Problem:
The user would like to make some optional custom fields required in a Toolset form.
Solution:
Currently, the required-ness of a field in a Toolset Form comes from its field's settings in Toolset->Custom Fields. Our developers are aware of this limitation and there is a feature request to allow implementing it independently of the fields settings. I am adding this ticket as a vote to the developers' board.
In the meantime, you can implement one of the following solutions:
Hiding the submit button until all fields have content. You can wrap the submit button inside a conditional group that will check that all the fields have values.
Save Toolset Forms Generic field value into database.
Solution:
After user submit the form, you can get the field "avatar-select" value with PHP variable $_POST['avatar-select'], then save it into database, for example: