The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
Using Formidable to Update MySQL Records
Don't Really need help, just a quick questions. I built an AWESOME platform using Formidable. I am wanting to know the best way to update a MySQL record using a Formidable form.
Here is a quick rundown of the process:
There is a form with entries of all our products. There is a purchase order form so when new products are ordered from the supplier the order has inbound stock for each product order. When the shipment arrives in our warehouse, the warehouse employee pulls up the purchase order, counts and enters product count received (it catches shortages and helps with lost prevention).
HERE IS WHAT I NEED TO KNOW
Best way to take add inbound stock received to current stock and update the stock in a WooCommerce record..
- Where can I place the php code to update the WooCommerce MySQL Record?
- Could I place the code in the API plugin using Raw or;
- Place the code on the forms confirmation message or;
- Place the code on a page that the form redirects to
How you can understand what I am trying to ask. I don't need custom code or anythin, just where to place the code that updates the MySQL record.
LOVE YOUR PRODUCT!! My Number ONE Plugin for WordPress!!! Super Happy with your work.. I have created a platform that would have costed over $100,000 and would have had piece together other software to work.. It's Awesome!! Looking forward to hearing back!
Thanks for the help
March 29, 2018 at 10:10 am
I would use the frm_after_create_entry hook. You would add the custom code to the site's functions.php.
http://community.formidableforms.com/knowledgebase/frm_after_create_entry/
Discussion closed.