Page 1 of 1

submitted forms using Smarty based framework

Posted: Mon May 16, 2011 2:20 pm
by toplisek
I have set if sentence when form is validate like:
{if $smarty.request.action == "form1"}

{nocache}
{literal}
<script type="text/javascript">
document.location='replyfile';
</script>
{/literal}
{/nocache}
{/if}

1. How to retrieve values with Smarty as fields have value in name='' ...'' as now it does not capture value in form.
2. How to send form ONLY when all fields are validated?

I have currently:
{if $smarty.request.action == "form1"}
and send button like:
<input type="submit" name="form" value="Send my messages" class="mybutton" />

How to send after validation is performed?
3. This should mean sending form when name="form1" is clicked. Is it if sentence correct set with name form1?

Application is:

http://bassistance.de/jquery-plugins/jq ... alidation/


Version 1.7.
Now is sending when I click on button but it should send values and after validation is made.
toplisek is online now Add to toplisek's Reputation Report Post Reply With Quote