The Quantity allows a quantity to be specified for Product.


Quantity General

  • Field Label
    Enter the label of the form field. This is the field title the user will see when filling out the form.

  • Description
    Enter the description for the form field. This will be displayed to the user and provide some direction on how the field should be filled out or selected.

  • Product Field Mapping
    Select which product this field is tied to. This option is only available when there are two or more products. When only one product exists, Option and Quantity|Quantity Fields will automatically apply to that product.

  • Field Type
    Select the type of field from the available form fields.

    • Number
      The Number field type will display as a Number on your form. This option also enables the *Number Range* property for the Quantity field.

    • Drop Down
      The Drop Down field type will display as a drop down field on your form. When this option is selected, the Product Properties tab will refresh with options to specify multiple quantity choices.

    • Hidden
      The Hidden field type will display as a hidden field on your form. This field type is useful when wishing to set a quantity without that quantity being visible or editable by the user.

  • Number Format
    Select the format that of numbers that are allowed in this field. You have the option to use a comma or a dot as the decimal separator.

  • Range
    Enter the minimum and maximum values for this form field. This will require that the value entered by the user must fall within this range.

    Note: This option is only available when the Number field type is selected.

  • Rules
    These properties set rules for how the data should be handled.

    • Required
      A required field will prevent the form from being submitted if it is not filled out or selected.

    • No Duplicates
      A field set to allow no duplicates will require that a value entered in a field does not currently exist in the entry database for that field.


Quantity Advanced

  • Placeholder
    This option is used to place content within the field, hinting at the expected input.

  • Description Placement
    Overrides the default placement of the field description, allowing you to place it above or below the field.

  • Custom Validation Message
    If you would like to override the default error validation for a field, enter it here. This message will be displayed if there is an error with this field when the user submits the form. This option is only available when the Drop Down or Multiple Choice field type is selected.

  • Custom CSS Class
    Enter the CSS class name you would like to use in order to override the default styles for this field.

  • Field Size
    Select a form field size from the available options. This will set the width of the field.


Quantity Advanced

  • Admin Field Label
    Enter the admin label of the form field. Entering a value in this field will override the Field Label when displayed in the Gravity Forms administration tool.

  • Default Value
    If you would like to pre-populate the value of a field, you can specify a static value or select a variable value from the predefined list.

  • Visibility
    Select the visibility for this field. Field visibility set to Everyone will be visible by the user submitting the form. Form field visibility set to Admin Only will only be visible within the Gravity Forms administration tool. Setting a field to Admin Only is useful for creating fields that can be used to set a status or priority level on submitted entries.

  • Allow field to be populated dynamically
    Check this option to enable data to be passed to the form and pre-populate this field dynamically. Data can be passed via Query Strings, Shortcode and/or Hooks.

  • Enable Conditional Logic
    Create rules to dynamically display or hide this field based on values from another field. Remember, to use conditional logic, you will need to create a drop down, checkbox or multiple choice field.

Merge Tags


{Field Name:2}


This merge tag does not have any modifiers.

Last modified: February 6, 2018