<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How do I write my own SQL query that takes the form inputs as parameters?]]></title><description><![CDATA[<p dir="auto">I've tried using</p>
<pre><code>document.getElementsByName("[name of input]")
</code></pre>
<p dir="auto">but it is unable to get the input value</p>
<p dir="auto">I'm also not sure what to do even if I do get the input value. Like how do I pass it into the cloud backend?</p>
<p dir="auto">The reason for writing my own SQL query is because I need to insert form input values into 2 separate tables.</p>
]]></description><link>https://community.appdrag.com/topic/885/how-do-i-write-my-own-sql-query-that-takes-the-form-inputs-as-parameters</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 13:35:26 GMT</lastBuildDate><atom:link href="https://community.appdrag.com/topic/885.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Jun 2021 14:29:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How do I write my own SQL query that takes the form inputs as parameters? on Mon, 28 Jun 2021 06:14:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/525">@ed-low</a> you can do it using JS select 2 inputs. (but that's an HTML/JS question, not AppDrag related)</p>
<p dir="auto">Then you can use any source to call your Cloud API Function instead of setting a source type "field" you would use a "formula" and call a function you created to get the value of your custom input.</p>
]]></description><link>https://community.appdrag.com/post/3595</link><guid isPermaLink="true">https://community.appdrag.com/post/3595</guid><dc:creator><![CDATA[Wassim]]></dc:creator><pubDate>Mon, 28 Jun 2021 06:14:41 GMT</pubDate></item><item><title><![CDATA[Reply to How do I write my own SQL query that takes the form inputs as parameters? on Sat, 26 Jun 2021 09:19:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/525">@ed-low</a><br />
Also, is there a way to connect these tag values to a databsae of tag values? And if the tag is not found, one is automatically inserted?</p>
<p dir="auto"><img src="/assets/uploads/files/1624699080577-cc7b2166-332d-4ecc-923b-c768d2bc0e69-image.png" alt="cc7b2166-332d-4ecc-923b-c768d2bc0e69-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://community.appdrag.com/post/3581</link><guid isPermaLink="true">https://community.appdrag.com/post/3581</guid><dc:creator><![CDATA[Ed Low]]></dc:creator><pubDate>Sat, 26 Jun 2021 09:19:00 GMT</pubDate></item><item><title><![CDATA[Reply to How do I write my own SQL query that takes the form inputs as parameters? on Fri, 25 Jun 2021 14:21:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/2">@wassim</a> Thanks for the reply. I've looked at this and tried to use the tags input but it was limited. I want the user to be able to create their own tag and the tags to be individually separated and inserted into my table.</p>
<p dir="auto">That would require some javascript and taking the value of the input itself right?<br />
For example if the tags input value is "cat, dog, ostrich, building". I want to be able to insert the 4 values as new rows into my tags table if these tags are new.</p>
]]></description><link>https://community.appdrag.com/post/3579</link><guid isPermaLink="true">https://community.appdrag.com/post/3579</guid><dc:creator><![CDATA[Ed Low]]></dc:creator><pubDate>Fri, 25 Jun 2021 14:21:23 GMT</pubDate></item><item><title><![CDATA[Reply to How do I write my own SQL query that takes the form inputs as parameters? on Fri, 25 Jun 2021 06:14:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/525">@ed-low</a> hi, you can use Cloud Backend inputs and write no line of JS code to call your Cloud Backend function.<br />
<img src="/assets/uploads/files/1624601556200-a4d04b50-d740-42cc-a1b7-7f867804e7ef-image.png" alt="a4d04b50-d740-42cc-a1b7-7f867804e7ef-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Then on a button go to triggers =&gt; Cloud Backend =&gt; link your field to a parameter from your function</p>
<p dir="auto"><img src="/assets/uploads/files/1624601647504-d81819b1-c357-44cf-a081-8d41abecd216-image.png" alt="d81819b1-c357-44cf-a081-8d41abecd216-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://community.appdrag.com/post/3575</link><guid isPermaLink="true">https://community.appdrag.com/post/3575</guid><dc:creator><![CDATA[Wassim]]></dc:creator><pubDate>Fri, 25 Jun 2021 06:14:24 GMT</pubDate></item></channel></rss>