Skip to main content
December 29, 2022
Question

Validations not working?

  • December 29, 2022
  • 5 replies
  • 0 views

Hi All,

I have applied some validations on the interface page, although they are working from the interface page while click on button but when validating from the site these are not working.

Can anyone please help me out?

    5 replies

    mikes0011
    Brainy
    December 29, 2022

    As sites are generally designed to be read-only in nature, what exactly are you hoping to show validation for there, and what would it accomplish?

    The Expression Guru
    December 29, 2022

    These are validations to display message to user like if dropdown value is not selected and button is clicked on? These are working when testing from interface but not working when tested from site page.

    mikes0011
    Brainy
    December 29, 2022

    Are you talking about "required" validation messages in particular?  IIRC these require a Submit attempt to show up at all, and that is not valid on a Site page since there's nothing to submit.  Other things, i.e. messages which show up inside the "validations" parameter array, will show up even on site interfaces when the validation conditions are met.

    The Expression Guru