mikeS-30
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 |
---|---|---|---|---|---|
Extra whitespace below View
Started by: mikeS-30
in: Toolset Professional Support
Problem: Remove white empty spaces and line breaks from the "Loop Editor". Solution: White space in JS codes won't be display in front-end, there should be some broken HTML div tags, I suggest you try to debug it manually, for example: https://toolset.com/forums/topic/extra-whitespace-below-view/#post-1788477 Relevant Documentation: |
|
2 | 5 | 4 years, 5 months ago | |
View with ordered list displayed with bootstrap has numbers on separate line
Started by: mikeS-30 in: Toolset Professional Support |
|
2 | 3 | 4 years, 8 months ago | |
If statement to display custom field or text
Started by: mikeS-30 in: Toolset Professional Support |
|
2 | 7 | 4 years, 8 months ago | |
Multiple equations adding custom fields to populate different custom fields
Started by: mikeS-30 in: Toolset Professional Support |
|
2 | 6 | 4 years, 8 months ago | |
CRED submit button disabled
Started by: mikeS-30 in: Toolset Professional Support |
|
2 | 9 | 4 years, 8 months ago | |
Eliminate returning empty fields while still filling entire page with results
Started by: mikeS-30 in: Toolset Professional Support |
|
2 | 3 | 5 years ago | |
Taxonomy filter checkboxes to change what is displayed in the loop per checkbox
Started by: mikeS-30 in: Toolset Professional Support |
|
2 | 5 | 5 years ago | |
Some values are not displaying on search view despite data existing in fields
Started by: mikeS-30 in: Toolset Professional Support |
|
2 | 3 | 5 years, 4 months ago | |
Adding custom fields together into custom field that displays the total sum.
Started by: mikeS-30
in: Toolset Professional Support
Problem: I have a Form that allows Users to enter their monthly totals in number format. I would like to calculate the sum total and display it. Solution: Use the cred_save_data API to capture the entered values and add them up. Then save that sum to a separate custom field. add_action('cred_save_data', 'sum_monthly_sales',10,2); function sum_monthly_sales($post_id, $form_data) { $sum_field = 'yearly-sales'; $forms = array( 1583 ); // if a specific form if ( in_array( $form_data['id'], $forms ) ) { $value1 = get_post_meta($post_id, 'wpcf-january-sales', true); $value2 = get_post_meta($post_id, 'wpcf-february-sales', true); $value3 = get_post_meta($post_id, 'wpcf-march-sales', true); $value4 = get_post_meta($post_id, 'wpcf-april-sales', true); $value5 = get_post_meta($post_id, 'wpcf-may-sales', true); $value6 = get_post_meta($post_id, 'wpcf-june-sales', true); $value7 = get_post_meta($post_id, 'wpcf-july-sales', true); $value8 = get_post_meta($post_id, 'wpcf-august-sales', true); $value9 = get_post_meta($post_id, 'wpcf-september-sales', true); $value10 = get_post_meta($post_id, 'wpcf-october-sales', true); $value11 = get_post_meta($post_id, 'wpcf-november-sales', true); $value12 = get_post_meta($post_id, 'wpcf-december-sales', true); $res = $value1 + $value2 + $value3 + $value4 + $value5 + $value6 + $value7 + $value8 + $value9 + $value10 + $value11 + $value12; update_post_meta( $post_id, 'wpcf-' . $sum_field, $res ); } } Relevant Documentation: |
|
2 | 9 | 5 years, 11 months ago | |
Unable to plot data in chart after passing variable through php
Started by: mikeS-30
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution, in this case with the following reply: Relevant Documentation: |
|
2 | 6 | 5 years, 11 months ago | |
Adding custom fields together (numbers)
Started by: mikeS-30
in: Toolset Professional Support
Problem: I would like to be able to add custom number fields together, sum some custom fields. Solution: You can setup your own shortcode manually without eval() function, for example: https://toolset.com/forums/topic/adding-custom-fields-together-numbers/#post-1218543 Relevant Documentation: https://developer.wordpress.org/reference/functions/get_post_meta/ |
|
2 | 3 | 5 years, 11 months ago | |
Unable to save user form. Message says: You need to select a post type first
Started by: mikeS-30
in: Toolset Professional Support
Problem: Solution: Since this is a user form you need to select the role of the user that the form is going to edit or create. This seems to be why you are are getting this message. |
|
2 | 6 | 6 years ago |