JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
can I populate a field with the number of characters in another.Asked by beatsahead on October 01, 2015 at 12:48 PM
On the third page of my form I ask about the name they would want, as the charge is calculated on number of letters I need to convert the characters they put into this field into numbers so they write in DANCE I calculate 5*40.
Is this possible?
number of characters another
It seems to me that you are asking if it's possible to count the number of characters entered into a field and have that multiplied by your price per letter to be totaled in another field.
Did I get that right?
I thought we had something for this using our form calculation but after attempting this a few different ways with the current tools it seems that unfortunately the only way to do this would be outside of jotform through the form's full source code and using a script to check the character count to multiply then have it sent to your other field afterwards.
If I'm able to find another way to work around that without doing so then i'll return to your thread here and let you know in another update.
Thank you for updating us on your workaround, it is a nice solution to the problem. As my colleague Kade explained above, the only seamless way to have the number of letters calculated directly from a Text Box field would be to use the source code version of your form, and manually add the script to perform this calculation on your website.
So the workaround with using separate Drop Down fields for each letter is a fine alternative if you do not wish to play with and modify the source code version of your form.
Please do let us know if you need any other assistance with your forms, and we will do out best to help.