<?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: Problem</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Problem</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 23:01:17 +0000</pubDate>

<item>
<title>aminor on "Problem"</title>
<link>https://www.machform.com/forums/topic/problem-1#post-15299</link>
<pubDate>Wed, 11 Jul 2012 05:24:34 +0000</pubDate>
<dc:creator>aminor</dc:creator>
<guid isPermaLink="false">15299@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I am having the same problem but the fix posted here does not solve it. I am only getting this issue with one table. I have checked the database and don't find the data error that the syntax error is referring to. Is there a way to edit the code pertaining only to one table?
&#60;/p&#62;</description>
</item>
<item>
<title>SeanToro on "Problem"</title>
<link>https://www.machform.com/forums/topic/problem-1#post-15260</link>
<pubDate>Mon, 09 Jul 2012 22:53:54 +0000</pubDate>
<dc:creator>SeanToro</dc:creator>
<guid isPermaLink="false">15260@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;That worked! Thanks so much!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Problem"</title>
<link>https://www.machform.com/forums/topic/problem-1#post-15254</link>
<pubDate>Sat, 07 Jul 2012 12:01:13 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">15254@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ah...yes, this forum can't display backtick characters, hence the above code are incorrect. All &#60;strong&#62;option&#60;/strong&#62; keywords should be enclosed with backticks characters.&#60;/p&#62;
&#60;p&#62;Here is the correct code for the first one:&#60;br /&#62;
&#60;a href=&#34;http://pastie.org/4213906&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4213906&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;and the second one:&#60;br /&#62;
&#60;a href=&#34;http://pastie.org/4213910&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4213910&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>SeanToro on "Problem"</title>
<link>https://www.machform.com/forums/topic/problem-1#post-15252</link>
<pubDate>Sat, 07 Jul 2012 02:07:38 +0000</pubDate>
<dc:creator>SeanToro</dc:creator>
<guid isPermaLink="false">15252@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I got this error when going into the entries after modifying the code...&#60;/p&#62;
&#60;p&#62;SQL: [109] select element_id, option_id, option from ap_element_options where form_id=? order by element_id,position asc Params: 1 Key: Position #0: paramno=0 name=[0] &#34;&#34; is_param=1 param_type=2 Query Failed: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option from ap_element_options where form_id='4' order by element_id,position as' at line 1
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Problem"</title>
<link>https://www.machform.com/forums/topic/problem-1#post-15249</link>
<pubDate>Fri, 06 Jul 2012 09:59:10 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">15249@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I think we can restore this through some modification. Assuming you are using v3.2, edit your &#34;includes/entry-functions.php&#34; file search around line&#60;br /&#62;
359 for this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$query = &#38;quot;select element_id,option_id,option from &#38;quot;.MF_TABLE_PREFIX.&#38;quot;element_options where form_id=? and live=1 order by position asc&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$query = &#38;quot;select element_id,option_id,option from &#38;quot;.MF_TABLE_PREFIX.&#38;quot;element_options where form_id=? order by position asc&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then search around line 716 for this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$query = &#38;quot;select
						element_id,
						option_id,
						option
					from
						&#38;quot;.MF_TABLE_PREFIX.&#38;quot;element_options
				   where
				   		form_id=? and live=1
				order by
						element_id,position asc&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$query = &#38;quot;select
						element_id,
						option_id,
						option
					from
						&#38;quot;.MF_TABLE_PREFIX.&#38;quot;element_options
				   where
				   		form_id=?
				order by
						element_id,position asc&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;those two modifications should re-display all your deleted values of your dropdown.
&#60;/p&#62;</description>
</item>
<item>
<title>Lokidog on "Problem"</title>
<link>https://www.machform.com/forums/topic/problem-1#post-15243</link>
<pubDate>Fri, 06 Jul 2012 00:51:25 +0000</pubDate>
<dc:creator>Lokidog</dc:creator>
<guid isPermaLink="false">15243@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;SeanToro. You could ask your server host to restore your Databse (If you don't have a copy yourself to restore) from an earlier save for you, sometime before your edit, that could restore all the info to &#34;as it was&#34;. Don't forget to ask them to do the tables AND the content.
&#60;/p&#62;</description>
</item>
<item>
<title>jhinkle on "Problem"</title>
<link>https://www.machform.com/forums/topic/problem-1#post-15241</link>
<pubDate>Fri, 06 Jul 2012 00:09:51 +0000</pubDate>
<dc:creator>jhinkle</dc:creator>
<guid isPermaLink="false">15241@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I'm pretty sure if you delete a field, it deletes all the related information in the database pertaining to that field as well.&#60;/p&#62;
&#60;p&#62;If you want to keep the data in the database pertaining to that field, you have to &#34;hide&#34; it on the form by selecting &#34;Admin only&#34; on the properties of that field. Then create a new field with all your new data.
&#60;/p&#62;</description>
</item>
<item>
<title>SeanToro on "Problem"</title>
<link>https://www.machform.com/forums/topic/problem-1#post-15240</link>
<pubDate>Thu, 05 Jul 2012 23:36:26 +0000</pubDate>
<dc:creator>SeanToro</dc:creator>
<guid isPermaLink="false">15240@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Wish that were true, but when I go into each entry, the field is blank.
&#60;/p&#62;</description>
</item>
<item>
<title>Lokidog on "Problem"</title>
<link>https://www.machform.com/forums/topic/problem-1#post-15237</link>
<pubDate>Thu, 05 Jul 2012 20:49:51 +0000</pubDate>
<dc:creator>Lokidog</dc:creator>
<guid isPermaLink="false">15237@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi!&#60;/p&#62;
&#60;p&#62;If you have kept the form as a whole and only edited the dropdown within that form you should retain a record of what people have chosen prior to your editing in the &#34;entries&#34; list under manage forms in the Admin Panel. Export it to .xml just to be on the safe side as well.
&#60;/p&#62;</description>
</item>
<item>
<title>SeanToro on "Problem"</title>
<link>https://www.machform.com/forums/topic/problem-1#post-15232</link>
<pubDate>Thu, 05 Jul 2012 01:17:03 +0000</pubDate>
<dc:creator>SeanToro</dc:creator>
<guid isPermaLink="false">15232@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;I created an application form and had a dropdown with the positions available for them to select. Today I deleted all the positions and re-entered a bunch. And now it has lost all the previous positions that were in the applications prior. Is that supposed to happen? Really wish I would've known, as now I don't know out of hundreds of applications which position they're apply for.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
