Author: mitchell_neill
Description:
Hi.
I'm using MW 1.15.3, SMW 1.5.1.1 and SF 1.9.1.
If I add show on select functionality to my forms then the mandatory field checking stops working. The form can be saved even if any of the specified mandatory fields are not filled in. For example:
{| class="formtable"
! Title:
{{{field | Title}}} |
- | |
! First Name:
{{{field | First Name | mandatory}}} |
- | ||
! Surname:
{{{field | Surname | mandatory}}} |
} | ||
{| class="formtable"
! Ethnic Origin:
{{{field | Ethnic Origin Group | default=Not Disclosed | show on select=White=>white;Black or Black British=>black;Mixed=>mixed;Chinese=>chinese;Asian or Asian British=>asian;Other=>other}}} | |
} | ||||
<div id="white">
{| class="formtable"
!
{{{field | Ethnic Origin | input type=checkboxes | no autocomplete | property=Ethnic White}}} |
}</div> | ||||
<div id="black">
{| class="formtable"
!
{{{field | Ethnic Origin | input type=checkboxes | no autocomplete | property=Ethnic Black}}} |
}</div> | ||||
You can save the form even if first name or surname are left blank. First Name and Surname are string properties.
Any ideas what is causing this? It's a bit of a show stopper.
Many thanks
Neill.
Version: unspecified
Severity: critical