Correctly waiting to call custom submit function until when the form validates and needs to be submitted. Now need to get jquery post wired up and working, along with troubleshooting why the rest endpoint is not working either.