I have a problem with the validation and the focus function when sending a form. I have two dynamic forms. I created a send pdf to E-mail custom button with a click event and I used a script that I found on a blog:
var Mail = "mailto:" + Mailto + "?Subject=" + YourSubject + "&Body=" + YourMessage;
//cSubmitAs: "PDF" send the pdf as attachment
//cSubmitAs: "XML" send the pdf as xml-attachment
With these settings:
On the first form, the validation and the focusing to the first blank fields are working perfectly. I used the same script on another dynamic form and the validation and focusing are not working. I used the same script with little changes but the validation and focusing aren't working. The fields are not being focused and are not colored red. Did I miss something?