<?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: Calendar Issue : "Only allow each date to be selected (x) times"</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Calendar Issue : "Only allow each date to be selected (x) times"</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 21:03:26 +0000</pubDate>

<item>
<title>yuniar on "Calendar Issue : "Only allow each date to be selected (x) times""</title>
<link>https://www.machform.com/forums/topic/calendar-issue-only-allow-each-date-to-be-selected-x-times#post-17870</link>
<pubDate>Mon, 01 Apr 2013 12:07:16 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">17870@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yes, this will be included within the next update
&#60;/p&#62;</description>
</item>
<item>
<title>sndfx69 on "Calendar Issue : "Only allow each date to be selected (x) times""</title>
<link>https://www.machform.com/forums/topic/calendar-issue-only-allow-each-date-to-be-selected-x-times#post-17810</link>
<pubDate>Thu, 28 Mar 2013 23:14:05 +0000</pubDate>
<dc:creator>sndfx69</dc:creator>
<guid isPermaLink="false">17810@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thank you SO MUCH (yuniar) it worked like a charm. :)&#60;/p&#62;
&#60;p&#62;Will this fix be included in future venison ? &#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
SNDFX69
&#60;/p&#62;</description>
</item>
<item>
<title>sndfx69 on "Calendar Issue : "Only allow each date to be selected (x) times""</title>
<link>https://www.machform.com/forums/topic/calendar-issue-only-allow-each-date-to-be-selected-x-times#post-17809</link>
<pubDate>Thu, 28 Mar 2013 22:43:34 +0000</pubDate>
<dc:creator>sndfx69</dc:creator>
<guid isPermaLink="false">17809@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks Ynniar, I'll give it try and get back to you.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Calendar Issue : "Only allow each date to be selected (x) times""</title>
<link>https://www.machform.com/forums/topic/calendar-issue-only-allow-each-date-to-be-selected-x-times#post-17695</link>
<pubDate>Mon, 18 Mar 2013 13:52:57 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">17695@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ok, here's how to fix it. You need to edit the &#34;includes/post-functions.php&#34; file.&#60;br /&#62;
Search around line 1268 for this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;status=1 and element_{$element_id} is not null&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;status=1 and element_{$element_id} is not null {$disabled_date_where_clause}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then search around line 1257 for this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($element_info[$element_id][&#38;#39;date_enable_selection_limit&#38;#39;]) &#38;#38;&#38;#38; !empty($element_info[$element_id][&#38;#39;date_selection_max&#38;#39;])){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;exactly below that line, add this block of code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$disabled_date_where_clause = &#38;#39;&#38;#39;;
if(!empty($edit_id) &#38;#38;&#38;#38; ($_SESSION[&#38;#39;mf_logged_in&#38;#39;] === true)){
	$disabled_date_where_clause = &#38;quot;AND (backtick)id(backtick) &#38;lt;&#38;gt; {$edit_id}&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;this forum can't display backtick character, so make sure to replace (backtick) with a real backtick character.&#60;/p&#62;
&#60;p&#62;that should fix the issue.&#60;br /&#62;
If you are having difficulty, please contact us directly and we'll send you the file for this.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Calendar Issue : "Only allow each date to be selected (x) times""</title>
<link>https://www.machform.com/forums/topic/calendar-issue-only-allow-each-date-to-be-selected-x-times#post-17694</link>
<pubDate>Mon, 18 Mar 2013 12:49:45 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">17694@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I think you've just found a bug. Thank you for reporting this.&#60;br /&#62;
I'll investigate this further and get back soon.
&#60;/p&#62;</description>
</item>
<item>
<title>sndfx69 on "Calendar Issue : "Only allow each date to be selected (x) times""</title>
<link>https://www.machform.com/forums/topic/calendar-issue-only-allow-each-date-to-be-selected-x-times#post-17681</link>
<pubDate>Mon, 18 Mar 2013 01:02:23 +0000</pubDate>
<dc:creator>sndfx69</dc:creator>
<guid isPermaLink="false">17681@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;yuniar is their anyway around this problem?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>sndfx69 on "Calendar Issue : "Only allow each date to be selected (x) times""</title>
<link>https://www.machform.com/forums/topic/calendar-issue-only-allow-each-date-to-be-selected-x-times#post-17675</link>
<pubDate>Sun, 17 Mar 2013 02:29:38 +0000</pubDate>
<dc:creator>sndfx69</dc:creator>
<guid isPermaLink="false">17675@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Help! Please&#60;/p&#62;
&#60;p&#62;I'm having a problem when I add a Calendar and in the field propriety I select &#34; Only allow each date to be selected (x) times&#34; &#60;/p&#62;
&#60;p&#62;Here is the case:&#60;/p&#62;
&#60;p&#62;- (X) days where 3 days only for each day in the Calendar&#60;br /&#62;
- Users have no problem at all filling the form.&#60;/p&#62;
&#60;p&#62;Now let's say three users filled the form and selected the same date; so that means the that day is locked.&#60;br /&#62;
until now everything is working great.&#60;/p&#62;
&#60;p&#62;Now here comes the problem:&#60;/p&#62;
&#60;p&#62;I want to edit one of the three entries so I logon to my panel as an admin, select an entire and do some changes and hit SAVE.&#60;br /&#62;
guess what happens?  &#34; Yes, your correct&#34; it refuses to save because it's assuming it's a forth entry.&#60;/p&#62;
&#60;p&#62;I don't know if this issue has been raised but I really need your help on this issue.&#60;/p&#62;
&#60;p&#62;Thank You All.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
