Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Hidden Field is a standard HTML Input element. Unlike Text Field, Hidden Field does not show up on the page, hidden away from the user. It is typically used to pass/set temporary or session-based information.

Image Modified

Figure 1: Screenshot highlighting a Hidden Field in sample Expenses Claim App

Screenshots in this article obtained from http://localhost:8080/jw/web/console/app/hr_expense/1/form/builder/hr_expense_new

Image Modified

Figure 2: Hidden Field Properties

NameDescription
IDElement ID (By declaring as "status", a corresponding database table column "c_status" will be created)
Default Value

Default Value when there's no existing value found.

Hash variable is accepted here. For example, you may key the following

Code Block
#currentUser.firstName# #currentUser.lastName#

to pre-populate the field with current logged in user's name.

...

Image Modified

Figure 3: Hidden Field Properties

...