Page 1 of 1

Submitted forms with Smarty framework

Posted: Fri May 13, 2011 10:07 am
by toplisek
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?

Re: Submitted forms with Smarty framework

Posted: Sun May 15, 2011 1:45 pm
by getmizanur
can you post your code