ThomasB2891
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 |
---|---|---|---|---|---|
Distance Search Setup
Started by: ThomasB2891 in: Types Community Support |
2 | 2 | 6 years, 10 months ago | ||
Adding my own button for form submit
Started by: ThomasB2891
in: Toolset Professional Support
Problem: The issue here is that the user wanted to add his own CRED submit button to use his own custom styling. Solution: Actually you can replace the form submit button with an html submit button like this. <button type="submit" name='form_submit' class="btn btn-primary"> Submit </button> If you replace the submit button shortcode you can use the html above instead and you should be able to customize the way you like. |
2 | 5 | 6 years, 10 months ago | ||
Save current page URL in custom field with CRED form
Started by: ThomasB2891
in: Toolset Professional Support
Problem: I would like to use a CRED form to save the current page URL into a custom field on a new post. I plan to use this as a "saved search" so Users can visit the same search again later. Solution: If your form does not use AJAX, you can use the following code to automatically save the current page URL in a CRED custom field: add_action('cred_save_data', 'save_page_url_to_custom_field',10,2); function save_page_url_to_custom_field($post_id, $form_data) { if ($form_data['id'] == 123) { update_post_meta($post_id, 'wpcf-search-url', $_SERVER['HTTP_REFERER']); } } Replace '123' with the numeric ID of this CRED form, and replace "search-url" with the slug of your custom field. Relevant Documentation: https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data |
2 | 5 | 6 years, 11 months ago | ||
Conditional output not displaying complex content
Started by: ThomasB2891 in: Toolset Professional Support |
2 | 2 | 7 years ago | ||
Accordion feature in CRED form
Started by: ThomasB2891 in: Toolset Professional Support |
2 | 6 | 7 years ago | ||
Favorites function user permission help
Started by: ThomasB2891 in: Toolset Professional Support |
2 | 6 | 7 years, 1 month ago | ||
Layouts row width not responding
Started by: ThomasB2891 in: Toolset Professional Support |
2 | 2 | 7 years, 1 month ago | ||
PHP Warning after editing CRED Post Form
Started by: ThomasB2891
in: Toolset Professional Support
Problem: Warning: Creating default object from empty value in C:\Program Files (x86)\Ampps\www\wp-content\plugins\cred-frontend-editor\application\models\form\data.php on line 56 Solution: |
2 | 7 | 7 years, 1 month ago |