Form Data

Forms are used to collect user input, which can then be sent to a server for processing.

All form input components use the formdata event , which is available in all modern browsers. This means, when a form is submitted, Ods form controls will automatically append their values to the FormData object that’s used to submit the form.

Serialization is just a fancy word for collecting form data. If you’re relying on standard form submissions, e.g. <form action="..."> , you can probably skip this section. However, most modern apps use the Fetch API or another library to submit forms using JavaScript. The FormData interface offers a standard way to serialize forms in the browser. You can create a FormData object from any <form> element like this.

Patient Information
Submit Reset

Form Data:

The following form includes all the various input you may use in a form.

Login Information
Patient Information
Option 1 Option 2 Option 3
Check me before submitting Option 1 Option 2 Option 3
Submit Reset

Form Data:

Search