x

How do I get structured form results?

Is there a form app that returns the form data in xml or json format?

935 Views
Message 1 of 7
Report
1 Best Answer
Square

Best Answer

You can export form entries to a CSV (from the account dashboard go to Website > Overview > Form Entries and you'll see a button on the top right). That should download a CSV.

View Best Answer >

887 Views
Message 8 of 7
Report
6 REPLIES 6
Square

I'm not aware of one that does that in specific, though you could check the Weebly App Center to see if there's one that provides that as an option.

923 Views
Message 8 of 7
Report

I am a software developer. I have been asked by an NGO to help add a form to their Weebly website. I created a free site so I could learn your tools before editing their site. It looks like your native forms will handle the job - maybe with a little CSS tweaking. 

I looked at the html in the Weebly - View Form Data page and found it held the data in JSON form, for example:

var form_data = [{"weebly_id":"175920024721596437","Date Submitted":"01\/18\/2021 03:42pm","IP Address":"76.11.127.74","Opted In":"0","Length of beach monitored by Sandwatch group (metres)":"100 m","Is this the entire length of the beach?":"No","Typical sea conditions":"Low to moderate (wave height 0.4 - 0.9 m most of the time)","Beach composition":"Mainly mud"}];
 
I would like to be able to access this data, reformat it and add it to the site. Is it possible to export this data or access it programmatically?
 
Thanks,
Dave
908 Views
Message 8 of 7
Report
Square

I don't believe there's a way to access that from the website itself, @saltwind, since the data is intended to be private to just the site owner. 

899 Views
Message 8 of 7
Report

The piece of code I cut out came from the View Form Data screen. This is triggered by the site owner or a site editor. Would it be possible to add an export button for them or have the structured data emailed as an attachment to the owner?

898 Views
Message 8 of 7
Report
Square

Best Answer

You can export form entries to a CSV (from the account dashboard go to Website > Overview > Form Entries and you'll see a button on the top right). That should download a CSV.

888 Views
Message 8 of 7
Report

Excellent! Thanks!

870 Views
Message 8 of 7
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.