If the form picker data type is selected is it possible to reset it so NO form is chosen if a user has previously selected a form? i.e. the user chooses form X to show on the page but subsequently decides not to show any form. At the moment there is no way to remove the choice.
Ok, so i did i dirty hack, since it doesnt seem to be a matter of big importance to others.
in the /App_plugins/Contour/formpicker.html i changed it like this
<div ng-controller="Contour.FormPickerController">
<label style="margin-bottom:10px;">
<input ng-model="model.value" value="" type="radio" name="form">
No form
<small>select if you dont want to show a form</small>
</label>
<div class="radio" ng-repeat="form in forms">
<label>
<input ng-model="model.value" value="{{form.Id}}" type="radio" name="form">
{{form.Name}}
<small>{{form.Fields}}</small>
</label>
</div>
</div>
and then in my view i do a check if the form property IsNullOrEmpty
Pretty sure it could be done a lot more elegant, but im not a coder...
I have made a issue on the issue tracker on this, that it´s not possible to unselect a form, it you have selected on using the form picker on a document type. You can vote for the issue here: http://issues.umbraco.org/issue/CON-616
Reset form picker so no form is selected
If the form picker data type is selected is it possible to reset it so NO form is chosen if a user has previously selected a form? i.e. the user chooses form X to show on the page but subsequently decides not to show any form. At the moment there is no way to remove the choice.
Thanks
+1 on this!
How do we deselect the form?
Ok, so i did i dirty hack, since it doesnt seem to be a matter of big importance to others.
in the /App_plugins/Contour/formpicker.html i changed it like this
and then in my view i do a check if the form property IsNullOrEmpty
Pretty sure it could be done a lot more elegant, but im not a coder...
I've done it with a checkbox property on the doc type "no form" which I then check in the code.
Oddly this problem only happens in recent versions of Contour. In an older version I have there is a "delete" option.
Hi Dan and Claus,
I have made a issue on the issue tracker on this, that it´s not possible to unselect a form, it you have selected on using the form picker on a document type. You can vote for the issue here: http://issues.umbraco.org/issue/CON-616
/Dennis
Comment author was deleted
thanks for reporting, fixed and coming in v3.0.24 and v4
is working on a reply...