<?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>Appnitro Software Forums Topic: Hidden Fields not being populated</title>
<link>http://www.appnitro.com/forums/</link>
<description>Appnitro Software Forums Topic: Hidden Fields not being populated</description>
<language>en</language>
<pubDate>Fri, 10 Sep 2010 20:33:35 +0000</pubDate>

<item>
<title>yuniar on "Hidden Fields not being populated"</title>
<link>http://www.appnitro.com/forums/topic/hidden-fields-not-being-populated#post-8819</link>
<pubDate>Wed, 03 Mar 2010 09:32:23 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">8819@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I see that you've submitted a ticket. We'll reply there.
&#60;/p&#62;</description>
</item>
<item>
<title>vern1271 on "Hidden Fields not being populated"</title>
<link>http://www.appnitro.com/forums/topic/hidden-fields-not-being-populated#post-8815</link>
<pubDate>Tue, 02 Mar 2010 21:26:22 +0000</pubDate>
<dc:creator>vern1271</dc:creator>
<guid isPermaLink="false">8815@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;OK, tried that... still not working.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Hidden Fields not being populated"</title>
<link>http://www.appnitro.com/forums/topic/hidden-fields-not-being-populated#post-8728</link>
<pubDate>Fri, 19 Feb 2010 13:03:37 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">8728@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;If you are using the advanced code, make sure to put your code above inside &#34;display_integrated_form()&#34; function.&#60;/p&#62;
&#60;p&#62;The code should be placed around line 2021.
&#60;/p&#62;</description>
</item>
<item>
<title>vern1271 on "Hidden Fields not being populated"</title>
<link>http://www.appnitro.com/forums/topic/hidden-fields-not-being-populated#post-8716</link>
<pubDate>Wed, 17 Feb 2010 22:03:44 +0000</pubDate>
<dc:creator>vern1271</dc:creator>
<guid isPermaLink="false">8716@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I'm using the advanced. Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Hidden Fields not being populated"</title>
<link>http://www.appnitro.com/forums/topic/hidden-fields-not-being-populated#post-8682</link>
<pubDate>Mon, 15 Feb 2010 15:51:20 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">8682@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Sorry for delayed response!&#60;/p&#62;
&#60;p&#62;Are you using the standard form code or advanced?
&#60;/p&#62;</description>
</item>
<item>
<title>vern1271 on "Hidden Fields not being populated"</title>
<link>http://www.appnitro.com/forums/topic/hidden-fields-not-being-populated#post-8675</link>
<pubDate>Sat, 13 Feb 2010 00:29:54 +0000</pubDate>
<dc:creator>vern1271</dc:creator>
<guid isPermaLink="false">8675@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I have 2 Hidden fields on a form. One to capture the referrer and the other for the page url...&#60;/p&#62;
&#60;p&#62;I put this in viewfunctions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//Form 9
            if($form_id == 16 &#38;#38;&#38;#38; $row[&#38;#39;element_id&#38;#39;] == 6){
                $element[$j]-&#38;gt;default_value = $HTTP_SERVER_VARS[&#38;quot;HTTP_REFERER&#38;quot;];
            }
            if($form_id == 16 &#38;#38;&#38;#38; $row[&#38;#39;element_id&#38;#39;] == 7){
                $element[$j]-&#38;gt;default_value = $HTTP_SERVER_VARS[&#38;#39;REQUEST_URI&#38;#39;];
            }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but when I view the source on the front I see this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;li id=&#38;quot;li_6&#38;quot; &#38;gt;
  &#38;lt;label class=&#38;quot;description&#38;quot; for=&#38;quot;element_6&#38;quot;&#38;gt; &#38;lt;/label&#38;gt;
  &#38;lt;div&#38;gt;
  &#38;lt;input id=&#38;quot;element_6&#38;quot; name=&#38;quot;element_6&#38;quot; class=&#38;quot;element text small&#38;quot; type=&#38;quot;text&#38;quot; value=&#38;quot;&#38;quot; /&#38;gt;
  &#38;lt;/div&#38;gt;
  &#38;lt;/li&#38;gt;
   &#38;lt;li id=&#38;quot;li_7&#38;quot; &#38;gt;
  &#38;lt;label class=&#38;quot;description&#38;quot; for=&#38;quot;element_7&#38;quot;&#38;gt; &#38;lt;/label&#38;gt;
   &#38;lt;div&#38;gt;
  &#38;lt;input id=&#38;quot;element_7&#38;quot; name=&#38;quot;element_7&#38;quot; class=&#38;quot;element text small&#38;quot; type=&#38;quot;text&#38;quot; value=&#38;quot;&#38;quot; /&#38;gt;
  &#38;lt;/div&#38;gt;
   &#38;lt;/li&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Now I know the $HTTP_SERVER_VARS[&#34;HTTP_REFERER&#34;]; should be empty since i hit the page stright on, but I'm not getting the $HTTP_SERVER_VARS['REQUEST_URI'];&#60;/p&#62;
&#60;p&#62;I've tried using &#38;lt;?php echo $HTTP_SERVER_VARS['REQUEST_URI']; ?&#38;gt; on a blank page and it works that way.&#60;/p&#62;
&#60;p&#62;What am I doing wrong?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
