AnsweredAssumed Answered

Identity Portal 14.0 - form validation fail

Question asked by Harilal on Feb 28, 2017
Latest reply on Aug 7, 2018 by bekla01

Hi,

I have created simple user creation form in Identity portal and performing some simple validation using validation handler on form submit. when I am trying to submit the form not able to see the custom message, but I can see a general message "Validation error".

Below is the  validation handler code and attached is the error screenshot

function validate(api, prop){

   if(prop.value.length == 3){

      return true;

   } else {

      prop.error = "Input must contains 3 characters";
      return false;

  } 

}

 

Outcomes