Ways to write if statements in DMX tags?

I want to have the if statement include an AND for the condition. Is this possible?

Do the DMX tags only understand the Ternary operator or can you write normal if statements also?

<dmx-serverconnect id="confirm" url="dmxConnect/api/Security/checkUserConfirmed.php" dmx-on:success="confirm.data.confirmed == 0 && <?php echo $_SERVER["PHP_SELF"] ?> != '/page-confirm.php' ? browser1.goto('confirm') : ''"></dmx-serverconnect>

Community Page
Last updated: