Loading...

We're setting up your new app...

Template

Forms On Rails 2 - Nav Button

How To Let The User Pick Where To Go

Industry: n/a
Function:
The purpose of this app is to demonstrate how you can implement a (User Selected) Forced Form Flow. This is the most common type of forced form flow, one where you put the power of where we're going next into the hands of the actual person using the app. - If they want to add a comment, they can select that option - If they wish to add another comment after that, they select that option This is a great way in which we can allow our users a variety of navigation options when they're finished with whatever task they're doing, while maintaining a level of control over things.
Loading...

How we built this app

Setting up a (User Selected) Forced Form Flow is quite straight forward, and consists of 3 elements: 1) The Nav_Button column 2) The navigation actions 3) The auto-save for the form ----------------------------------------------------------------- HOW TO SET THINGS UP ----------------------------------------------------------------- 1) CREATE A NEW COLUMN - Name: Nav_Button - Type: Enum - Show If: Context("ViewType") = "Form" - Required If: Context("ViewType") = "Form" - Reset If: and(IsNotBlank([_this]), Context("ViewType") <> "Form") 2) CREATE THE ACTIONS - You need one action for the form save event; this will hold all the other conditional actions. - You need one conditional action for each nav option you wish to provide; these actions must be mutually exclusive, and have a condition formula tied to one of the options for the [Nav_Button] column. - Put each of these actions in the group action, this way when you run the save action - all the conditional actions check and see if they need to run, and if they do they fire off taking the user to wherever. 3) Put the group action inside the FORM'S "SAVE EVENT" and turn on auto-save.
This is a preview of the data sets used in the app.

Data

This is a high-level model of both the data entities and the UI elements in the app.
Loading...
Start for free