Create 8" Form Output (HTML)
This guide provides a step-by-step approach to creating an HTML form.
Erin
19 steps
3 minutes
Tip! It is recommended that general understanding and experience in writing HTML code is required in order to build the forms.
1
To begin, download a copy of the Starter 8X10 HTML file that Smart Squad has located here, <https://drive.google.com/file/d/16KY0PWDu32oRooC9v35HhmrSElp0QqxC/view?usp=drive_link>
2
Navigate to the downloaded file and open with any text editor. For the purpose of this guide, it has been opened with Notepad++.
3
The starter HTML defines the basic elements and css that can be contained within a div tab. For more information on HTML, please see this link: <https://www.w3schools.com/html/html_intro.asp>
4
Save the starter file with a .HTML extension.
5
In order to open the file in the browser, go to the location where it is saved and right click the file and open with a browser. The default Starter document is a blank document and will require coding to build the form.
6
The Starter HTML has predefined css options to use, in the screenshot below, you can see the font is defined as Arial, serif and has a size defined. It also has field title options predefined.
7
There is also a table with border options defined as well.
8
There are also options for padding to help generate space around defined elements.
9
The body of the HTML is where the main coding will be done.
10
While the coding is happening, users can periodically check how their HTML is rendering by clicking Save in the text editor and then refreshing the page in the browser.
11
Press [[Return or F5]]
12
The HTML is rendered and displays the current form.
13
In order to use an image in HTML, the image must be converted to a base64 string. Online tools can be used for this purpose. The Alberta image in the form is identified as the base64 image below.
14
All fields that need to be displayed as the field label, should be added as text, and any value that is coming from user input with have the angle bracket (<) enclosing the tag.
15
Those fields correspond to this section of the form. NOTE: that in order to see the user input that should be displayed after the Payment Type, the HTML output would need to be added to the 8" section of the form output in the Smart Squad Admin portal.
16
To complete the HTML form, go to the text editor and copy the entire code.
17
Go into the Smart Squad Admin portal and Edit the form
18
Click on the Output tab and paste the HTML code into the 8" Template section
19
Click on Save Changes. The form is complete and ready for testing. In order the test the form, the user will have to use their Smart Squad app to create the 8" printer size option, and complete the form to confirm all the field values.
Create 8" Form Output (HTML)
This guide provides a step-by-step approach to creating an HTML form.
Erin
19 steps
3 minutes
Tip! It is recommended that general understanding and experience in writing HTML code is required in order to build the forms.
1
To begin, download a copy of the Starter 8X10 HTML file that Smart Squad has located here, <https://drive.google.com/file/d/16KY0PWDu32oRooC9v35HhmrSElp0QqxC/view?usp=drive_link>
2
Navigate to the downloaded file and open with any text editor. For the purpose of this guide, it has been opened with Notepad++.
3
The starter HTML defines the basic elements and css that can be contained within a div tab. For more information on HTML, please see this link: <https://www.w3schools.com/html/html_intro.asp>
4
Save the starter file with a .HTML extension.
5
In order to open the file in the browser, go to the location where it is saved and right click the file and open with a browser. The default Starter document is a blank document and will require coding to build the form.
6
The Starter HTML has predefined css options to use, in the screenshot below, you can see the font is defined as Arial, serif and has a size defined. It also has field title options predefined.
7
There is also a table with border options defined as well.
8
There are also options for padding to help generate space around defined elements.
9
The body of the HTML is where the main coding will be done.
10
While the coding is happening, users can periodically check how their HTML is rendering by clicking Save in the text editor and then refreshing the page in the browser.
11
Press [[Return or F5]]
12
The HTML is rendered and displays the current form.
13
In order to use an image in HTML, the image must be converted to a base64 string. Online tools can be used for this purpose. The Alberta image in the form is identified as the base64 image below.
14
All fields that need to be displayed as the field label, should be added as text, and any value that is coming from user input with have the angle bracket (<) enclosing the tag.
15
Those fields correspond to this section of the form. NOTE: that in order to see the user input that should be displayed after the Payment Type, the HTML output would need to be added to the 8" section of the form output in the Smart Squad Admin portal.
16
To complete the HTML form, go to the text editor and copy the entire code.
17
Go into the Smart Squad Admin portal and Edit the form
18
Click on the Output tab and paste the HTML code into the 8" Template section
19
Click on Save Changes. The form is complete and ready for testing. In order the test the form, the user will have to use their Smart Squad app to create the 8" printer size option, and complete the form to confirm all the field values.