Welcome Guest, Not a member yet? Register   Sign In
CI+Smarty form_validation. Please help
#1

[eluser]prashid[/eluser]
Hi,

Before posting here googled alot and searched all the threads of CI forums but couldn't find any example to achieve this. Only found this thread

http://ellislab.com/forums/viewthread/137440/#677741

I have 2 questions
1 - How to use CI form_validation in smarty template. Like showing errors.
2 - How to use language in templates for smarty.

Like in CI views we use
Code:
<?php echo lang('usernamelabel');?>
<?php echo form_error('username')?>
&lt;?php echo validation_errors('<p class="mainerror">'); ?&gt;

CI+Smarty is working fine. Now I want to implement above 2 things.

Please help


Messages In This Thread
CI+Smarty form_validation. Please help - by El Forum - 09-21-2010, 11:16 PM
CI+Smarty form_validation. Please help - by El Forum - 09-22-2010, 06:16 PM
CI+Smarty form_validation. Please help - by El Forum - 09-22-2010, 08:44 PM
CI+Smarty form_validation. Please help - by El Forum - 09-22-2010, 08:56 PM
CI+Smarty form_validation. Please help - by El Forum - 09-22-2010, 09:30 PM
CI+Smarty form_validation. Please help - by El Forum - 09-22-2010, 10:55 PM
CI+Smarty form_validation. Please help - by El Forum - 09-23-2010, 06:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB