Versions Compared

Key

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

...

A hidden field stores a value that the learner cannot change. It should only be used in special cases, such as pulling information from a token and injecting it into a field. After adding a hidden component:
  1. Unless otherwise specified, "Secure value" should be selected for the "Hidden type" option.
  2. In the "Default value" field, a value may be entered that will show up on the webform results. For example, to see the last login date of the submitter in the webform results, enter this for the default value:
    User login time: [current-user:last-login:short]
  3. Click "Save component."
When a learner completes the form and submits it, the learner's last login date will be stored with the form's results.


Info
titleTip!

To collect a user's browser user agent information in a webform automatically, add the [server:http_user_agent] token to a hidden field.


...