<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Tag: javascript - Recent Posts</title>
		<link>https://legacy.forums.gravityhelp.com/tags/javascript</link>
		<description>Gravity Support Forums Tag: javascript - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 06:03:07 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/tags/javascript" rel="self" type="application/rss+xml" />

		<item>
			<title>smmcward on "Pre Render, Multi Page, Calculations, Javascript skilled developer"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-render-multi-page-calculations-javascript-skilled-developer#post-373894</link>
			<pubDate>Wed, 10 Jul 2013 17:03:21 +0000</pubDate>
			<dc:creator>smmcward</dc:creator>
			<guid isPermaLink="false">373894@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello Developer's,&#60;/p&#62;
&#60;p&#62;I am also using Gravity Forms Product Add On as well to add additional costs/options to products on a Woocommerce site.&#60;/p&#62;
&#60;p&#62;I need on one page of a multi page form, 10 single line input text boxes with 2 radio buttons per line on the right as a choice as to what type of line it is... a repeating line or a changing line. The user fills in the text box if it is a repeating line and leaves blank if it is a changing line. Repeating lines radio buttons have a value of 0. Changing line radio buttons have a value. Here's where the javascript comes in to play:&#60;br /&#62;
No changing lines: $0.00&#60;br /&#62;
1 changing line: $3.50&#60;br /&#62;
2 changing lines: $5.50&#60;br /&#62;
3 changing lines: $7.25&#60;br /&#62;
4 changing lines: $8.75&#60;/p&#62;
&#60;p&#62;There wouldn't be more than 4 changing lines that the user would input out of the 10. I imagine you could &#34;count&#34; the total number changing lines selected and depending on that number, add the cost&#60;/p&#62;
&#60;p&#62;Now the exciting stuff... What the form above will be doing is acting as a template (per say). On the same page as this form would be a drop down with 1-10. If the user chooses, let's say 5 and clicks the &#34;next&#34; button, 5 exactly the same forms, just like the one we just created will be on the next page. This is where the Pre Render would come into play. Also, the value or cost from from the changing line radio buttons would show as well. So in this case, 5 times the number of total changing lines.&#60;/p&#62;
&#60;p&#62;If interested, I can go in to more detail via email/phone. Also, 8-9 similar types of option forms coming in the next week that I know I will need to job out as well. &#60;/p&#62;
&#60;p&#62;Name: Sean&#60;br /&#62;
Contact Email: &#60;a href=&#34;mailto:sean.mcward@seanmcward.com&#34;&#62;sean.mcward@seanmcward.com&#60;/a&#62;&#60;br /&#62;
Date needed: ASAP on this first form&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Need to set document.domain for Ajax-enabled submissions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/need-to-set-documentdomain-for-ajax-enabled-submissions#post-360236</link>
			<pubDate>Wed, 03 Jul 2013 15:08:51 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">360236@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you fill out a priority support form for me here and include WP Admin login and a link to the page where the form is on.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/priority-support/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/priority-support/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Need to set document.domain for Ajax-enabled submissions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/need-to-set-documentdomain-for-ajax-enabled-submissions#post-355645</link>
			<pubDate>Mon, 01 Jul 2013 09:59:02 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">355645@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'll see if the dev team has any ideas for you here.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Twig Interactive on "Need to set document.domain for Ajax-enabled submissions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/need-to-set-documentdomain-for-ajax-enabled-submissions#post-354168</link>
			<pubDate>Sun, 30 Jun 2013 13:55:21 +0000</pubDate>
			<dc:creator>Twig Interactive</dc:creator>
			<guid isPermaLink="false">354168@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;**Bump**&#60;/p&#62;
&#60;p&#62;Any advice on this?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Twig Interactive on "Need to set document.domain for Ajax-enabled submissions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/need-to-set-documentdomain-for-ajax-enabled-submissions#post-337141</link>
			<pubDate>Fri, 21 Jun 2013 16:44:55 +0000</pubDate>
			<dc:creator>Twig Interactive</dc:creator>
			<guid isPermaLink="false">337141@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am running a site (www.example.com) that uses iframes from a subdomain (test.example.com).&#60;/p&#62;
&#60;p&#62;In order to communicate between them (due to same-origin policy) I need to set the JavaScript variable &#60;code&#62;document.domain = &#38;#39;example.com&#38;#39;&#60;/code&#62; . This is all fine and works great.&#60;/p&#62;
&#60;p&#62;However, when Gravity Forms in introduced, the Ajax-enabled submissions fail (because presumably the Ajax code returned that gets loaded into the hidden GF iframe expects the standard &#60;a href=&#34;http://www.example.com&#34; rel=&#34;nofollow&#34;&#62;http://www.example.com&#60;/a&#62;)&#60;/p&#62;
&#60;p&#62;Sadly, browsers do NOT let you reset the document domain back to the original, once you have set it to the superdomain.&#60;/p&#62;
&#60;p&#62;Long story short: I need to be able to insert the &#60;code&#62;document.domain&#60;/code&#62; code into the HTML returned by the Ajax submission of a form. I don't see a JavaScript hook for such a thing. Is there a way to do this via a PHP hook?&#60;/p&#62;
&#60;p&#62;I know I can just turn Ajax off and it'll work, but that's not an elegant solution.&#60;/p&#62;
&#60;p&#62;Any advice would really be appreciated! Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Placeholder text a different style than typed-in text"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/placeholder-text-a-different-style-than-typed-in-text#post-332264</link>
			<pubDate>Wed, 19 Jun 2013 12:25:46 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">332264@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There isn't a way to style it in this way because your only options here are going to be to target the input or the input:focus like you mentioned.&#60;/p&#62;
&#60;p&#62;You might consider giving Gravity Perks a try which has valid HTML5 placeholder support, with JS as a backup:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://gravitywiz.com/gravity-perks/&#34; rel=&#34;nofollow&#34;&#62;http://gravitywiz.com/gravity-perks/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jbro on "Placeholder text a different style than typed-in text"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/placeholder-text-a-different-style-than-typed-in-text#post-329399</link>
			<pubDate>Mon, 17 Jun 2013 22:29:46 +0000</pubDate>
			<dc:creator>jbro</dc:creator>
			<guid isPermaLink="false">329399@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, I'm using GF with the excellent clearit hack (here: &#60;a href=&#34;http://www.gravityhelp.com/clearing-default-form-field-values-with-jquery/)&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/clearing-default-form-field-values-with-jquery/)&#60;/a&#62;. With the input:focus pseudoselector I've gotten typed-in entry text to be a different style than the default content (default content is italic and gray, typing is normal and black). &#60;/p&#62;
&#60;p&#62;The problem is, when you take focus away, the text you entered is grayed-out and the client doesn't like this. &#60;/p&#62;
&#60;p&#62;Is there any way to make text boxes that have been filled out be a different text style than default content? I'm open to re-doing the javascript implementation if necessary. &#60;/p&#62;
&#60;p&#62;Thanks in advance to anyone who can point me in the right direction! &#60;/p&#62;
&#60;p&#62;Oh here's the site (currently in pre-release): &#60;a href=&#34;http://asklegalbrains.com/&#34; rel=&#34;nofollow&#34;&#62;http://asklegalbrains.com/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
jb
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Conditional Logic with Hundreds of Options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-logic-with-hundreds-of-options#post-328607</link>
			<pubDate>Mon, 17 Jun 2013 09:19:06 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">328607@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You would have to custom code your own AJAX to do this, as it is beyond the abilities of Gravity Forms out of the box.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Zamir on "Conditional Logic with Hundreds of Options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-logic-with-hundreds-of-options#post-327958</link>
			<pubDate>Mon, 17 Jun 2013 01:48:31 +0000</pubDate>
			<dc:creator>Zamir</dc:creator>
			<guid isPermaLink="false">327958@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am making a form that is using conditional logic, and using drop-downs like:&#60;br /&#62;
* -- Select City --&#60;br /&#62;
-- and when a city is selected then a ~50-70 locations of that city drop-down shows up.&#60;br /&#62;
-- there are ~200 cites, and each city containing ~50-70 locations&#60;/p&#62;
&#60;p&#62;Then same form has something like:&#60;br /&#62;
* -- Select Maker --&#60;br /&#62;
-- user selects from drop-down HP, Dell, Sony, Acer, Asus etc,&#60;br /&#62;
-- and depending on the selected company, say Dell, a hidden drop-down shows up with something like Latitude, Inspiron, etc&#60;br /&#62;
-- then depending on the selected model, another drop-down shows up with all versions for Latitude&#60;/p&#62;
&#60;p&#62;Now if I look at the source code of the loaded form, there is a ton of HTML code with ALL the list items loading. There is a display: none property set, but otherwise the whole code will ALL the cities, all the city locations, all the companies all the models, all the versions everything is being loaded. This is making the form page load time slow.&#60;/p&#62;
&#60;p&#62;Is there a way to load only the relevant conditional items depending on the parent item selected?&#60;/p&#62;
&#60;p&#62;Like Latitude, Inspiron etc should only load if Dell is selected and so on.&#60;/p&#62;
&#60;p&#62;I _have_ to put all the options in a drop-down because I don't want user typing these things and making typing mistakes... that would mess with the search results later on.&#60;/p&#62;
&#60;p&#62;Kindly reply.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Form datepicker - zIndex error using jquery.ui.datepicker.min.js?ver=1.9.2"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-datepicker-zindex-error-using-jqueryuidatepickerminjsver192#post-309995</link>
			<pubDate>Sat, 08 Jun 2013 07:42:34 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">309995@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;This will be a conflict between the jQuery UI Datepicker 1.9.2 script and another script which is either part of the theme or another plugin, to find out which you will need to perform the &#60;a href=&#34;http://rkt.gs/testing&#34; rel=&#34;nofollow&#34;&#62;plugin/theme conflict troubleshooting steps&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Richard
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
