XF 2.2 hiddenval

Robert9

Well-known member
I dont like to have this checked radio-box for fileless in my resource_add_form.
So i try to delete with a template_mod.

Unfortunately i cant use this:

Code:
        <xf:if is="{$category.allow_fileless} OR ($currentType == 'fileless' AND $allowCurrentType)">
            <xf:hiddenval name="resource_type">'fileless'</xf:hiddenval>
        </xf:if>

or this

Code:
        <xf:if is="{$category.allow_fileless} OR ($currentType == 'fileless' AND $allowCurrentType)">
            <xf:hiddenval name="resource_type">'fileless'</xf:hiddenval>
        </xf:if>


But i have no idea, what is wrong. May someone know, what's wrong, please?
 
Top Bottom