I have an existing form and supporting code that inserts the form data into database. The action is done with Ajax call.
JS:
function