Update entries with specific value

By: Jiyoung Joung | Asked: 02/06/2024
ForumsCategory: How-toUpdate entries with specific value
Jiyoung Joung asked 11 months ago
This is the logic:
  1. User create entries by submitting a form. These entries\' value are set \"Pending\".
  2. Then user go to another form. This form will show user\'s \"Pending\" valued entries.
  3. User submit and pay cash in another form; create another form\'s entry; \"Pending\" value is set to another form\'s entry.
How can I do this? I want to:
  1. When user complete submitting and paying, entries with specific value from another form will be updated.
1 Answers
Rob LeVineRob LeVine answered 11 months ago
It may depend on what you're using as a payment gateway. One option is using the hook frm_payment_status_complete. You'll need some logic to figure out which entry to update so you'll either need to pass in an entry id (or key) or, use the Formidable functions or SQL commands to figure out which entry to update based on the current user.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right