Single Line

Display Tab

  • Label – This is a free text field that is mandatory.
     
  • Show Label on the form – This allows you to display the form label when rendering the form field.
     
  • Default Value – This allows you to set the default value to be Custom Value or Latest Data Field Value. Note that Custom Value is enabled by default. When you enable the Latest Data Field Value, CPM sets the default value of the Single Line Text form field to the latest value of the Data Subject type data field associated with the form field at the time of Consent submission.
     
  • Default Placeholder Text – This is a short description or hint that describes the expected value of an input field.

    NOTE: AI-powered auto-translation is currently unavailable for this field.
     
  • Helpful Information Text – Displays a help icon or tooltip next to a form field to provide more information.

Styling Tab

  • Font – Select the font face from the dropdown menu.
     
  • Font Size – Select the size of the font.
     
  • Label Text – Select the label text color from the color palette or enter the HEX code.
     
  • Field Input Text – Select the field input text color from the color palette or enter the HEX code.
     
  • Form Field Background – Select the form field background from the color palette or enter the HEX code.
     
  • Form Field Stroke – Select the form field stroke color from the color palette or enter the HEX code.
     
  • Required Field Indicator – Select the required field indicator color from the color palette or enter the HEX code.
     
  • Information Icon – Select the information icon color from the color palette or enter the HEX code.
     
  • Helpful Information Background – Select the helpful information background color from the color palette or enter the HEX code.
     
  • Helpful Information Text Color – Select the helpful information text color from the color palette or enter the HEX code.
     
  • Helpful Information Text Font – Select the helpful information text font face from the dropdown menu.
     
  • Font Size – Select the size of the helpful information font.
     
  • Reset to default – Erases the custom settings and restores styling to default settings
     
  • Field Preview – Provides a real-time preview of the customized field

Validation Tab

  • Field Format – Select whether the format is HTML Links, Text Only, Number Only, or None
     
    • HTML Links (must pass regex: /(https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/)
       
    • Text Only (must pass regex: /^[a-zA-Z]+$/i)
       
    • Number Only (must pass regex: /^\d+$/)
       
  • Number of Characters – Set the minimum and maximum number of character limits; minimum of 0 and maximum of 500 characters.

Settings Tab

  • Required – This checkbox allows the user to mark the field as a required field.
     
  • Hidden – This checkbox allows the user to hide the field.
     
  • Read-only – A checkbox that allows "Read-Only"
     
  • PI Data – A checkbox that tags the field as PI Data
     
  • Match Field – A checkbox that allows the user to match fields against another similar field
     
  • Field UUID – This is a read-only field and is auto-generated once saved.
     
  • Data Field – This is a drop-down field with the list of Purposes created from the Data Subject Type page.