Liza Posted September 1, 2021 Share Posted September 1, 2021 Site URL: https://www.inspiredsm.com Hello all, Some kind soul gave me this a while back to limit the character count on a form. It's been working great for a few years, but suddenly stopped working. <span class="counter">700</span> characters remaining I'm working in FIVE 7.0 and I have this code placed in the description of the form field. It's on this page: https://www.inspiredsm.com/2021-ba-judges-registration Any ideas? Thank you for your wisdom. Link to comment
tuanphan Posted September 3, 2021 Share Posted September 3, 2021 Hi, I think the code should include both HTML (you sent above) and script code. Try double-checking all the script code, to see if you edited/or accidentally deleted it. creedon 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Liza Posted September 3, 2021 Author Share Posted September 3, 2021 16 hours ago, tuanphan said: Try double-checking all the script code, to see if you edited/or accidentally deleted it. Hi @tuanphan. Thanks for the suggestion. I checked again and that's all that's there. I checked on a previous year's form and that's all that's there as well. Maybe I did delete something by accident?? Link to comment
tuanphan Posted September 5, 2021 Share Posted September 5, 2021 Yes, you probably deleted it. I remember a friend of mine also helped code a similar feature. I'll try searching to see if I can find it again. Liza 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
tuanphan Posted September 21, 2021 Share Posted September 21, 2021 On 9/4/2021 at 1:06 AM, Liza said: Hi @tuanphan. Thanks for the suggestion. I checked again and that's all that's there. I checked on a previous year's form and that's all that's there as well. Maybe I did delete something by accident?? Hi, You try this plugin. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Liza Posted September 21, 2021 Author Share Posted September 21, 2021 9 hours ago, tuanphan said: Hi, You try this plugin. Hi @tuanphan for this. I just bought the plugin and as it turns out, it's the same as the one I have (and isn't working). One thing I noticed on Squarepaste directions was that Ajax needed to be turned off. I'm in FIVE and I don't see where/if I can turn it off, according to SS's help pages. Maybe it's on by default and I can't change that? Maybe SS changed this between the time the code worked and then when it didn't? (This would have been between summer 2020 and summer 2021.) Link to comment
paul2009 Posted September 21, 2021 Share Posted September 21, 2021 (edited) Hi @Liza I haven't taken a look at the counter yet as there are many other code snippets that have been added incorrectly to this site, and could be affecting it. Some code is inefficient, some is duplicated and outdated versions of jQuery are being loaded (1.8.3 and 2.2.0), both of which have known security vulnerabilities. I don't know if correcting these issues will resolve the specific problem you have with the counter, but I recommend that you correct these issues first as they will be affecting site performance and security. Once the code has been tidied up, you should be able to reach out to the developer of the counter plugin for support. Edited September 21, 2021 by paul2009 typo Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Liza Posted September 21, 2021 Author Share Posted September 21, 2021 35 minutes ago, paul2009 said: Some code is inefficient, some is duplicated and outdated versions of jQuery are being loaded (1.8.3 and 2.2.0), both of which have known security vulnerabilities. I just send you a message @paul2009 paul2009 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment