<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged elements</title>
<link>https://www.question2answer.org/qa/tag/elements</link>
<description>Powered by Question2Answer</description>
<item>
<title>How is the &quot;form&quot; array parsed?</title>
<link>https://www.question2answer.org/qa/9122/how-is-the-form-array-parsed</link>
<description>

&lt;p&gt;
	Hi,&lt;/p&gt;


&lt;p&gt;
	I am building a Page for my Plugin, which requires taking some inputs from the user and processing them. I copied the example plugin folder, provided along with q2a, and started changing code of that. &lt;strong&gt;There is a form on that page&lt;/strong&gt;, with a &lt;strong&gt;textbox&lt;/strong&gt;, a &lt;strong&gt;hidden&lt;/strong&gt; input element, and a &lt;strong&gt;button&lt;/strong&gt;. All are done by adding arrays with key 'button, 'hidden' and 'fields' (in fact in the example, 'fileds' act as a key for 'textboxes').&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	I would like to add some other input types, say a Dropdown Menu to the Form. For this I must understand, how (and where) the &quot;form&quot; array is parsed, and which keys (like &quot;button&quot; and &quot;hidden&quot;) are interpreted correctly by q2a.&lt;/p&gt;


&lt;p&gt;
	Can anybody tell me, where I can find some documentation for that, or guide me, how to go about doing this?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/9122/how-is-the-form-array-parsed</guid>
<pubDate>Wed, 07 Sep 2011 07:40:19 +0000</pubDate>
</item>
</channel>
</rss>