Umbraco show/hide conditions for submit button doesn't work
The latest Umbraco versions have the functionality to show or hide submit buttons using conditions. But for my case it doesn't work. For other field I have fieldsets and while iterating over fieldsets I do this
var hideFieldWhenRendering = f.HasCondition && f.ConditionActionType == FieldConditionActionType.Show;
and add class on the div like this @{ if (hideFieldWhenRendering) { } }
But submit buttons is not a part of fieldset and I don't find a way to check attribute HasCondition for it. My html for submit looks like this
Umbraco show/hide conditions for submit button doesn't work
The latest Umbraco versions have the functionality to show or hide submit buttons using conditions. But for my case it doesn't work. For other field I have fieldsets and while iterating over fieldsets I do this
and add class on the div like this @{ if (hideFieldWhenRendering) { } }
But submit buttons is not a part of fieldset and I don't find a way to check attribute HasCondition for it. My html for submit looks like this
is working on a reply...