Dear community, is it possible to make a change to the ConfiForms Field Definition for Checkbox Group Validation in order to receive additional message on your form?
In Detail:
I use a very large Form with a lot of Checkbox Groups. There are approx 20 Categories with different Checkbox choices. As it is a tasklist, all of them should be ticked. However, due to the complexity of the process, it is not possible to manage all at once so the person should be returning to the form for the period of time (sometimes one week or more) to fulfill all the tasks.
I would like the form to be able to inform the user, that not all tasks have been completed, as long as all the boxes are not ticked. This would idealy be a field on top of the form which should display "not all tasks have been completed". If all the checkboxes are ticked, the message would be "tasks completed".
Is this possible to achieve?
Thanks in advance,
Franz
You can have a formula field that checks for number of selected options in the field and if that is less that total options will produce one label, or another
Or as follows, utilizing "getUnselectedOptions" function from https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions
(assuming your checkbox group field is called yourcheckboxfield)
(IF([entry.id.getUnselectedOptions(yourcheckboxfield)]>0, "not all tasks have been completed", "tasks completed"))
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.