rhinoboy
New Member
I am having some issues building a "Where query" in a cascadingdropdown element.
I can get the following statement to work correctly:
But I need the "2" to be a field from the current form. The Where query" tooltip says that {tablename___elementname} placeholders may be used, but when I use a placeholder, throws a SQL syntax error which shows the placeholder (it's not replaced).
I've tried every variation I can think of and I can't figure out what to put in there to make it work.
I am running Joomla 3.6.5 on php 7.0.16 and I pulled the latest Fabrik build from GitHub just before posting this thread.
I can get the following statement to work correctly:
`PerfModel`.`Sponsor_idSponsor` = 2
But I need the "2" to be a field from the current form. The Where query" tooltip says that {tablename___elementname} placeholders may be used, but when I use a placeholder, throws a SQL syntax error which shows the placeholder (it's not replaced).
I've tried every variation I can think of and I can't figure out what to put in there to make it work.
I am running Joomla 3.6.5 on php 7.0.16 and I pulled the latest Fabrik build from GitHub just before posting this thread.