SugarCoat Posted January 4, 2012 Share Posted January 4, 2012 Hello and happy new year everyone, I'm trying to integrate jquery validate plugin to validate the authentification form on the client side first, but whenever I start adding parameters to validate the script stops working, if I use the standard: "myForm.validate()" it works fine, but not with: "myForm.validate({myParameters});" Could it be a problem with smarty's syntax ? I'm adding my script in authentification.tpl Best regards, Link to comment Share on other sites More sharing options...
SugarCoat Posted January 4, 2012 Author Share Posted January 4, 2012 Yep it was smarty's fault, I put my javascript code between {literal} ... {/literal} tags to stop smarty from parsing that code and now it's working fine Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now