Textfield - Basic Configuration with Mask Validation

  1. Start by dragging a TPC Form Layout into the body of your page. Then, drag a CRM Form Configuration widget into the TPC Form Layout. For this example I will be setting the Form Configuration widget to use the contact entity.
  2. Click and drag a CRM Textfield widget in the body of your form and click on the edit button to display the properties prompt. For this example the textfield will be set to the Home Phone attribute.

    textfield1

  3. The Appearance tab can be left alone. Underneath the Validation tab, select Phone Number from the Mask Validation dropdown list.

    textfield2
  4. On the page, the textfield will contain the structure of a North American phone number with underscores representing the digits of the number. You will not be able to enter letters in this textfield either, only numbers.

    textfield3