Troubleshoot Fields and Components

Missing Keys

If Form Designer displays an error similar to the example below, a component on a form is missing a site key and/or secret key.

CAPTCHA Mssing Keys

In case of a CAPTCHA component, go to the Forms Builder Settings workspace, select reCAPTCHA and populate the Secret Key, Site Key, and URL. Then select Save Settings.

Note: You will need to re-enter the reCaptcha Site Key and Secret Key values after upgrading to Forms Builder 3.8 or later.

reCAPTCHA Settings

Validation Error on Text Boxes

Scenario: A workflow combines the FirstName and LastName fields of the StudentEntity class to display the full student name. When the user clicks Next on the rendered sequence, a validation error occurs on the Student Name text box.

Text box validation

Solution: Check for extra padding on FirstName and LastName fields from the database. The Anthology entity model defines the FirstName and LastName fields as text boxes, each with a Max Length of 25. If the workflow creates a FullName variable with an assignment of FirstName + “ “ + LastName, it is best practice to add a trim to trim the extra spaces. Otherwise, with the extra padding, the length may exceed the MaxLength of 50 for the combined fields.

An alternate solution is to remove the Min Length property setting on the failing text boxes. i.e., leave it blank.

Invalid Property Names in Grids

When assigning Property Name values in the column editor, make sure that the values are different than the Mapped ID value. Otherwise, the following error may be displayed: "An item with the same key has already been added."

Property Name and Mapped Id