Hi,
I solved my validation issue!
Now I have a problem, I want validate only when user clicks "Save & Close" button. If there is repeated fields, when user clicks on button I want to show a message saying what is wrong and maintains user in same place, like when I have a required field that is not filled (SEBLOD makes this for required fields). How can I say to form that the submit button works only if validation returns true?
What I need is something like <button onclick="myFunction()">Save & Close</button>, where saving depends on myFunction() returns true or false. How can (where) I change button click event?
Thanks and I apologize for the amount of questions