- KatPMAsked on May 16, 2010 at 07:07 PMI saw the previous post on this question and aytekins answer:"Copy full form source code to your web site and add maxlength to your form. Here is a description for maxlength:
You can get the full form source code by clicking on "Share" on form builder and then click on "Advanced Options".But I was wondering exactly where I would put the source code maxlength="1020" in the HTML coding. I have tried just about everywhere and haven't been able to get it to work.Any help would be greatly appreciated.
- JotForm FounderaytekinAnswered on May 17, 2010 at 06:26 AMYou should put it on the <input or <textarea field that you would like to limit. The link I posted there have some examples.
- KatPMAnswered on May 17, 2010 at 06:09 PMHi aytekin, after much frustration and research I found out that it isn't really possible to have a character limit in a text'area' without getting into Perl and that stuff (wayyyyy over my head)!So.... is there a way to have a character counter for the text area so people know how many characters they've typed?Thanks for any help, it's really appreciated.
- JotForm FounderaytekinAnswered on May 18, 2010 at 01:50 AMYes, it looks like there are many solutions for that:
- JotForm FounderaytekinAnswered on December 30, 2010 at 02:31 AM
We have just released this feature. You can now limit textarea questions by words or characters.
- organiccommAnswered on November 24, 2014 at 04:09 PM
I also would like to add this to my form! :)
How do we add this code to apply to our JotForm field?
Able to help us?
##### BEGIN ######
var text_max = 99;
$('#textarea_feedback').html(text_max + ' characters remaining');
var text_length = $('#textarea').val().length;
var text_remaining = text_max - text_length;
$('#textarea_feedback').html(text_remaining + ' characters remaining');
###### END #######