Fils de soutien créés au cours des 30 derniers jours : 1
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
|Form email notification template for all email notifications||2||2||Il y a 2 semaines et 6 journées|
Form custom logic for multiple options
How to use logic Operators of [cred_show_group] shortcode in post forms?
You can use "OR" and "AND" logic Operators in your shortcodes, see our document
|2||5||Il y a 1 mois et 2 semaines|
|Post expiry date in form saves a different date in the post||2||7||Il y a 2 mois et 1 semaine|
|URL for custom post type blog||2||13||Il y a 5 mois et 1 semaine|
Access Control – change user role name
The issue here is that the user wanted to know if it was possible to change their custom user role name in Access after it has been created.
Unfortunately no, you are not able to rename the user roles once they are created. The only way to do it is by using some custom code like below.
For it to work you will need to add it to your functions.php file.
|2||3||Il y a 6 mois et 3 semaines|
|Form email notification logic options||2||3||Il y a 7 mois et 2 semaines|
Form hide field if
The issue here is that the user wanted to hide their form fields based on a another field.
This can be done by following the instructions in our documentation below. https://toolset.com/course-lesson/conditional-display-for-form-inputs/
|2||3||Il y a 7 mois et 2 semaines|
|Hiding taxonomy option||2||5||Il y a 10 mois et 1 semaine|
|WordPress archives Search results some links not working||2||3||Il y a 10 mois et 3 semaines|
|This field is required error but field is filled out||2||2||Il y a 12 mois|
Form with Recurring date / Entry
Problem: The user has a form that creates a post and asks if he can implement a recurring post feature. For example, create a post for a user that has date times set for every Monday until next month
Solution: First of all, note that a Toolset form is meant to create or edit only ONE post. To be able to create multiple posts, you will need to create custom code hooked to the cred_save_data action, that will create the additional posts. https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
To pass data from the form to your action function, you can use generic fields.
Then you can create additional posts with the wp_insert_post function. https://developer.wordpress.org/reference/functions/wp_insert_post/ And update the post custom fields values with the update_post_meta function. https://developer.wordpress.org/reference/functions/update_post_meta/ Note that you will need to refix your fields with "wpcf-". Check the first section of this page https://toolset.com/documentation/customizing-sites-using-php/functions/
|2||5||Il y a 12 mois|
Select a date that is not before the first date field
Problem: Select a date that is not before the first date field with Toolset form
Solution: To edit the date picker options, you will require to add the custom JS code to your form's JS editor.
You can find the proposed solution in this case with the following reply: https://toolset.com/forums/topic/select-a-date-that-is-not-before-the-first-date-field/#post-1780111
|2||7||Il y a 1 an|
|Form not displaying for guest user||2||3||Il y a 1 an|
|VIEWS add search filter from post relationship||2||9||Il y a 1 an|
Open link to related post in new window using wpv-post-link
Problem: I have a View that shows posts from post type A. I would like to include a link to related post type B, and I would like for the link to open in a new window/tab.
Solution: Build a link manually in HTML using the target attribute to open in a new window. Use the item attribute in wpv-post-url and wpv-post-title shortcodes to insert information about a related post.
<a href="[wpv-post-url email@example.com']" target="_blank">[wpv-post-title item="@occupier.parent"]</a>
|2||5||Il y a 1 an et 2 mois|