Submitted forms with Smarty framework
Posted: Fri May 13, 2011 10:07 am
I have used Smarty based framework.
I have defined variable inside controller file
$var['contact_form'] = true;
$var['contact_form_code'] = " ";
Form:
form id="contact_form" action="URL" method="post">
<p>
<input type="submit" name="contact_form1" value="Send" class="sendclass" />
How to
1. execute store posted values inside variables and
2. form can be submitted after validation is done?
I have defined variable inside controller file
$var['contact_form'] = true;
$var['contact_form_code'] = " ";
Form:
form id="contact_form" action="URL" method="post">
<p>
<input type="submit" name="contact_form1" value="Send" class="sendclass" />
How to
1. execute store posted values inside variables and
2. form can be submitted after validation is done?