User forums

  FAQ FAQ  Forum Search   Register Register  Login Login

Forum LockedHow to Package and Import HTML forms

 Post Reply Post Reply
  Topic Search Topic Search  Topic Options Topic Options
maximumsoft View Drop Down
Admin Group
Admin Group

Joined: October 01 2003
Location: United States
Posts: 69
Direct Link To This Post Topic: How to Package and Import HTML forms
    Posted: April 15 2011 at 3:07pm

If you have HTML forms used by your business, you just need to follow a few simple steps in order to package the forms, and Import them into Forms-2-Go app.

Step 1 – Prepare HTML file

- The Forms-2-Go app supports the following controls within HTML forms:
   Text (<input id=" some_id_1" type="text" />)
   Checkboxes (<input id="some_id_2" type="checkbox" >)
   Radio buttons (<input id="some_id_3" type="radio" >)
   Text areas (<textarea id=" some_id_4">)
   Drop downs (<select id=" some_id_5">)
- Each control should have unique (within the form) "id"
- If the form uses images (like logos), please makes sure that these images are embedded inside the form (and not stored as separate files) by using Data URI scheme
<img src="data:image/png;base64,…>
- <input> controls must have their type attribute value entered in lowercase.
Like, <input id=" some_id_1" type="text" />, not <input id=" some_id_1" type="TEXT" />
- If needed, make required changes in HTML file
- The file should have ".html" extension

Step 2 – Prepare form Definition XML file

- Create XML file with the same name as HTML form, but with ".xml" extension
- Enter your data in the following XML structure
          <UUID>unique alpha-numeric text</UUID>
          <displayName>form name that will be displayed by the app</displayName>
          <category>form category</category>
          <version>form version</version>

- Example
          <displayName>Travel Expenses</displayName>

Step 3 – Package form files
- This step is needed only for iPad/iPad 2 and Android tablets.
- If you use BlackBerry PlayBook, then skip this step.
- Put form HTML and XML files into single ZIP archive
- Change ZIP archive extension to ".f2g"

Step 4 – Copy Form package to your Tablet
iPad / iPad 2
- Connect iPad to your computer using the included Dock Connector to USB cable.
- Launch iTunes or later on your computer.
- Select your iPad from the Devices section of iTunes.
- Click the Apps tab and scroll down to the bottom of the page.
- Under the File Sharing section, select Forms-2-Go
- Click the "Add…" button, locate the form package (.f2g) file on your computer, and click the "Choose" button.
- The selected form package will be copied to the app on your iPad immediately.

Android 3.0 tablet
- Connect Android tablet to your computer using USB cable.
- Copy package (.f2g) file to "Forms-2-Go" directory on your tablet. This directory will be automatically created by the app when you run it for the first time.

BlackBerry PlayBook tablet
- Connect PlayBook tablet to your computer using USB cable.
- Copy .html and .xml files (not .f2g) files to "Documents" directory on your tablet.

Step 5 – Import forms
- On Forms-2-Go main screen, tap Gear button, and choose "Manage Form Templates".
- Tap "Import Templates" button and the app will search for new (new combination of form UUID and Version number) forms in File Sharing directory.
- If the form is successfully imported, the app will delete the form package file (.f2g) in the File Sharing directory, and the package file will disappear in iTunes (iPad/iPad 2).

If you need help to convert your business forms into HTML format, please contact our Sales Team.

Edited by maximumsoft - March 05 2016 at 10:29am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.54 [Free Express Edition]
Copyright ©2001-2008 Web Wiz