Easy Forms 1.8.0
Easy Forms version 1.8.0 introduces several new features:
Pre-populated Fields
Pre-populate Current User Email
When adding an input of type “Email” to a form there is a new checkbox, “Pre-fill with user’s email” that allows you to pre-populate the input with the currently logged in user’s email:
The pre-populated input can be edited by the user to change the value before they submit the form but it will be pre-populated with their email address.
Pre-populate Current User Full Name
When adding an input of type “Text” to a form there is a new checkbox, “Pre-fill with user full name” that allows you to pre-populate the input with the currently logged in user’s full name:
Pre-populate Current Date
When adding an input of type “Date” to a form there is a new checkbox, “Pre-fill with the current date in the user time zone” that allows you to pre-populate the input with the current date:
Pre-Populate Current Time
When adding an input of type “Time” to a form there is a new checkbox, “Pre-fill with the current time in the user time zone” that allows you to pre-populate the input with the current time:
User and Group Fields
Fields for Users and Groups have been added. If you add a field of type “User” or “Group” you can specify a selection type of “Single” or “Multiple” and the form will render an input that is a user/group chooser that populates the input with username/groupname.
Custom Input Validation
Fields of type “Text” now allow configuration of custom validation using a regular expression when “Custom validation with regular expressions” is enabled in the admin configuration tool:
When you add a Text field you can configure the custom validation:
and when users fill out the form the validation will be performed: