locked
How to trigger Sharepoint Event Reciever using javascript/jquery ? RRS feed

  • Question

  • How to trigger Sharepoint Event Reciever using javascript/jquery ?
    Monday, April 6, 2015 12:25 PM

Answers

  • First of all, why don't you use field validation instead of javascript/jQuery validation? it's easier, you can check validation rules here: https://msdn.microsoft.com/en-us/library/bb862071.aspx

    If you want to stick with javascript, you validation might be failing because while you don't write anything on the field, the field is not equal to "", the field is equal to null. change your condition to if(x==null || x==""), and test again

    • Proposed as answer by Dean_Wang Friday, May 8, 2015 8:16 AM
    • Marked as answer by star.wars Monday, May 11, 2015 4:33 AM
    Monday, April 6, 2015 4:10 PM