MattI4840
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 |
---|---|---|---|---|---|
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, 1 month 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, 2 months ago |