Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get data from formtools #389

Open
heinzelrumpel opened this issue Nov 30, 2018 · 1 comment
Open

How to get data from formtools #389

heinzelrumpel opened this issue Nov 30, 2018 · 1 comment
Labels

Comments

@heinzelrumpel
Copy link

Hi,

I discovered foormtools whilst searching for an opportunity to create a database. On the formtools homepage I found a demo of somebody having created a movie search webpage with formtools. This is exactly what I needed, so I installed formtools and created my first form. This is pretty easy. But now I am stuck. I would like to get the data somewhere presented on a webpage, which the forms stored in mysql database. I have no clue how tho achieve this with formtools. All I pretty much need is a page, where I can fill in some search criteria and a button which will retrieve the answers.

Who can help m out with this? Thanks

@benkeen
Copy link
Member

benkeen commented Dec 5, 2018

Hey @heinzelrumpel, hmm which homepage was this? Not formtools.org!

To get the data out of the Form Tools database, check out the API:
https://docs.formtools.org/api/v2/

That has a bunch of methods to query the database and get data. Specifically, check out this method:
https://docs.formtools.org/api/v2/show_submissions/

That sounds just like what you want: it uses the Export Manager module to handle rendering the list of form data in the page.

Ben

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants