FAQ
How can we help?
Full Site Search

How do I create an HTML form that saves its data to a Ragic form?

This is very simple to do with Ragic if you know how to create forms in HTML. Suppose you want to create a form that saves entries in this sample pet store merchandise form.

1. Find the Field Id for each field that you would like to save in the HTML form. You can find them in the Design Mode when you focus on a field.

2. Create a form like this HTML sample, Your HTML form saves data to the same form URL, adding the query string parameter "api". Put down the field id as the parameter name for each field to be mapped on the Ragic form:

<!-- Your HTML form saves data to the same form URL, except change www.ragic.com to api.ragic.com -->
  <!-- Adding the web parameter means that api server returns html instead of default JSON -->
  <form action="https://www.ragic.com/start/petstore/1?html&api" method="POST">
    <!-- Put down the field id as the parameter name for each field to map them to a field on the Ragic form -->
    <p>Item Id: <input type="text" name="1000001" /></p>
    <p>Item Name: <input type="text" name="1000003" /></p>
    <p>Item Price: <input type="text" name="1000005" /></p>
    <!-- Selections work the same way, just pass the selection value as parameter value -->
    <p>Item Category:
      <input type="radio" name="1000002" value="Dog" /> Dog
      <input type="radio" name="1000002" value="Cat" /> Cat
    </p>
  </form>

3. Make sure that the user has the correct access rights to enter data on this form.

Top of Page

    Start Ragic for free

    Sign up with Google