Allowed Values Element

Component ID

758560

Component name

Allowed Values Element

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

770

Component created

Component changed

Component body

This module defines an allowed values form element - which will validate only if one of the predefined values is entered by a user.

It is validated via ajax if javaScript is available; on form submission if it's not.

The allowed values are hidden from the user.

An example usage of this module would be where users need to enter a product barcode in order to enter a competition.

Development sponsored by Comic Relief.