V2 Form Builder: Create a V2 XML/JSON/CSV Document

 

 

Note: V2 forms are gradually being rolled out to our customers.  To gain access now, please speak to support@prontoforms.com.

 

About

Version 2 forms -- those created in the V2 form builder -- have their own specific documents and are not compatible with V1 documents. You cannot attach V1 documents to V2 forms. This article will discuss how to create V2 documents to replace V1 ones attached to old forms, and outline some of the basic format differences to make it easier to integrate with external systems.

 

Please note that V2 documents are not backwards compatible, i.e., they cannot be attached to V1 forms.

 

Create a V2 Document

  1. Create the document as normal
  2. On the Configuration page, select Form Model Version: V2 from the dropdown.
    2017-09-18-CreateV2Doc01.png

  3. Configure as normal:

 

V2 Samples

This section contains examples of the V2 document output to demonstrate the differences between the two forms. The JSON and XML samples contain data from a standard ("flow") section output into the respective formats.

JSON

"pages": [{
     "label": "0Estimate And Billin",
     "name": "Estimate and Billing Information",
     "sections": [{
          "type": "Flow",
"label": "Estimate Details",
"name": "Estimate Details",
"answers": [{
"label": "Estimate date",
"dataType": "Date",
"question": "Estimate date",
"values": ["2017-09-18"]
},
{
"label": "Expiration date",
"dataType": "Date",
"question": "Expiration date",
"values": []
},
{
"label": "Name",
"dataType": "FreeText",
"question": "Employee name",
"values": ["Peter King"]
}]
}]
}]

 

XML

<pages>
<page label="0Estimate and Billin" name="Estimate and Billing Information">
<sections>
<section type="Flow" label="Estimate Details" name="Estimate Details">
<answers>
<answer label="Estimate date" dataType="Date">
<question>Estimate date</question>
<values>
<value>2017-09-18</value>
</values>
</answer>
<answer label="Expiration date" dataType="Date">
<question>Expiration date</question>
<values/>
</answer>
<answer label="Name" dataType="FreeText">
<question>Employee name</question>
<values>
<value>Peter King</value>
</values>
</answer>
</answers>
</section>
</sections>
</page>
</pages> 

 

CSV

This example contains data in raw format, and then a screenshot of the output in Excel.

Estimate date,Expiration date,Name,Customer,Street,City,State,ZIP,E-mail,Product/Service,Description,Quantity,Rate,Amount,Aggregation,Discount Percent,Discount Amount,Total,NotificationEmail
2017-09-18,,Peter King,Sally Hoster,1815 Stoney Lonesome Road,Bloomsburg,PA,17815,shoster@email.com,Concrete,Concrete for fountain installation,3,$75.00 USD,$225.00 USD,$750.00 USD,15,$112.50 USD,$637.50 USD,******@gmail.com

2017-09-18-CreateV2Doc03.png 

 

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments