In this example we create a basic form without writing a line of code.
How We Built It
This example demonstrates how to use input elements, a dataset, and a button to capture and store user input in a database collection.
The form uses several input types:
Text inputs for the personal details
Radio button group for the class selection
Datepickers for the flight dates
Button for saving the information
All the input elements are connected to a particular field in the flightReservations collection that can be found in the Database section of the site. The connections are accomplished using the write-only Flight Reservations dataset.
The Save button is also connected to the dataset and configured to submit the values from the input elements.
Open this example in the Editor to work with the template.
Publish the site.
Learn how to work with examples in Corvid.