Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Character limit on form


Liza

Question

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

7 answers to this question

Recommended Posts

  • 0

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.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 0
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
  • 0

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.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 0
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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 0
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
  • 0

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 by paul2009
typo

Improve your online store with our extensions.
About: Sqsp Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Expert and founder of SF Digital, dedicated to improving websites by building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...