MattI4840
Support threads created in the last 30 days: 3
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
cred_before_save_data not firing
Started by: MattI4840
in: Toolset Professional Support
Problem: I'm using the 'cred_before_save_data' hook to update several values for related posts prior to the update taking place. The hook does not appear to be firing as those values are not updating when the form is submitted. Solution: You can debug custom PHP codes manually, like this: Relevant Documentation: |
2 | 4 | 6 years, 3 months ago | ||
Parent dropdown not working in custom theme
Started by: MattI4840 in: Toolset Professional Support |
2 | 8 | 6 years, 3 months ago | ||
Update grandparent with child values
Started by: MattI4840 in: Toolset Professional Support |
2 | 3 | 6 years, 3 months ago | ||
Validating form with parent post fields
1
2
Started by: MattI4840
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 24 | 6 years, 4 months ago | ||
Use forms to update related fields
Started by: MattI4840
in: Toolset Professional Support
Problem: I would like to know how to calculate values based on Form submissions, and update values in related posts. For example, I will have a Products post type that includes an inventory count custom field to store the quantity of inventory on hand. When someone submits a transaction to purchase a Product, I want to update the inventory count to reflect the number of remaining inventory. Solution: Use the Forms API cred_save_data to hook into a Form submission, inspect the custom field values, calculate the correct new values, and save the updated values on the corresponding Product. Relevant Documentation: |
2 | 10 | 6 years, 4 months ago |