<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Removing Carriage Returns/Spacing from Text/Paragraph Fields??</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Removing Carriage Returns/Spacing from Text/Paragraph Fields??</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 21:03:24 +0000</pubDate>

<item>
<title>agdm619 on "Removing Carriage Returns/Spacing from Text/Paragraph Fields??"</title>
<link>https://www.machform.com/forums/topic/removing-carriage-returnsspacing-from-textparagraph-fields#post-24594</link>
<pubDate>Sun, 20 Dec 2015 04:55:23 +0000</pubDate>
<dc:creator>agdm619</dc:creator>
<guid isPermaLink="false">24594@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;This seems to work great other than if the data is pasted from another source (i.e. excel). Then it doesn't seem to remove the extra lines. anyway to force this?
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Removing Carriage Returns/Spacing from Text/Paragraph Fields??"</title>
<link>https://www.machform.com/forums/topic/removing-carriage-returnsspacing-from-textparagraph-fields#post-24579</link>
<pubDate>Wed, 16 Dec 2015 09:49:45 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">24579@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Try this, create a file with the name custom.js (or any name actually), put the file under your machform folder and paste this code into the file:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$(function(){
	$(&#38;#39;textarea.textarea&#38;#39;).bind(&#38;#39;keyup mouseout mousemove change&#38;#39;, function() {
		$(this).val($(this).val().replace(&#38;quot;\n\n&#38;quot;, &#38;#39;&#38;#39;));
	});
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then go to your form properties tab, click &#34;show more options&#34; and turn on &#34;Load Custom Javascript File&#34;&#60;br /&#62;
You'll be prompted to enter the URL of your custom javascript file. Put the URL of the above file there.&#60;/p&#62;
&#60;p&#62;In this example, the URL should be something like:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#60;a href=&#34;https://www.genprod.com/onlineforms/custom.js&#34; rel=&#34;nofollow&#34;&#62;https://www.genprod.com/onlineforms/custom.js&#60;/a&#62;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The code above should automatically remove excess carriage returns.
&#60;/p&#62;</description>
</item>
<item>
<title>agdm619 on "Removing Carriage Returns/Spacing from Text/Paragraph Fields??"</title>
<link>https://www.machform.com/forums/topic/removing-carriage-returnsspacing-from-textparagraph-fields#post-24533</link>
<pubDate>Thu, 10 Dec 2015 01:06:03 +0000</pubDate>
<dc:creator>agdm619</dc:creator>
<guid isPermaLink="false">24533@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;We have users using a lot of returns or enters when filling out our forms. Is there a way to use a Java Script to remove the carriage returns or enters when users utilize them? &#60;/p&#62;
&#60;p&#62;The main problem we are seeing is, some people are copy and pasting information that has built in formatting into these fields that includes tons of spacing between lines of information. See example -  &#60;a href=&#34;https://www.genprod.com/onlineforms/downloads/returns.jpg&#34; rel=&#34;nofollow&#34;&#62;https://www.genprod.com/onlineforms/downloads/returns.jpg&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This is causing in most cases our emails to be multiple pages long a causing pages and pages of PDF's that could be condensed to one page easily by removing the returns in the text fields!&#60;/p&#62;
&#60;p&#62;I have found some information online about using Java Scripts to remove carriage returns. I've tried some of these options, but I guess my experience is not up to the level needed to get it to work. &#60;/p&#62;
&#60;p&#62;HELP!&#60;br /&#62;
Aaron
&#60;/p&#62;</description>
</item>

</channel>
</rss>
