I am trying to build some functionality for a client who wants their clients to be able to check the repair status of their item. I have setup a custom post type called "clients" to store the clients in. I have also created custom fields in the post type "clients" such as "first name", "last name", "order number", and "repair status".
What I need to do is create a form where the customer can put in their name and their order number and it will show the status of their repair.
I know the basic idea is to match the input info with the values of the custom fields, but I don't know how to match those input values and pull and show the "repair status" value.
Any code samples you can throw my way would be much appreciated!