Helper Fields

Helper fields are used to support additional features and characteristics of a survey, allowing control at the question/field level. Currently Helper fields support the ability to override error messages for specific questions. This adds an additional level of personalisation. The example below shows a date field with the range error message overridden to be more helpful.

Date1  "Please select a date and time for your call."
  style(Control(Type="date"))
  date ["2018-01-01 09:00am".."2100-12-31 05:00pm"]
  helpers (
    StandardTexts block fields (
        NotInRange "The date cannot be earlier than 1st Jan 2018" info;
    )
  );

Last updated