Toggle menu

Using the Script Editor - Showing and Hiding Form Fields

1. Overview

Before attempting this tutorial you should be familiar with using the forms designer, publishing forms, and relating forms to articles so that they appear on your website.

What you'll learn

This tutorial introduces the script editor. The script editor can be used to create dynamic and conditional behaviour in your forms. You'll learn how to show and hide form fields based on the value of another field. The example uses checkboxes, but the same logic can be used with many other fields.

What you'll build

A form with a question and three checkboxes for answers. Extra fields will be displayed when the checkboxes are selected. See Showing and Hiding Fields Example for the finished form.

What you'll need

  • A browser with access to iCM
  • iCM user permissions to add, edit and publish forms
  • iCM user permissions to add edit and publish articles
  • An area of your site, or development site, where you can safely publish test content
Last modified on 15 February 2022

Share this page

Facebook icon Twitter icon email icon

Print

print icon