I
IramK
Guest
Hello Harsha, I managed to find an issue. Basically I was closing the window when the below mentioned code runs so it doesn't really allow the server validation (i.e. triggers to be checked before performing the window close). Is it possible for me to perform my window close once all the triggers have ran and the form has submitted successfully? Kindly let me know. Code that runs on that new page's form submission: $("#theForm").submit(function() { var formDetails = rb.newui.page.PageContext.getFormDetails(rb.newui.util.EDIT_FORM_NAME); var validator = formDetails.getKendoValidator(); if (validator && validator.validate()) { //validation true... window.opener.HandlePopupResult($("#name").val()); // need this to happen after all the triggers are checked window.close(); // need this to happen after all the triggers are checked }
Continue reading...
Continue reading...