Basic Form

Forms

Create a basic form without writing a line of code.

Play with the example below to see what you can do:

Open this example as a template so you can see how everything works in the Editor. 

​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.

Next Steps

  1. Open this example in the Editor to work with the template.

  2. Publish the site.

  3. Learn how to work with examples in Corvid.

Example Code

arrow&v

Example Demonstrates

Submit Button

Dataset

Input Elements

More Resources

To start using Corvid:  Go to the Wix Editor > Dev Mode > Turn on Dev Mode