<?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>MachForm Community Forums Topic: Display and search</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Display and search</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 01:39:09 +0000</pubDate>

<item>
<title>wajones on "[closed] Display and search"</title>
<link>https://www.machform.com/forums/topic/display-and-search#post-21</link>
<pubDate>Tue, 25 Sep 2007 23:05:22 +0000</pubDate>
<dc:creator>wajones</dc:creator>
<guid isPermaLink="false">21@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Wishing for either a search or filtering function (or both :-) in the manage_entries.php script.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "[closed] Display and search"</title>
<link>https://www.machform.com/forums/topic/display-and-search#post-20</link>
<pubDate>Tue, 25 Sep 2007 06:53:45 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">20@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;That's great. Let me know if you need further help.
&#60;/p&#62;</description>
</item>
<item>
<title>wajones on "[closed] Display and search"</title>
<link>https://www.machform.com/forums/topic/display-and-search#post-19</link>
<pubDate>Tue, 25 Sep 2007 06:03:57 +0000</pubDate>
<dc:creator>wajones</dc:creator>
<guid isPermaLink="false">19@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Figured it out, thanks for the help.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "[closed] Display and search"</title>
<link>https://www.machform.com/forums/topic/display-and-search#post-18</link>
<pubDate>Tue, 25 Sep 2007 05:56:09 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">18@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;We need to do another hack for this. &#60;/p&#62;
&#60;p&#62;All markup information are stored in &#60;strong&#62;includes/view-functions.php&#60;/strong&#62;, so you will need to modify this file.&#60;/p&#62;
&#60;p&#62;Each element has its own function. For example, 'Single Line Text' is generated by display_text() function.&#60;/p&#62;
&#60;p&#62;Check the markup inside that function (stored in &#60;strong&#62;$element_markup&#60;/strong&#62; variable) and add the necessary code there.
&#60;/p&#62;</description>
</item>
<item>
<title>wajones on "[closed] Display and search"</title>
<link>https://www.machform.com/forums/topic/display-and-search#post-17</link>
<pubDate>Tue, 25 Sep 2007 05:14:12 +0000</pubDate>
<dc:creator>wajones</dc:creator>
<guid isPermaLink="false">17@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thank you, that works great.&#60;/p&#62;
&#60;p&#62;What if I wanted to make individual fields readonly or disabled?&#60;/p&#62;
&#60;p&#62;example:&#60;/p&#62;
&#60;p&#62;&#38;lt;input id=mytext type=input size=20 value=&#34;Text input field&#34; disabled&#38;gt; &#60;/p&#62;
&#60;p&#62;Where could I insert 'disabled' in your code.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "[closed] Display and search"</title>
<link>https://www.machform.com/forums/topic/display-and-search#post-16</link>
<pubDate>Tue, 25 Sep 2007 04:48:52 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">16@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I'm not sure if you just want to make the form read only or disable the form entirely.&#60;/p&#62;
&#60;p&#62;1) If you need to disable the form, so that nobody can access it, you can do so by setting the Form Status from your Form Manager. Click the 'Disable this form' link and your form should become inactive.&#60;/p&#62;
&#60;p&#62;2) If you need to display the form but don't want to accept submission, you will need to modify MachForm code.&#60;/p&#62;
&#60;p&#62;a) Open this file: &#60;strong&#62;includes/post-functions.php&#60;/strong&#62;&#60;br /&#62;
b) Around line 12 you will find the code below:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$form_id = (int) trim($input[&#38;#39;form_id&#38;#39;]);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Now, right under that line, add this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($form_id == XXX){
	$process_result[&#38;#39;status&#38;#39;] = false;
	$process_result[&#38;#39;custom_error&#38;#39;] = &#38;#39;This form is read only.&#38;#39;;
	return $process_result;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Change the &#60;strong&#62;XXX&#60;/strong&#62; with your form id. For example, if you have a link like this &#60;a href=&#34;http://www.appnitro.com/demo/view.php?id=5&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/demo/view.php?id=5&#60;/a&#62; then your form id is 5.&#60;/p&#62;
&#60;p&#62;This way, your form will display an error message if somebody is trying to submit your form.
&#60;/p&#62;</description>
</item>
<item>
<title>wajones on "[closed] Display and search"</title>
<link>https://www.machform.com/forums/topic/display-and-search#post-15</link>
<pubDate>Tue, 25 Sep 2007 04:03:38 +0000</pubDate>
<dc:creator>wajones</dc:creator>
<guid isPermaLink="false">15@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Would it be possible to just tell me how I can make a displayed form read only?
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "[closed] Display and search"</title>
<link>https://www.machform.com/forums/topic/display-and-search#post-14</link>
<pubDate>Mon, 24 Sep 2007 15:17:34 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">14@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I'm afraid there is no such script yet. At this moment, the only way to list/view the database is from Entry Manager -- which is only admin can do it.&#60;/p&#62;
&#60;p&#62;This could be a nice feature to have indeed. Thanks for this, I'm putting it into our feature requests list.
&#60;/p&#62;</description>
</item>
<item>
<title>wajones on "[closed] Display and search"</title>
<link>https://www.machform.com/forums/topic/display-and-search#post-12</link>
<pubDate>Mon, 24 Sep 2007 14:15:25 +0000</pubDate>
<dc:creator>wajones</dc:creator>
<guid isPermaLink="false">12@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Have there been any scripts developed to list, view and search the database by users?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
