MyBB Hacks

Full Version: Template Conditionals on newthread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How i can set a template condtion based on input value of xthread field?

something like that naturally don't work

Code:
<td>test4</td>
<td>{$tfinput['test4']} </td>       
</tr>
<if $tfinput['test4']!=X then>
blablabla
</if>

this isnt a conditional, but it might work:  http://mybbhacks.zingaburga.com/showthread.php?tid=5138
Leefish tnx for your answer Biggrin

but is not what i need Tongue

what i need is a  template condition that check the value in multiple input type....
if a value is equal to "X" with javascript&ccs i hide the submit button

i know how to do all this with javascript or jquery but i want to check with a conditional if is possible Frown
I do know that if you pay attention to the ordering of custom fields you can make one field depend on another?
Reference URL's