<if condition="$post[field5] == 'whatever'"> do something if it is set to whatever <else /> else do something else </if>