Hi. In the Submit button, I need it to run a javascript (js) function that checks a hidden field for a value, then if there is something there, can save and close the form, if not display an alert. It needs to be a combination of a free button with a link that calls a js function, and a submit button that saves and closes if the "if" statement in the js code is good. Also, if the required fields are not filled in, then it will display the tool tips and make the user fill in the fields - this is what the submit button does.