<?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: Logic failure</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Logic failure</description>
<language>en</language>
<pubDate>Wed, 06 May 2026 13:42:41 +0000</pubDate>

<item>
<title>zforray on "Logic failure"</title>
<link>https://www.machform.com/forums/topic/logic-failure#post-16946</link>
<pubDate>Thu, 31 Jan 2013 04:05:18 +0000</pubDate>
<dc:creator>zforray</dc:creator>
<guid isPermaLink="false">16946@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I have determined from both the error message and my removing the matrix fields that it is matrix fields causing this error.  Since I had to redesign the form to remove the matrix fields, I no longer get this error.
&#60;/p&#62;</description>
</item>
<item>
<title>zforray on "Logic failure"</title>
<link>https://www.machform.com/forums/topic/logic-failure#post-16933</link>
<pubDate>Wed, 30 Jan 2013 23:29:39 +0000</pubDate>
<dc:creator>zforray</dc:creator>
<guid isPermaLink="false">16933@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Just tried to use the logic option and it fails with:  &#60;/p&#62;
&#60;p&#62;SQL: [672] select A.element_id, A.option_id, (select if(B.element_matrix_parent_id=0,A.option, (select C.&#60;code&#62;option&#60;/code&#62; from ap_element_options C where C.element_id=B.element_matrix_parent_id and C.form_id=A.form_id and C.live=1 and C.option_id=A.option_id)) ) 'option_label' from ap_element_options A left join ap_form_elements B on (A.element_id=B.element_id and A.form_id=B.form_id) where A.form_id=? and A.live=1 and B.element_status=1 and B.element_type='matrix' order by A.element_id,A.option_id asc Params: 1 Key: Position #0: paramno=0 name=[0] &#34;&#34; is_param=1 param_type=2 Query Failed: SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 row
&#60;/p&#62;</description>
</item>

</channel>
</rss>
