kingjavo
Active member
Anyone know how to add a conditional if statement inside the "submit" tag?
ORIGINAL
NEW
ORIGINAL
PHP:
<xf:submitrow submit="{{ phrase('post_thread') }}" icon="write" sticky="true">
NEW
PHP:
<xf:submitrow submit="<xf:if is='{$forum.node_id} == 116'>Create Ticket<xf:else />{{ phrase('post_thread') }}</xf:if>" icon="write" sticky="true">