I’m new on this forum and I have a question about Gravity Forms. Actually, I am using entries like orders for my customers with a field where i digit the Order Number and another field where insert the order status (completed, paid...). I was thinking to build a “tracking form” in the frontend where customers can digit their Order Number and then they can see the status of the order. Someone can help me?
closed as off-topic by Mark Kaplun, Krzysiek Dróżdż♦, Jacob Peattie, Jack Johansson♦ May 9 '18 at 23:33
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third party plugins and themes are off topic, they are better asked about at their developers' support routes." – Mark Kaplun, Krzysiek Dróżdż, Jack Johansson
Here is my rough idea. You might need to save the order status as Custom field value or Custom Taxonomy term. As you know, GF supports Hook and actions; gform_after_submittion might help in this case. In the action, you can read the tracking number, then run the query, then return the value to the form.