I am not sure if what I see is incorrect behaviour or behaviour that I did not expect..
I followed the extended users guide and implemented all succesfully. Now I have created an extra field on editable template index.php (users) of type "checkbox". The field expresses if the user wants to receive the club's newsletter and is selected by default. But it should be deselectable. If I deselect it and save, it is always switched on again. Is this expected behaviour?
This is my template definition (users/index.php)
I followed the extended users guide and implemented all succesfully. Now I have created an extra field on editable template index.php (users) of type "checkbox". The field expresses if the user wants to receive the club's newsletter and is selected by default. But it should be deselectable. If I deselect it and save, it is always switched on again. Is this expected behaviour?
This is my template definition (users/index.php)
- Code: Select all
<cms:template clonable='1' title='Users' hidden='1' order='90' >
<!-- If additional fields are required for users, they can be defined here in the usual manner. -->
<cms:editable name="newsletter"
label="Send newsletter"
type="checkbox"
opt_values="Club news"
opt_selected="Club news" />
</cms:template>