I am wondering if anyone knows how to limit a character count on a form (the long entry block)?
In my shop, I have a form that asks if anyone wants me to handwrite a message in their card. Right now, it's just by the honor system, but people unknowingly abuse it and write more.
Question
kindandbrave
Site URL: https://www.littleboxes.shop/cards/p/worthwhile-paper-awesome-place
Hi Circle Community!
I am wondering if anyone knows how to limit a character count on a form (the long entry block)?
In my shop, I have a form that asks if anyone wants me to handwrite a message in their card. Right now, it's just by the honor system, but people unknowingly abuse it and write more.
Any help greatly appreciate--thanks!
Link to comment
Top Posters For This Question
21
4
5
4
Popular Days
Jul 13
5
Sep 15
4
Jul 30
3
Jul 9
3
Top Posters For This Question
creedon 21 posts
WillowCo 4 posts
shrineofourladyoftheisland 5 posts
Georgiawhoknows 4 posts
Popular Days
Jul 13 2021
5 posts
Sep 15 2021
4 posts
Jul 30 2021
3 posts
Jul 9 2021
3 posts
Popular Posts
creedon
Please see Form Text Field Max Length. The dialog you show in your post is not available for easy modification (it's not on the DOM initially) so we have to use a MutationObserver to watch for th
creedon
Please give it a go again. I fixed a syntax error in the code. I've run the code locally several times now and it can work! 🙂
Tiberius
Creedon I had a similar issue and your code worked perfectly! Thanks!
Posted Images
45 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment