If you are adding some additional fields to a contact or quote form, here are some details on what you will need to do to make them work:
Step 1:
For this example we will create a new field on the contact.htm for gathering a client's website address. First we will copy the 2 lines of code shown below:
You can see in the above example we have added "website" to our sort list. Keep in mind that this is case sensitive. Use all lower case or make the new field and "sort" list match exactly.
Required Option:
You can also add your new field to the "required" list as well so it must be filed out for the form to be submitted. (only text and textareas can be required with most scripts)
Sample Field Code Types:
Below are examples of code you can use to gather info with your contact or quotes form. If you add any code below to your contact or quotes form be sure to edit the name, or names, and do step #2 above on this page.
Text Sample: For a single line of typed text.
#1 Text Code: Code for the above field:
#2 Textarea Sample: For comments or questions.
Textarea Code: Code for the above field:
#3 Dropdown Sample: For selecting an option.
Dropdown Code: Code for the above field:
#4 Radio Sample: For selecting an option.
NOTE: Edit all radio buttons in a group with the same name!
Radio Code: Code for the above field:
#4 Checkbox Sample: For selecting an option.
NOTE: Edit checkbox buttons in a group with all different names.