8 - Defining Action Parameters: Comment

This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.

📖 Task Introduction

This task follows the same general path as the previous, so the descriptions are more concise. One key difference: to reduce the risk of bypassing the required comment field, you’ll use a regular expression (regex) to require a comment at least 25 characters in length.

🔨 Task Instructions

  1. In the lefthand panel, click back into the Form menu item to be taken to your list of parameters.
  2. Click into the Comment parameter in the Form Content section of your screen.
  3. In the Constraints section, tick the With minimum length box and set the value to 25.
  4. Test the Comment field in the Form Content panel on the right.