Simple Form

Alex (@alex)

26223

0

1

About This Space

Simple Form application


Last updated on December 30, 2020

Public Permissions:   View   Open/Fork   Run   Comment  

Simple Form Template

This template uses a simple form to collect information into a database table.

Screenshot

Using the Visual Designer

The form can be created in a drag-and-drop point-and-click manner, without writing any code, simply by the using the Visual Designer Tool. Elements that relate to specific database columns can be dragged to the Designer canvas directly from the Database Tab.

Defining Routines

To specify how form information is saved, a routine must be created. This can be done by right-clicking an element, like the Submit Request button, and selecting the "Build Logic..." menu option.

A routine is a series of steps.

Screenshot

This application only has one routine, but it's possible to create multiple routines that are triggered by different events within an application.

Defining Steps

Each step is created by answering some questions.

Screenshot

You can also write custom JavaScript code to define your steps. While this is not necessary in most cases, it gives you the ability to define custom or advanced functionality for your application.

Using Validation and Database-driven Choices

Some application functionality can be specified when creating widgets in the Visual Designer, rather than by using routines. For example, in the Properties Window, you can mark fields required, or you can specify other validation requirements, such as a field must be in the form of an email address.

Your widgets can also be tied to data from database tables. For example, the Type of Problem dropdown reads its choices from a database. This is configured by using the Database-driven Selection properties on the dropdown widget.

Be the first to comment:      

Comments

Write Preview Markdown: bold italic code link
Post

More Spaces By Alex (@alex)

Filters:

Popular Recent

The second dropdown is dependent on the first

30106

0

0

Demo app to use EJS to display information from a database

48896

0

0

Demo app to use EJS to display information from a database

48953

0

0

Demo app to use EJS to display information from a database

36594

0

0

Demo app to use EJS to display information from a database

37185

0

0

Demo app to use EJS to display information from a database

31942

0

0

Displaying information in grids is fundamental to developing applications. This demo application displays a list of products in a grid.

53958

0

0

ejs leading & trailing spaces

40112

0

1

48031

0

0

For developers to test latest changes on spaces server.

26519

0

0

37353

0

0

Collects information from an online form into a database

36264

0

0