<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged extra-field</title>
<link>https://www.question2answer.org/qa/tag/extra-field</link>
<description>Powered by Question2Answer</description>
<item>
<title>&lt;script&gt; tags are not sanitized in extra question field?</title>
<link>https://www.question2answer.org/qa/85438/script-tags-are-not-sanitized-in-extra-question-field</link>
<description>Just to bring this to your awareness that Q2A does not sanitize the extra field input.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script&amp;gt; tags and other harmful tags may still exist in your database.&lt;br /&gt;
&lt;br /&gt;
If you are trying to display the content of this extra field, for example, you want to display it on question lists, or in a widget, you may accidentally execute those scripts.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/85438/script-tags-are-not-sanitized-in-extra-question-field</guid>
<pubDate>Mon, 29 Jun 2020 18:30:18 +0000</pubDate>
</item>
<item>
<title>How to change the input type of Question extra field?</title>
<link>https://www.question2answer.org/qa/85420/how-to-change-the-input-type-of-question-extra-field</link>
<description>

&lt;p&gt;From the text input into radio, for example.&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;Input text&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=10152395980412061673&quot; style=&quot;height:268px; width:600px&quot;&gt;&lt;/p&gt;

&lt;p&gt;Like this&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;input radio&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=15070015688819688049&quot; style=&quot;height:268px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/85420/how-to-change-the-input-type-of-question-extra-field</guid>
<pubDate>Mon, 29 Jun 2020 13:23:28 +0000</pubDate>
</item>
<item>
<title>Is it a possible remove this space when there is no more information about question?</title>
<link>https://www.question2answer.org/qa/76334/possible-remove-this-space-there-information-about-question</link>
<description>

&lt;p&gt;I want to remove this space. Is it possible?&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=4575433794160490820&quot; style=&quot;height:1066px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/76334/possible-remove-this-space-there-information-about-question</guid>
<pubDate>Mon, 08 Jul 2019 08:37:11 +0000</pubDate>
</item>
<item>
<title>How to show extra field content in search query (results) ? Thanks</title>
<link>https://www.question2answer.org/qa/63628/how-to-show-extra-field-content-search-query-results-thanks</link>
<description>

&lt;p&gt;I want to show content of extra field in search results.&lt;/p&gt;

&lt;p&gt;How can i update search query to include content of extra field&amp;nbsp; in search results.&lt;/p&gt;

&lt;p&gt;Thanks for your help.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=3956534645600835956&quot; style=&quot;height:543px; width:600px&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/63628/how-to-show-extra-field-content-search-query-results-thanks</guid>
<pubDate>Fri, 20 Apr 2018 15:26:27 +0000</pubDate>
</item>
<item>
<title>More than one custom field ?</title>
<link>https://www.question2answer.org/qa/48625/more-than-one-custom-field</link>
<description>How can i add more information to qa_postmetas table and then read like extra field function ?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/48625/more-than-one-custom-field</guid>
<pubDate>Mon, 26 Oct 2015 19:02:25 +0000</pubDate>
</item>
<item>
<title>Q2A BUG ? $extravalue seems not working while using external app-post-create.php</title>
<link>https://www.question2answer.org/qa/48000/%24extravalue-seems-working-while-using-external-post-create</link>
<description>

&lt;p&gt;I'm using this example&amp;nbsp;&lt;a href=&quot;http://www.question2answer.org/external.php&quot; rel=&quot;nofollow&quot;&gt;http://www.question2answer.org/external.php&lt;/a&gt; everything seems good, but when i using $extravalue, additional field doesn't show up in question. What i did wrong ?&amp;nbsp;&lt;/p&gt;

&lt;p&gt;$type='Q'; // question
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$parentid=null; // does not follow another answer
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$title='Why do birds sing?';
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$content='And why do they fall in love?';
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;strong&gt;$extravalue='test field info';&lt;/strong&gt;
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$format=''; // plain text
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$categoryid=null; // assume no category
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$tags=array('birds', 'sing', 'love');
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$userid=qa_get_logged_in_userid();
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;qa_post_create($type, $parentid, $title, $content, $format, $categoryid, $tags, $userid, &lt;strong&gt;$extravalue&lt;/strong&gt;);&lt;/p&gt;

&lt;p&gt;Is it bug in q2a ?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/48000/%24extravalue-seems-working-while-using-external-post-create</guid>
<pubDate>Fri, 18 Sep 2015 07:18:05 +0000</pubDate>
</item>
<item>
<title>Selection-box on user profile page</title>
<link>https://www.question2answer.org/qa/47677/selection-box-on-user-profile-page</link>
<description>

&lt;p&gt;I want to put an extra field (selection-box) on user profile page.&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.question2answer.org/qa/22728/update-hack-extra-user-field-v1-4&quot;&gt;Update Hack: Extra User Field (V1.4)&lt;/a&gt;&amp;nbsp;would probably do this but the download link doesn't work for me, it gives me&amp;nbsp;the Forbidden error. Where can i download this code?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/47677/selection-box-on-user-profile-page</guid>
<pubDate>Tue, 01 Sep 2015 04:04:59 +0000</pubDate>
</item>
<item>
<title>How to use Markdown/CKEditor4 as the default editor for Extra Field Plugin</title>
<link>https://www.question2answer.org/qa/44946/how-use-markdown-ckeditor4-default-editor-extra-field-plugin</link>
<description>

&lt;p&gt;How can I use&amp;nbsp;&lt;strong&gt;Markdown/CKEditor4&lt;/strong&gt; as the default editor for the&amp;nbsp;&lt;strong&gt;Extra Field Plugin&lt;/strong&gt;&amp;nbsp;instead of the basic editor?&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/44946/how-use-markdown-ckeditor4-default-editor-extra-field-plugin</guid>
<pubDate>Wed, 22 Apr 2015 14:13:37 +0000</pubDate>
</item>
<item>
<title>How to ? After answering a question show a box with extra information / suggestions to the user ?</title>
<link>https://www.question2answer.org/qa/25975/after-answering-question-show-extra-information-suggestions</link>
<description>Once a user hits the add answer button he gets redirected to the page and to his answer !&lt;br /&gt;
&lt;br /&gt;
There and only there I want to show a field with extra info, may be a suggestion where to go next or social share buttons,&lt;br /&gt;
&lt;br /&gt;
how could this be achieved ?&lt;br /&gt;
&lt;br /&gt;
Any hint ?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
EDIT&lt;br /&gt;
&lt;br /&gt;
I think the js in ../qa-content/qa-question.js, needs to be modified, at least there are two functions which could help on this ?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
function qa_submit_answer(questionid, elem)&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
function qa_answer_click(answerid, questionid, target)&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
It would be fully sufficient to get a parameter submitted, so that one knows that he is on the refreshed page after answering, from there, one can add a info box through the theme..&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
EDIT 2 &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
OK through the theme there cant be processed anything as the page does not reload, so either one has to add the information through js, or one needs to trigger a page refresh...</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/25975/after-answering-question-show-extra-information-suggestions</guid>
<pubDate>Mon, 22 Jul 2013 18:06:41 +0000</pubDate>
</item>
<item>
<title>Make extra fields in register form required ones ?</title>
<link>https://www.question2answer.org/qa/25609/make-extra-fields-in-register-form-required-ones</link>
<description>One can add additional fields to the registerform&lt;br /&gt;
&lt;br /&gt;
through the user menu.&lt;br /&gt;
&lt;br /&gt;
But how to make them mandatory/required ?&lt;br /&gt;
&lt;br /&gt;
Thanks for any hint !</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/25609/make-extra-fields-in-register-form-required-ones</guid>
<pubDate>Mon, 15 Jul 2013 19:15:56 +0000</pubDate>
</item>
<item>
<title>EDITED: Right way to add form extra element layer</title>
<link>https://www.question2answer.org/qa/20450/edited-right-way-to-add-form-extra-element-layer</link>
<description>

&lt;p&gt;
	I am trying to add form element to Ask a question page but getting trouble to add element by layer. I have tried to add by layer with three different function but with this not adding element into the form but outside the form.&lt;/p&gt;


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


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;function form($form)&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;qa_html_theme_base::form($form);&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;$this-&amp;gt;output('Here will be new input element');&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;function form_body($form)&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;qa_html_theme_base::form_body($form);&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;$this-&amp;gt;output('Here will be new input element');&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;function form_buttons($form, $columns)&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;qa_html_theme_base::&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;form_buttons($form, $columns)&lt;/span&gt;&lt;span style=&quot;color:#0000ff;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;$this-&amp;gt;output('Here will be new input element');&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	I am also confuse should I have to use temple as below to get only for Ask page? ro there is any different way to do&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;if ($this-&amp;gt;template == 'ask')&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;$this-&amp;gt;output('Here will be new input element');&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	I am sure some one must have solution for this.&lt;/div&gt;


&lt;p&gt;
	&lt;strong&gt;&lt;span style=&quot;font-size:16px;&quot;&gt;EDIT:-----------------------------------------------------------------------------------&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	At last got it work and store value to db but now have one trouble. I want this field only on Ask a question page and on edit question form but with $this-&amp;gt;template of course its adding all single question page forms.&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;font-size:14px;&quot;&gt;&lt;strong&gt;Need help here is the code&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;


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


&lt;div&gt;
	&lt;span style=&quot;color:#b22222;&quot;&gt;function form_buttons($form, $columns)&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#b22222;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#b22222;&quot;&gt;if(($this-&amp;gt;template == 'ask' OR $this-&amp;gt;template == 'question') AND qa_get_logged_in_level() &amp;gt; QA_USER_LEVEL_ADMIN):&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#b22222;&quot;&gt;$this-&amp;gt;my_check();&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;// this is my custom checkbox input code&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#b22222;&quot;&gt;endif;&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#b22222;&quot;&gt;qa_html_theme_base::form_buttons($form, $columns);&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#b22222;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/20450/edited-right-way-to-add-form-extra-element-layer</guid>
<pubDate>Mon, 07 Jan 2013 09:47:14 +0000</pubDate>
</item>
<item>
<title>How to hide some extra fields on user profile to others and make it mandatory to fill up</title>
<link>https://www.question2answer.org/qa/19600/hide-some-extra-fields-user-profile-others-make-mandatory-fill</link>
<description>

&lt;p&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif; font-size: 14px; line-height: 21px;&quot;&gt;I create an extra field on user profile to hold a user's telephone number. I want only admin can see this phone number inorder to keep the privacy of the members but want to make this field mendatory to fill up (if possible).&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	How can I do it?&lt;/p&gt;


&lt;p&gt;
	Thank you.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/19600/hide-some-extra-fields-user-profile-others-make-mandatory-fill</guid>
<pubDate>Sat, 01 Dec 2012 09:01:41 +0000</pubDate>
</item>
</channel>
</rss>