Entry Data

By: Brian Deer | Asked: 05/13/2024
ForumsCategory: How-toEntry Data
Brian Deer asked 6 months ago
I have an existing front end web page that uses json data to feed its interface. I would like to create a formidable form then use the data from that form to feed this same interface. The formidable/Wordpress instance will live on the same url as the current page/interface. I hope this makes sense.  I've considered:
  1. Using php to output all the form entries and saving that as a json file.
  2. Or, possibly trying to consume the form data using the formidable rest api, but not sure how that would work if you are on consuming that data on the same url as formidable? 
I'm open to suggestions or if someone has done this before, let me know.  Thank you in advance so much for your help. 
1 Answers
Victor Font answered 6 months ago

You need to provide more details, but on the surface this shouldn't be too difficult using the REST API, although I don't understand why you would want to convert Formidable's data to JSON only to add it back to the database. Your explanation doesn't make sense without a a deeper process flow.

Brian Deer replied 6 months ago

<p>Thank you. I wouldn't be adding it back to the database. Sorry. I'll try to elaborate further. I have an existing front end that is currently using data from a csv file that is then parsed into json by the javascript in the front end (someone else built it and I don't want to have to rebuild the whole thing). However, I want my users to submit their data using formidable. Then, I want to feed that existing front end via that formidable data, preferably with json to make it easier but I'm open to options on how to consume and parse the data. Does that help? make sense? </p><p>In the REST API setup documentation it asks for a Notification URL which makes me think it only wants to send data to an outside URL. So, maybe I'm looking at the wrong tutorial?<a href="https://formidableforms.com/knowledgebase/formidable-api/&quot; rel="nofollow">https://formidableforms.com/knowledgebase/formidable-api/</a&gt;;</p>

Victor Font replied 6 months ago

Am I understanding you correctly that you are using a CSV file as a data source? The CSV is parsed by JavaScript into JSON and the JSON is further parsed into HTML for front end display?

That's a highly unusual way to display data in WordPress. I don't have an answer for you. That's such a convoluted way to have Formidable display data when views are so straightforward. You could export Formidable's data as a CSV and add it to your process flow, but other than that, you would have to engage a developer for a paid project to truly understand what the "someone else built it" did to create your workflow.

Brian Deer replied 6 months ago

<p>The data originally came from jotform as a csv and was placed on the server for the front end to consume. The front end is pretty complicated and has a lot more functionality than I think a formidable view would be able to offer including maps, filters etc.</p>

Victor Font replied 6 months ago

You might be surprised at what can be done on the front end with Formidable. Formidable can do all of the above but with a modern architecture. The jot forms approach is primitive.

Sorry I can't help you with this. Hope you find someone who can.

Brian Deer replied 6 months ago

No problem. Thanks for trying. I'll look more into it.

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