<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged theme-base</title>
<link>https://www.question2answer.org/qa/tag/theme-base</link>
<description>Powered by Question2Answer</description>
<item>
<title>Is function form_number() in qa-theme-base.php specified correctly?</title>
<link>https://www.question2answer.org/qa/66192/is-function-form_number-theme-base-php-specified-correctly</link>
<description>

&lt;p&gt;In&amp;nbsp;qa-theme-base.php the&amp;nbsp;function form_number() is specified as below. Note that type is &quot;text&quot;, not &quot;number&quot;. Is this correct? there are few differences between type text and number.&lt;/p&gt;

&lt;blockquote&gt;

&lt;table&gt;

&lt;tbody&gt;

&lt;tr&gt;

&lt;td style=&quot;vertical-align:top; white-space:pre&quot;&gt;&lt;span style=&quot;color:rgb(215, 58, 73)&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color:rgb(215, 58, 73)&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color:rgb(111, 66, 193)&quot;&gt;form_number&lt;/span&gt;($field, $style)&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt;

&lt;td style=&quot;text-align:right; vertical-align:top; white-space:nowrap; width:50px&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top; white-space:pre&quot;&gt;{&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt;

&lt;td style=&quot;text-align:right; vertical-align:top; white-space:nowrap; width:50px&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top; white-space:pre&quot;&gt;$this&lt;span style=&quot;color:rgb(215, 58, 73)&quot;&gt;-&amp;gt;&lt;/span&gt;output(&lt;span style=&quot;color:rgb(3, 47, 98)&quot;&gt;'&amp;lt;input '&lt;/span&gt; &lt;span style=&quot;color:rgb(215, 58, 73)&quot;&gt;.&lt;/span&gt; &lt;span style=&quot;color:rgb(215, 58, 73)&quot;&gt;@&lt;/span&gt;$field[&lt;span style=&quot;color:rgb(3, 47, 98)&quot;&gt;'tags'&lt;/span&gt;] &lt;span style=&quot;color:rgb(215, 58, 73)&quot;&gt;.&lt;/span&gt; &lt;span style=&quot;color:rgb(3, 47, 98)&quot;&gt;' type=&quot;text&quot; value=&quot;'&lt;/span&gt; &lt;span style=&quot;color:rgb(215, 58, 73)&quot;&gt;.&lt;/span&gt; &lt;span style=&quot;color:rgb(215, 58, 73)&quot;&gt;@&lt;/span&gt;$field[&lt;span style=&quot;color:rgb(3, 47, 98)&quot;&gt;'value'&lt;/span&gt;] &lt;span style=&quot;color:rgb(215, 58, 73)&quot;&gt;.&lt;/span&gt; &lt;span style=&quot;color:rgb(3, 47, 98)&quot;&gt;'&quot; class=&quot;qa-form-'&lt;/span&gt; &lt;span style=&quot;color:rgb(215, 58, 73)&quot;&gt;.&lt;/span&gt; $style &lt;span style=&quot;color:rgb(215, 58, 73)&quot;&gt;.&lt;/span&gt; &lt;span style=&quot;color:rgb(3, 47, 98)&quot;&gt;'-number&quot;/&amp;gt;'&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt;

&lt;td style=&quot;text-align:right; vertical-align:top; white-space:nowrap; width:50px&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top; white-space:pre&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/66192/is-function-form_number-theme-base-php-specified-correctly</guid>
<pubDate>Sun, 12 Aug 2018 18:54:41 +0000</pubDate>
</item>
</channel>
</rss>