- JORGE_GARCIAAsked on November 20, 2015 at 01:14 PM
I have prepared a form with limited key strokes and characters per line. I have incorporated this limitation 'a posteriori' on my site with JS. It works perfectly. Also I have on my form a preview option for the user to change something before shipping. As the edition of the submission, before final shipment, is in JotForm and not in my site, the limitation disappears and the user can write to their hearts content. Any solution? Thanks in advance.
- JotForm SupportdavidAnswered on November 20, 2015 at 02:01 PM
I checked your page and it looks like you have embedded your form using the full source code. Doing so allowed your form to fully interact with the rest of your page. This may cause some unintended conflicts with scripts already running in your page, causing the validation to fail.
Try replacing your current embed code with the iFrame code:
This will insulate your form from the rest of your page and allow it to function the same as it does when not embedded.
If that still does not allow for the validation to work, let us know and we will be happy to have another look.
- JORGE_GARCIAAnswered on November 20, 2015 at 03:39 PM
This is the result of his proposal (iFrame). The form is cut off.
I continue in the next message.
- JORGE_GARCIAAnswered on November 20, 2015 at 03:43 PM
The source code is the only one that works properly. In it, I can embed the JS function to control the key strokes and characters. As I said in my previous message the Preview option I have installed works with submission of JotForm
and with conditionals, it not sent to the email address until the option of sending is pressed.
Look again my form
- JotForm SupportdavidAnswered on November 20, 2015 at 04:09 PM
You can set a limit to the number of characters allowed in a Text field:
Though there is no way to add your script to the form itself.