Product

Summary

The Product field allows the creation of products in the form. There are several options for the type of field that should be used for the Product Field: Single Product, Drop Down, Radio Buttons, and User Defined Price. It is available under the Pricing Fields section within the form editor.

GForms Product Field Icon

Product field as displayed in the Field Library

Image showing a Product field in the form editor.

Product field as displayed in the Form Editor.

Important: If you use a choice based field type and your choice labels contain any HTML or special characters such as ampersands, commas, hyphens or brackets of any type, you MUST enable the show values feature and give each choice a simple and unique value which does not contain any special characters. Failure to configure values could cause issues for features such as calculations, conditional logic, dynamic population, and validation.

Common Settings

This field uses only common field settings for the Appearance and Advanced settings. For a description of each of the common field settings, refer to this article. Below you will find description of specialty settings that are particular to this field.

General Settings

GForms Product Field General Settings

Field Type

Select the type of field from the available form fields.

FieldDescription
Single ProductThe Single Product field type will display the price and a quantity field by default.
Drop DownThe Drop Down field type will display as a drop down field on your form. When this option is selected, the General tab will refresh with options to specify multiple products. See Choices.
Radio ButtonsSimilar to the Drop Down option, but radio buttons instead. See Choices.
User Defined PriceThe User Defined Price field type will display as a single line input on your form.
HiddenIf set to Hidden, the product field will not be shown, but will still be processed upon submission.
CalculationGenerates product information based on calculations.
See this article for an example and the rules on using calculations.

Price

Enter the base price for this product.

Disable Quantity Field

Disables the quantity field. A quantity of 1 will be assumed or you can add a Quantity field to your form from the Pricing Fields.

Choices

For Product fields set to Drop Down or Radio Buttons field type you would see the Edit Choices button which would allow you to edit the Label, Value and Price for each choice.

Click the Edit Choices button under Choices to open the Edit Choices flyout.

Image showing choice for the Product field with a default choice selected
SettingDescription
ChoicesAdd Choices to this field. You can mark each choice as checked by default by using the checkbox that appears to the left of each choice. Add a new choice by clicking the PLUS (+) icon and delete a choice by clicking the DELETE (-) icon.
Show ValuesAllows you to specify a value for each choice. Choice values are not displayed to the user viewing the form but are accessible to administrators when viewing the entry.
Clear default choicesAllows you to clear the choice set as default. Only available when a choice has been selected as the default choice.
Bulk Add / Predefined ChoicesAllows you to select a category and customize the predefined choices or paste your own list to bulk add choices. See note 1.

Notes

1. See this article for more information on bulk loading choices.

Merge Tags

For more information on the use of merge tags, refer to these articles.

Usage

{Product Name A (Name):1.1}
{Product Name A (Price):1.2}
{Product Name A (Quantity):1.3}

Modifiers

This merge tag does not have any modifiers.