Esri / geoform-template-js

GeoForm is a configurable template for form based data editing of a Feature Service.

Home Page:http://esri.github.io/geoform-template-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Checkbox that is required to be checked

sverkerEsriSE opened this issue · comments

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.