Alert or Popup javascript after form validation in SharePoint 2013

0

This is my first entry, please excuse beginner errors.

Friends, I need to make an alert or a javascript or jquery popup to use in sharepoint form. I need him to give me a message if he does not pass the field validation or successful registration message if everything is ok with the padding.

Please help me. Thank you.

    
asked by anonymous 19.04.2017 / 18:52

1 answer

0

Welcome. I made a simple code to show you a very quiet idea of being implemented in any code. Codepen link: Example - CodePen

In the HTML part, the location of the text you can change by javascript or even something fixed.

In javascript / jquery you can see that I have a situation involving a boolean, if such situation, it shows the highlighted div with the message. If false, it shows nothing.

I hope I have helped

    
19.04.2017 / 20:09