<?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 Topic: Number field adding strange value automatically to form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/number-field-adding-strange-value-automatically-to-form</link>
		<description>Gravity Support Forums Topic: Number field adding strange value automatically to form</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:47:42 +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/topic/number-field-adding-strange-value-automatically-to-form" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "Number field adding strange value automatically to form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/number-field-adding-strange-value-automatically-to-form#post-16497</link>
			<pubDate>Tue, 18 Jan 2011 11:34:41 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">16497@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the extra research Chris! You are indeed correct. This is part of Chrome's support for the HTML5 number field and by disabling the &#34;Output HTML5&#34; option on the settings page ( here: &#60;a href=&#34;http://grab.by/8rBn&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/8rBn&#60;/a&#62; ) it will remove the number increment toggle.&#60;/p&#62;
&#60;p&#62;However, if you like the increment toggle and just want to avoid the weird numbers, you can use a simple bit of jQuery to set the min and max attributes for this field which will force the field to only increment between those two numbers.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
    jQuery(document).ready(function(){
        jQuery(&#38;#39;#input_5_2&#38;#39;).attr(&#38;#39;min&#38;#39;, 0).attr(&#38;#39;max&#38;#39;, 340);
    });
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This example already has the number field from your form targeted, so it is just a matter of either pasting this script block in your header.php OR adding just the javacript in between the two script tags to a javascript file that is already being loaded by your theme (usually init.js or something similar).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Number field adding strange value automatically to form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/number-field-adding-strange-value-automatically-to-form#post-16459</link>
			<pubDate>Mon, 17 Jan 2011 21:06:39 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">16459@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Using Google Chrome 8.0.552.224 on Linux, I saw this (see screenshot):&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://i.min.us/jeduZc.png&#34; rel=&#34;nofollow&#34;&#62;http://i.min.us/jeduZc.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Not sure if that is the same thing or not.  I've seen the browser try and complete fields based on previous entries used for fields with the same name, but I've never seen a number field like that with an &#34;up/down&#34; arrow thing, and never entered a scientific notation number like that (I don't think).&#60;/p&#62;
&#60;p&#62;I just tried in Firefox  and the issue is not present.  @normanm4 was the problem initially in Chrome?&#60;/p&#62;
&#60;p&#62;Maybe this is HTML5 functionality that Chrome is taking advantage of?  Since the page is XHTML 1.0 Transitional, you might want to turn of the HTML5 output, which would eliminate the number type, I think.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://diveintohtml5.org/examples/input-type-number-min-max-step.html&#34; rel=&#34;nofollow&#34;&#62;http://diveintohtml5.org/examples/input-type-number-min-max-step.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://validator.w3.org/check?uri=http://www.musicanddrill.com/contact/&#34; rel=&#34;nofollow&#34;&#62;http://validator.w3.org/check?uri=http://www.musicanddrill.com/contact/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Number field adding strange value automatically to form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/number-field-adding-strange-value-automatically-to-form#post-16449</link>
			<pubDate>Mon, 17 Jan 2011 20:02:16 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">16449@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm with Dave here. I didn't see a &#34;size of program&#34; field, and the number field I did see seems to be working normally.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Number field adding strange value automatically to form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/number-field-adding-strange-value-automatically-to-form#post-16423</link>
			<pubDate>Mon, 17 Jan 2011 12:39:11 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">16423@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Michael,&#60;/p&#62;
&#60;p&#62;I didn't follow how to recreate this issue? I looked at the form and I assume you're referring to the &#34;What is the size of group?&#34; field; however, I was unable to recreate any weirdness with the field. Could you clarify how I can see the issue?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>normanm4 on "Number field adding strange value automatically to form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/number-field-adding-strange-value-automatically-to-form#post-16412</link>
			<pubDate>Mon, 17 Jan 2011 08:32:05 +0000</pubDate>
			<dc:creator>normanm4</dc:creator>
			<guid isPermaLink="false">16412@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;http://www.musicanddrill.com/contact/&#34; rel=&#34;nofollow&#34;&#62;http://www.musicanddrill.com/contact/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;On the contact form listed above, the &#34;size of program&#34; is a number field that inserts a weird decimal value when clicking the selector next to the cell. Is this something easily fixed or does it appear to be a conflict within wordpress? &#60;/p&#62;
&#60;p&#62;Thanks everyone.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
