Basic Form

Create a basic form without writing a line of code.

Code Level

Beginner

Published

 

Example Description

In this example we create a basic form without writing a line of code.

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

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.

APIs We Used

Related Articles

Related Examples

Add to Cart Gallery

Let customers to add products to their cart

INTERMEDIATE

Hide and Show Elements

Hide and show elements in response to user interactions

BEGGINER

Hide and Show Elements

Hide and show elements in response to user interactions

BEGGINER