In this article, we explain the three steps required to build and launch a web form using Five’s rapid application development environment.
The steps are:
Last, we will map out the steps to secure a web form through logins, authentications, and permissions.
To do so, access Five, and create a new application by clicking on Applications (in the top left corner, just under the hamburger icon) >> Yellow Plus button.
To create a web form, we must first create a database that stores responses.
Next up,
Next, click on Data > Table Wizard. Five’s table wizard is a point-and-click interface for creating database table.
Here is where to find the table wizard:
For example, shown above is a table that has four fields for products, prices, quantities, and a total sum. As you can see, for the price and total field, we are expecting to store floats, or numeric values that are not an integer. For quantity, on the other hand, we are expecting integers. Last, our product field is a simple text field in our web form.
The display types reflect our choice of data type. _Float.2 indicates that we expect two decimals for our price and total fields.
Make sure to select the appropriate data and display types for the data you are dealing with.
As a recap: data types define how your database stores records. Display types define how you your data is displayed to users inside your form. Five comes with a great library of prebuilt display types, such as ratings, images, floats, or currency.
Last, save by clicking the ☑️ tick icon in the upper right corner.
We have now created a single-table MySQL database that is ready to store information from our form.
Now, let’s move on to Step 2, adding forms to our database.
Our form is done. Let’s move on to step 3: launching the web form.
To launch your web form, click on the “Deploy to Development” button in the top right corner. This opens up your app in a new browser tab.
We have now created our first prototype web form. To add more features, consider adding a theme to the web form.
Five’s form creator lets you build an online form quickly. In addition to its database modeling and form creation features, Five also lets you create different user roles with unique permissions to a form.
To add user roles or logins to your application, turn your application into a multi-user application. This automatically adds a login screen to your application.
Once users are required to login to the app, you can also add different user roles. For example, you could create one user role that can only submit forms. Another user role, on the other hand, can access a dashboard that summarizes responses from your form. To learn more about Five, visit our documentation here.