Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to create a passcode-protected web form

Access to view a web form can be controlled by using a passcode. When form submitters enter the correct passcode, they will be able to see the web form. Alternatively, access to a web form can be limited to nexus groups using Web form submission access.

Note: The passcode is not case sensitive.

...

You should have a web form made before proceeding with the instructions below. If not, see the instructions on how to create a web form and add/manage form components.

There are 5 parts in creating a passcode-protected web form:

  1. Create a passcode textfield

  2. Create a page break

  3. Arrange the form components

  4. Set validation rule for the error message

  5. Disable the progress bar

1. Create a passcode textfield

  1. Click Webform tab, and then Form components sub-tab.

    Image Added
  2. Under Label, enter a new component name for the passcode (e.g., "Passcode:").

    Image Added
  3. Under Type, set component type to Textfield.

    Image Added
  4. Check the Required checkbox.

    Image Added
  5. Click Add button.

    Image Added
  6. In the Description field, enter a short note about
    the passcode (e.g., "The passcode is provided in the welcome email. For
    assistance, email wcms@uwaterloo.ca.").

    Image Added
  7. Click Save component.

    Image Added

2. Create a page break

  1. Under Label, enter a new component name for the page break (e.g., "Form").

    Image Added
  2. Under Type, set component type to Page break.

    Image Added
  3. Click Add button.

    Image Added
  4. In Next page button label, enter a name for the button to validate the passocode (e.g., "Submit Passcode").

    Image Added
  5. Click Save component.

    Image Added

3. Arrange the form components

  1. Drag the "Passcode:" textfield to the top.

  2. Drag the "Form" page break below the "Passcode:" textfield.

    Image Added
  3. Save.

    Image Added

4. Set validation rule for the error message

  1. Under Webform tab, select Form validation sub-tab.

    Image Added
  2. Select Specific value(s) link.

    Image Added
  3. Add a Rule name (e.g., "Invalid passcode message").

    Image Added
  4. Under Components, select "Passcode:" textfield.

    Image Added
  5. In (Key) value, enter the passcode (e.g., "passcode123").

    Image Added
  6. Enter a Custom error message (e.g., "Passcode entered is incorrect. Please try again.").

    Image Added
  7. Click Add rule.

    Image Added

5. Disable the progress bar

  1. Under Webform tab, select Form settings sub-tab.

    Image Added
  2. Scroll down, and select Progress bar.

  3. Uncheck all options.

    Image Added
  4. Save configuration.

    Image Added