Esri / geoform-template-js

GeoForm is a configurable template for form based data editing of a Feature Service.
http://esri.github.io/geoform-template-js/
Apache License 2.0
67 stars 83 forks source link

Checkbox that is required to be checked #553

Open sverkerEsriSE opened 6 years ago

sverkerEsriSE commented 6 years ago

Hi! Due to the recent introduction of the GDPR, some of our customers wish to add a checkbox to their GeoForm apps. A checkbox that must be checked in order to send in the form.

Currently, we've tried with a field in the Feature Class that is of type boolean and has "cannot be null", however, since either 0 or 1 is not null, the checkbox can be either checked or unchecked, but still comply to the rule of "not null".

Currently, we recommend using a dropdown instead, but functionality to have "required to be checked" checkbox would be nice.