SyntaxFix
Write A Post
Hire A Developer
Questions
You can get the form using a document.getElementById and returning the elements[] array.
Here is an example.
You can also get each field of the form and get its value using the document.getElementById function and passing in the field's id.