|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
conrad10781 Smarty n00b
Joined: 24 Jun 2006 Posts: 4
|
Posted: Sat Jun 24, 2006 9:36 pm Post subject: smarty tag in {validate} field |
|
|
I am using the stock SmartyValidate function with a twist.. I am passing array's into the normal statements to create the data on the fly, and all is working perfect, except a small issue I am having in the .tpl...
in the tpl in a proper {section} I have the code (amongst other code)
Code: |
{validate id="{$form_object[a].validation_name}" message="{$form_object[a].validation_message}"}</font>
|
If I take those variables outside of the {validate they print perfect... So my question is is there something in particular I have to do to put a {$smarty tag within a {validate?
By the way the above code just prints
Code: | Warning: Smarty error: validate: validator id '{Array.validation_name' is not registered. in |
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|