Author: mitchell_neill
Description:
Hi.
I'm running MW 1.15.3, SMW 1.5.1.1 and SF 1.9.1.
When I use values= in conjunction with the show on select functionality of Semantic forms, it doesn't seem to be saving the property value.
For example.
I have in my form:
<b>Please select an ethnic group and then tick the category that best fits your ethnic origin.</b>
{| class="formtable"
! Ethnic Group:
{{{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"
! Choose:
{{{field | Origin | values=British,Irish,Any other White origin}}} |
} | ||
</div>
<div id="black">
{| class="formtable"
! Choose:
{{{field | Origin | values=Caribbean,African,Any other Black origin}}} |
} | ||
</div>
<div id="asian">
{| class="formtable"
! Choose:
{{{field | Origin | values=Indian,Pakistani,Bangladeshi,Any other Asian origin}}} |
} | ||
</div>
and in my template:
! Ethnic Origin
[[Ethnic Origin::{{{Origin|}}}]] |
In the form the show on select works and the specified values are displayed. e.g. if I select White, I then get a drop down with British, Irish and Any other White origin. I can then pick on of the values.
However, when I save, the selected value does not appear in the template and is not assigned to the property. If I then edit with form again the selection is not set. All properties are of type string.
Is this a bug?
Thanks
Neill.
Version: unspecified
Severity: major