So I have a dialog that opens from a link on a page. It opens the Upload.aspx and I just simply use the GUID to ensure what library it goes to. After the document is uploaded, the standard edit dialog opens so the user can add metadata values and that is fine.
Only thing is, some of these fields are required because I have workflows attached that are dependant on some of these values. Saying they are required is fine, but if a user just closes the edit form dialog, i am stuck with regard to firing my work flow. Yeah I can check all the values with a workflow and if they are not there, create one to email the user right back and tell them it can't be processed until they correct the situation, but my question (after all this rant...apologies): is there some way I can override the close/cancel on that edit form with javascript/jquery and add some validation to prevent this from happening right away? And of course, the beginner standard, how?
Thanks as always guys; always appreciated!