martinH-10
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 |
---|---|---|---|---|---|
Add parameter with filled field data to redirected URL after form sent
Started by: martinH-10
in: Toolset Professional Support
Problem: I have two Forms. When one Form is submitted, I would like to redirect the User to the second Form, but I would like to add a URL parameter based on the selections in Form 1. That URL parameter should be used to preselect one of the fields in Form 2. Solution: The cred_field shortcode accepts an attribute called "urlparam" that you can use to pre-define field values. For example: [cred_field field="mobile" post="agent" urlparam="mobilenum"] Then in the URL: To set a URL parameter value in the redirect URL based on a custom field selection, use the cred_success_redirect API: add_filter('cred_success_redirect', 'custom_purchase_redirect',10,3); function custom_purchase_redirect($url, $post_id, $form_data) { if ($form_data['id']==12345) { $email = get_post_meta( $post_id, 'wpcf-e-mail', true ); $phone = get_post_meta( $post_id, 'wpcf-telefonni-cislo', true); $redirect = $url . "?fapi-form-email=" . $email . "&fapi-form-phone=" . $phone; return $redirect; } return $url; } Relevant Documentation: |
2 | 5 | 6 years, 3 months ago | ||
Script tag in conditional in Layouts
Started by: martinH-10
in: Toolset Professional Support
Problem: I would like to place a script tag in a conditional in a Layouts visual editor cell. Solution: Enqueue the script properly in a child theme or place the script tag in a Content Template, then insert the Content Template in the Layout. |
2 | 3 | 6 years, 3 months ago | ||
Post related checkbox "Not selected value" not displaying.
Started by: martinH-10 in: Toolset Professional Support |
2 | 3 | 6 years, 4 months ago | ||
Layout not updated on fronted
Started by: martinH-10 in: Toolset Professional Support |
2 | 9 | 6 years, 7 months ago | ||
Calculator of selectors and other post fields
Started by: martinH-10
in: Toolset Professional Support
Problem: Solution: you can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 7 | 6 years, 8 months ago | ||
Showing custom field by conditional in Woocommerce PDF
Started by: martinH-10
in: Toolset Professional Support
Problem: The issue here is that the user has a plugin that generates a pdf from their shop page and the custom fields are not included in this pdf Solution: |
2 | 3 | 6 years, 8 months ago | ||
If Checkbox not selected value not displaying
1
2
Started by: martinH-10 in: Toolset Professional Support |
2 | 30 | 6 years, 9 months ago | ||
Breadcrumbs with 2nd level category link only and category titles
Started by: martinH-10 in: Toolset Professional Support |
2 | 6 | 6 years, 11 months ago | ||
Pricing tables with types
Started by: martinH-10 in: Toolset Professional Support |
2 | 7 | 7 years ago |