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 - 2,941 through 2,955 (of 2,977 total)
The problem here is that the user had created a Form in Toolset Forms, but their guest users are not able to see the form on the frontend.
Solution:
Normally this happens when you have our Access plugin enabled, as it disable guest access to the frontend forms.
To resolve this you will need to adjust the permissions of your form by going to Toolset -> Access Control -> Frontend Forms and then ensure that the guest checkbox is ticked for your Form.
Problem: I have created a Form to edit a post, and I would like to display the Edit Post Form link to only site admins and to the post author. Other site visitors should not see this link.
Solution: Use a combination of Access Control shortcodes and conditional HTML to handle the conditional display of this link.
[wpv-conditional if="( [wpv-post-author format='meta' meta='id'] eq [wpv-current-user format='meta' info='id'] )"]
Current User is post author. [toolset-edit-post-link layout_slug='program-edit-layout' target='self']Edit %%POST_TITLE%%[/toolset-edit-post-link]
[/wpv-conditional]
[toolset_access role="Administrator" operator="allow"]
[wpv-conditional if="( [wpv-post-author format='meta' meta='id'] ne [wpv-current-user format='meta' info='id'] )"]
Current User is admin but not author: [toolset-edit-post-link layout_slug='program-edit-layout' target='self']Edit %%POST_TITLE%%[/toolset-edit-post-link]
[/wpv-conditional]
[/toolset_access]
I have a cred text field and want to limit the number of characters that a user can input.
Solution:
There isn't such a built-in feature within Toolset Forms plugin, it needs custom codes, according to our support policy we don't provide custom codes support.
Problem: I have a Form that creates new posts. I would like to automatically assign that post to a post relationship when the Form is submitted.
Solution: Use the cred_save_data API hook to perform an action programmatically when a post is created by Forms. Use the toolset_connect_posts API to programmatically associate two posts in a post relationship.