JoyFreak Well-known member Feb 2, 2023 #1 As title reads. I want to use conditionals to check if the boolean style property check box is disabled
As title reads. I want to use conditionals to check if the boolean style property check box is disabled
Paul B XenForo moderator Staff member Feb 2, 2023 #2 <xf:if is="property('name') == 'whatever'"> <xf:if is="property('name')"> HTML: <xf:if is="!{{ property('name') }}"> No thing </xf:if> HTML: <xf:if is="{{ property('name') }}"> Thing <xf:else /> Other thing </xf:if> Upvote 0 Downvote
<xf:if is="property('name') == 'whatever'"> <xf:if is="property('name')"> HTML: <xf:if is="!{{ property('name') }}"> No thing </xf:if> HTML: <xf:if is="{{ property('name') }}"> Thing <xf:else /> Other thing </xf:if>
JoyFreak Well-known member Feb 2, 2023 #3 Brogan said: <xf:if is="property('name') == 'whatever'"> <xf:if is="property('name')"> HTML: <xf:if is="!{{ property('name') }}"> No thing </xf:if> HTML: <xf:if is="{{ property('name') }}"> Thing <xf:else /> Other thing </xf:if> Click to expand... Thank you! Upvote 0 Downvote
Brogan said: <xf:if is="property('name') == 'whatever'"> <xf:if is="property('name')"> HTML: <xf:if is="!{{ property('name') }}"> No thing </xf:if> HTML: <xf:if is="{{ property('name') }}"> Thing <xf:else /> Other thing </xf:if> Click to expand... Thank you!