1

I just added this code to trigger an alert on newForm.aspx. Unfortunately, after I applied this code Formula column Validation, my form is not working. Any solution?

Formula column validation is not working when below code was applied.

<script type="text/javascript">
$(document).ready(function(){

var alertSpan= $('span[role="alert"]');
alertSpan.text('My Custom Alert!');

});
</script>
Graham
  • 1,173
  • 6
  • 14
  • Are you sure about the span selector's name? Are you getting an error during the code's execution? Does a hello world statement work during this page on document ready? – Graham Sep 10 '17 at 15:28

0 Answers0