<?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: Field visible to everyone</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Field visible to everyone</description>
<language>en</language>
<pubDate>Mon, 22 Jun 2026 07:57:56 +0000</pubDate>

<item>
<title>yuniar on "Field visible to everyone"</title>
<link>https://www.machform.com/forums/topic/field-visible-to-everyone#post-11076</link>
<pubDate>Wed, 15 Dec 2010 18:20:20 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11076@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yep, you have it correct already! :-)
&#60;/p&#62;</description>
</item>
<item>
<title>grimdesigns on "Field visible to everyone"</title>
<link>https://www.machform.com/forums/topic/field-visible-to-everyone#post-11065</link>
<pubDate>Tue, 14 Dec 2010 21:39:41 +0000</pubDate>
<dc:creator>grimdesigns</dc:creator>
<guid isPermaLink="false">11065@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I think I solved this for now.&#60;br /&#62;
I changed this:&#60;/p&#62;
&#60;p&#62;if($element_data-&#38;gt;is_private &#38;#38;&#38;#38; empty($_SESSION['logged_in'])){ //don't show private element&#60;br /&#62;
				continue;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;To this:&#60;/p&#62;
&#60;p&#62;if($element_data-&#38;gt;is_private){ //don't show private element&#60;br /&#62;
				continue;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;So now it never shows the private fields on the view.php page. Now I adjust need to modify this: empty($_SESSION['logged_in']) to target the userID in the session.&#60;/p&#62;
&#60;p&#62;Am I on the right track?
&#60;/p&#62;</description>
</item>
<item>
<title>grimdesigns on "Field visible to everyone"</title>
<link>https://www.machform.com/forums/topic/field-visible-to-everyone#post-11064</link>
<pubDate>Tue, 14 Dec 2010 20:56:25 +0000</pubDate>
<dc:creator>grimdesigns</dc:creator>
<guid isPermaLink="false">11064@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Okay, I modified the software and created different username and passwords to log in. All of the accounts, once logged in, can view the form, but I want a certain account type, to view the form but without the form elements that have been flagged as admin only. These elements should only be viewed by a higher role. The problem is once your logged in, the system currently does not care which user type you are and it shows you all form elements. So I want to target where it's writing the form elements and modify it so it not only checks for session (I'm assuming its a session check you have), but it also checks for the user type. If the user type is not the correct level, then it shows the form without the fields that have been flagged admin only.&#60;/p&#62;
&#60;p&#62;I hope that wasn't too much :-)
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Field visible to everyone"</title>
<link>https://www.machform.com/forums/topic/field-visible-to-everyone#post-11063</link>
<pubDate>Tue, 14 Dec 2010 20:49:18 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11063@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hmm.. you'll need to be more specific on this, so that we could point you into the right direction.&#60;br /&#62;
What kind of modification would you like to do with the field visibility?
&#60;/p&#62;</description>
</item>
<item>
<title>grimdesigns on "Field visible to everyone"</title>
<link>https://www.machform.com/forums/topic/field-visible-to-everyone#post-11061</link>
<pubDate>Tue, 14 Dec 2010 20:24:11 +0000</pubDate>
<dc:creator>grimdesigns</dc:creator>
<guid isPermaLink="false">11061@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Where can I find the function that controls the fields visible to everyone parameter. I am working a customizing this feature and I want to modify the function(s) that control this. If someone can point me in the right direction, I would greatly appreciate it.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Garfield
&#60;/p&#62;</description>
</item>

</channel>
</rss>
