Get/Set Form Field Values with jQuery/JavaScript formFieldValues Plugin

jQuery.formFieldValues: get or set all of the name/value pairs from child input controls

CodePen.io jQuery FormFieldValues Plugin Demo

Query.formFieldValues jQuery Plugin Code

Test HTML Form for our Demo Below

Initialize and Set Form Fields from our JavaScript Object Demo:

The JavaScript Object we pass into our function has a Property name that matches the HTML Form field name. THe value for the corresponding Property is the value that will be set on the form when the code is ran.

Initialize and Get Form Field Values using our jQuery Plugin Demo: