shri Posted March 22, 2015 Share Posted March 22, 2015 I have created custom forms in cms.tpl , i need to check the text fields to know if they are empty or valid. Html code runs perfectly fine but i have added javascript in the head tag which does not work in any form. Does anyone have any Idea how i can use javascript or any other option to perform validation. Also I need to make these forms spam protected. Link to comment Share on other sites More sharing options...
shri Posted March 23, 2015 Author Share Posted March 23, 2015 Well i made it work by using {literal}script here{/literal}. Still wondering how to add spam protection to it. 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