how do i add grids to a custom form?
In the event that you need to add multiple components to generate a single data point (for instance, type of sample), you may use a grid in your custom form.
STEP 1: Add the new grid field to the form.
Navigate to the Form fields section in the Custom Form window. In the drop-down box, select grid, then click the green plus icon to add the field. (Figure 1)
STEP 2: Create the columns you would like to add to the grid.
In the example below (Figures 2 & 3), you can see how the field data entered in the Form fields section displays in the Form preview section. In the grid's default value field enter the grid column headers as a comma separated list. DO NOT add spaces after the commas or this will cause any file uploads into your grid to fail.
STEP 3: Enhance columns.
Click on the Enhance columns button to alter the columns. (Figure 4)
From here you may edit the following column parameters:
- Type: Identify the type of data that the field should allow by using the drop-down box.
- Width: You may expand or reduce the width of the column by entering the number of pixels. (Default is 75.)
- Options: If the field type is autocomplete, you may define which options are available for that field.
You will see your changes display in the Form Preview when you click the Save button.
STEP 4: Select Services.
Click the Select Services button to add services, if necessary. (Figure 5)
Then select the category of the service you would like to add. Next, click the green arrow to add the service. (Figure 6)
The service(s) you selected will display directly beneath the Form Fields section. (Figure 7)
Important: To save the services to your grid, after adding the services click on Enhance Columns then click on Save on the Enhance Columns pop-up.
When you have finished modifying the grid, click Save. (Figure 8)
Was this article helpful?