pop up message from java script

  • 1
  • Question
  • Updated 2 years ago
  • Answered
I have a table and it has column as primary defined as checkbox. when  user selects this check box, I have a java script which run some validation and when this validation fails, we want to show a message. I have currently used alert(message) but I do not like the look & feel. is there a way we can show message using pop up from Java script code on UI.
Photo of Anshul Gupta

Anshul Gupta

  • 298 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Tom Scalzo

Tom Scalzo

  • 264 Points 250 badge 2x thumb
Anshul,
Is the boolean validation rule able to be created in Salesforce?  If so, not JS needed since Skuid honors the SF rules.
Photo of Anshul Gupta

Anshul Gupta

  • 298 Points 250 badge 2x thumb
@tom Scalza, unfortunately not, it has to be trigger in SF and would not be a good experience from UI point of view. we want to throw the error on click on checkbox...I have java script validation in place, all I need is how to show it on UI rather than showing in alert.
Photo of Anshul Gupta

Anshul Gupta

  • 298 Points 250 badge 2x thumb
@ Tom Scalzo, thank you very much. This is what I was looking.