nabils
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Email attachments
Started by: nabils
in: Toolset Professional Support
Problem: Send repeating file field as email attachments with Toolset Forms. Solution: It needs custom codes, for example: https://toolset.com/forums/topic/email-attachments/#post-1685885 Relevant Documentation: |
2 | 7 | 4 years, 4 months ago | ||
MONTHS_FROM_NOW() not working in condition
Started by: nabils
in: Toolset Professional Support
Problem: I am trying to create a conditional that tests if a custom date field is between TODAY() and MONTHS_FROM_NOW(2), but it's not working as expected. A date one month from now is hidden by the conditional. Solution: Use the following format with no line breaks and enclosing parentheses around both clauses: [wpv-conditional if="(( $(wpcf-rental_end) gt 'TODAY()' ) AND ( $(wpcf-rental_end) lt 'MONTHS_FROM_NOW(2)' ))"]Condition is true[/wpv-conditional] Relevant Documentation: |
2 | 5 | 4 years, 4 months ago | ||
Add condition based on date and number fields
Started by: nabils in: Toolset Professional Support |
2 | 5 | 4 years, 6 months ago | ||
User form do not save field values
Started by: nabils in: Toolset Professional Support |
3 | 12 | 4 years, 6 months ago | ||
Repeatable Field Groups form
Started by: nabils
in: Toolset Professional Support
Problem: I would like to make the process of submitting repeatable field groups (RFGs) in Forms simpler. Since I cannot create RFGs in the same Form that manages a parent post, I would like to redirect back to the parent post after the User creates an RFG in Forms. Solution: You can use the Forms redirection API to redirect to any custom post or page. In the Form settings, you must set up some redirection. It doesn't matter which page or post you choose in the Form settings, but you must choose something for redirection. Then add the following custom code in your child theme's functions.php file, or in a custom code snippet in Toolset > Settings > Custom Code: add_filter('cred_success_redirect', 'custom_redirect_rfg_editor',10,3); function custom_redirect_rfg_editor($url, $post_id, $form_data) { $forms = array( 12345 ); $rfg_slug = 'your-rfg-slug'; if ( in_array( $form_data['id'], $forms ) ) { $parent_id = toolset_get_related_post( $post_id, $rfg_slug ); return get_permalink($parent_id); } return $url; } Replace 12345 with the ID of the RFG form, and replace your-rfg-slug with the slug of your RFG. Then this code will automatically redirect to the single parent post after submitting the form. Relevant Documentation: |
2 | 9 | 4 years, 7 months ago | ||
Make the title for post is numbers starting from 1
Started by: nabils in: Toolset Professional Support |
2 | 3 | 4 years, 7 months ago | ||
The edit form showing wrong data for some fields
Started by: nabils in: Toolset Professional Support |
1 | 2 | 4 years, 7 months ago | ||
One to one relationship is not saved
Started by: nabils in: Toolset Professional Support |
2 | 3 | 4 years, 7 months ago | ||
Show all images with same size even when uploading them with different sizes
Started by: nabils in: Toolset Professional Support |
2 | 10 | 4 years, 8 months ago | ||
Pre-filled field with parent field
1
2
Started by: nabils in: Toolset Professional Support |
2 | 17 | 4 years, 8 months ago | ||
Can not update parent field when submitting a child form
Started by: nabils in: Toolset Professional Support |
2 | 10 | 4 years, 9 months ago | ||
Connect new post to two parent posts using crd form
Started by: nabils in: Toolset Professional Support |
2 | 7 | 4 years, 9 months ago | ||
Sending email after submitting a form to email address in parent post
Started by: nabils in: Toolset Professional Support |
2 | 5 | 4 years, 10 months ago | ||
Get related posts when duplicate post on front end
1
2
3
Started by: nabils in: Toolset Professional Support |
4 | 39 | 4 years, 10 months ago | ||
How to disconnect many to many relationship
1
2
Started by: nabils in: Toolset Professional Support |
4 | 17 | 4 years, 10 months ago |