I have word counting for one of my comment fields. The javascript works using the name attribute from the form tag. It works fine outside of ChronoForms but since in ChronoForms HTML code is added without the form tags, the javascript word counter is not working. I have added the javascript in the "Form Javascript" area of the Form Code Tab and tried adding the "name" attribute under the "Form Tag Attachment" in the General Tab.
I'm not sure how to get this to work since the form tags aren't in the html. Any suggestions?
Thanks
Adriana
I'm not sure how to get this to work since the form tags aren't in the html. Any suggestions?
Thanks
Adriana
Hi Adriana,
in your JS code change any form name data to
Regards
Max
in your JS code change any form name data to
ChronoContact_+form_name_in_chronoforms
and this will do it!Regards
Max
Thanks, you really helped. I changed only one thing and wrote it as "ChronoContact.myformname" with a period rather than an underscore and now it's working fine. I love this component!
Adriana
Adriana
Hi Adriana,
Great, but it should work with an underscore!!
Max
Great, but it should work with an underscore!!
Max
This topic is locked and no more replies can be posted.