What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
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.
Spaces appear in text inserted into default value in text box - how to remove?Asked by SaveScottishSeas on August 19, 2013 at 08:14 AM
Hello. You can see from this form that jotform inserts a tab space after about 70 words or approx 500 characters when i have a large amount of text in the default value field. These tab-spaces are not in the text when i type or paste them into the default value area. http://form.jotformpro.com/form/32303578006953 Is there anyway to stop this happening?
I was able to recreate the same behavior with the text area field, i'll escalate this issue to our second level support, and ask them if there is any way to control the format of that text. Meanwhile you have to option to show your text in a better way:
If you need just show the text and not allowing the user to edit it you can use the Free Text(HTML) field where you can copy the text and give it the right format to be showed.
If you need that the default text can be edited by the user you can change the editor mode to Rich Text of the text area.
Hope it helps
please let us know if you need further assistance
thanks for getting back to me. Unfortunately those solutions will not be relevant for me. I need the default text to be editable (so the html workaround is no good) and the Rich Text editor does not seem to actually make any difference to the spacing issue. I am hoping to use this form as a way to solicit responses to a Government consultation and so need it to look professional and be styled correctly, so any advice/fix is greatly appreciated, otherwise i will need to explore other options...
It looks like that the Rich Text Editor is fixing the spacing issue. Please kindly check the following form:
Note, the Rich Text Editor is currently working only for direct form URL, iFrame and Pop-up. This is going to be fixed for other embedding options, but for now you can try to stick with the iFrame version.
Please give it a try and let us know if you need any further assistance.
OK thanks again. But unfortunately, with Rich Text editor I dont' seem to be able to actually insert new paragraphs or spaces in the default value of a text field. So while the random spaces have disappeared, i now - even with the iframe solution - am still unable to display the text with paragraphs in the right places. Any further help super-appreciated!
Hi the initial query that i lodged here was that "jotform inserts a tab space after about 70 words or approx 500 characters when i have a large amount of text in the default value field. These tab-spaces are not in the text when i type or paste them into the default value area."
you mentioned that you would escalate this to second-level support; so i am now wondering if you guys have had any joy with fixing this? I have (as you may have seen) progressed the Rich Text editor work-around suggested in this thread, but this has created new problems of its own (for which i have lodged separate tickets/threads).
I would now be keen to revert to a plain text editor for the text box if the spacing issue has been resolved. presumably the default text i am inputting is too big? somehow, jotform's database inserts spacing into the text at regular intervals.
Any help really v much appreciated. i seem so close to sorting this out, yet so far... it will make a big difference to me if this can be sorted asap. we are relying on it for some important campaigns work.
Thanks for contacting us.
Unfortunately we have not received any update from our development team yet. However, it has been asigned to one of our developer, so, you could receive some update via this thread at any moment. I will be looking for a possible workaround during the day and if I'm able to find one I will get back to you later. However, I cannot promise you anything.
thanks for getting back to me and thanks for brainstorming a work-around. if you could help solve this issue in time, it would mean a great deal to me.
You can use the source codes of the form. Example output: https://shots.jotform.com/welvin/pages/loremipsum-SaveScottishSeas.html
1. Get your form source codes (How to Get Form Source Codes)
2. Paste the codes to any text editors you have (notepad)
3. Modify the text to remove the indent
4. Save the codes as HTML file
5. Upload the file to your server
6. Embed your form in iframe just like how our iframe method works. Below codes:
<iframe id="JotFormIFrame" allowtransparency="true" src="https://shots.jotform.com/welvin/pages/loremipsum-SaveScottishSeas.html" frameborder="0" style="width:100%; height:465px; border:none;" scrolling="no"></iframe>
Change "https://shots.jotform.com/welvin/pages/loremipsum-SaveScottishSeas.html" to the actual modified codes HTML file uploaded to your server.
The problem should be fixed now. Please confirm that tab spaces are no longer auto-inserted when long default text is used in regular textareas, so that we can close the ticket.