How to validate dropdown default value "Select.." in Constellation (Pega Infinity 24.2.2)?

Hi,

I’m working in Pega Infinity 24.2.2 using the Constellation architecture. I have a dropdown field called “Account Type” in one of my Views.

The dropdown options are:

  1. Select.. (default value on load)

  2. Personal

  3. Business

  4. Other

I want to trigger a validation error if the user leaves the default “Select..” option selected and tries to submit. The expected error message is:

Account Type is required

I have tried marking the field as “Required”, but since “Select..” is a valid string value, it bypasses the default required validation.

How can I implement this validation in Constellation — either through a View config, Validation Rule, or any other recommended approach?

Thanks in advance!

@MaleeshaW

The validation should be triggered for placeholder text, or have you configured “Select…” as an actual selectable option?

@Marc Alderman It should trigger for the placeholder. “Select..” is not an available option. In other words, the validation should trigger if the Account Type is null.

The requirement is to display a custom error message in place of the OOTB warning.

@MaleeshaW can you please try the same in the below screenshot.

@Birupakhya Thanks! This worked.