Previous Section | Next Section
...
Now, we'll take a look at some business rules. We're going to add several rules to automate parts of the form. We will use the frevvo Visual Rule Builder to create the code for all but one of these rules.
...
Save and Test your form. Now, when the user selects an item, the price for that item will be displayed.
Info | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
frevvo rules also support JS custom code.
|
...
Now, the overall Grand Total is automatically calculated and updated with the Subtotal amounts as rows are filled in and added to the table. Try deleting a row in the table. Notice the Subtotal amount for that row is subtracted from the Grand Total
has frevvo has a powerful Rules engine. You can perform many dynamic actions in your form including the examples above as well as many other actions like connecting to back end systems and retrieving JSON to populate form controls. The Visual Rule Builder makes it easy to create rules to show/hide parts of the form, automatically fill in user information, make controls required or optional dynamically without writing code. For more information, refer to the Rules Examples documentation.