I am looking to create entries via a form and display them on a page in wordpress by doing a search for the entry possibly by a unique identifier. For eg. fill out a form which creates an entry and gives it a identifier of 20201. Then a person can go to a page which has a search bar and enter 20201 to pull up the entry.
Is something like this possible? I saw some articles on how to display on the frontend, but those seemed to show all entries. I want only the specific entry to be shown for security concerns. WHat might be the best way to go about this? Thank you.
[ad_2]
Check if “the form” (plugin? html?) wtf ever has a hook, or find the hook. wp_insert_post or something like add_action(‘super_sweet_forms_submission_new’, ‘my_make_id’)
make an identifier (e.g. bin2hex(random_bytes(16)) and save to postmeta or w/e is appropriate
w/e ur form thing is.. make a new form for ‘order lookup’ or w/e ur doing. tap that action to WP_Query by postmeta . like . you know how to do this. just try something
Hi! I would dig through the documentation and examples of [Formidable Forms]). I am not 100% sure if it will be able to do what you’re asking, but Formidable is one of the more advanced plugin solutions. It has features to create “views” for displaying data collected from forms.
An example I remember is that you could create a craigslist style application using Formidable. Most of the other form plugins are more focused on getting input from the form into the database or an email list or something like that.
Good luck!