List of the configuration fields an administrator fills in for a funnel trigger or action type, passed into the app's fields JS function so it can declare its own fields. Apps add fields by calling addField on the list they are given, either from a compact semicolon-separated configuration string or by setting the name, help text, required flag and options explicitly.

Extends: ArrayList


Methods

addField(String name, String options)

Returns: JourneyFunnelFieldsList

Adds a field parsed from a compact, semicolon-separated configuration string, for example "type=integer;required=true;options(a,b,c);help=Pick one".

ParameterDescription
namethe field's name
optionsthe semicolon-separated configuration string, may be null

addField(String name, String text, boolean required, List<String> options)

Returns: JourneyFunnelFieldsList

Adds a field built explicitly from its name, help text, required flag and list of selectable option values.

ParameterDescription
namethe field's name
textthe help text shown to the administrator filling in the field
requiredwhether the field must be given a value
optionsthe selectable option values for the field
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.