<if condition="$post['field11'] == 'No'"> <script type="text/javascript"> window.location="redirectlocation.com" </script> </if>