Reactive forms are a powerful new way of developing web apps. Forms quickly react to any user interaction, unlike server-side options. User experience is smoother because the pressure on the backend servers decreases.

1 Disable fields

Non Required fields option allows to define the criteria to set the field as optional or required, overriding the physical definition of the column on the table.

This option is defined in the attributes of the columns. For further information see Data modeling/Column options.

2 Hide fields

The field visibility condition allows showing or hiding the field. It is executed at the server level. That is why it supports UEL/SQL notation.

This option is defined in the attributes of the columns. For further information see Data modeling/Column options.

3 Reactive values

It allows calculating the value of a column automatically, depending on the value of other columns of the table. The calculated value is determined by the execution of a UEL Expression. Furthermore, this value is recalculated immediately when any of the values involved in the expression changes.

In this example below, the reactive value equals the sum of values 1 and 2, so the reactive value will change at the time that these values vary.

With the intention of removing any Javascript code from JRep Object used for business logic, this expression is intended to replace the use of the user function setFieldValue, as far as possible.

This option is defined in the attributes of the columns. For further information see Data modeling/Column options.

4 Box Subscriptions

This option is defined in the form.

Through this option, the form boxes subscribe to events from other boxes or from the form itself. That is, the boxes are recharged when certain events are triggered. For example, transactions ocurred in other boxes or when interacting with the form itself.