Posts: 55
Threads: 25
Joined: May 2009
Reputation:
0
I need to add a dynamic drop down to a form using FT SQLdata. I know it can be done because I see it in the form data (FT backend) which has been user submitted. I am still new to the API and the new way field options are configured. Any help would be appreciated.
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
6
Hey Bwaye,
Interesting! So what's the content you want to appear in the dropdown? A list of information pulled from multiple submissions (e.g. names or something), or something else?
- Ben
Posts: 24
Threads: 7
Joined: Jan 2009
Reputation:
0
Would adding an export type work?
Something like:
<select>
<option value=""></option>
{foreach from=$submissions item=submission name=row}
<option value="{$submission.columnname}">{$submission.displayname}</option>
{/foreach}
</select>
You would need another form with these options on it though, and would have to keep updating the field groups...
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
6
Good idea. If it's submission content based, a custom export type like Steven suggest would work well.
Ben