Hello.
I’d like to use the file upload feature and specify the upload folder with a variable. Specifically, I want to have a user upload images and those images be placed into folders designated to their member group.
I’ve tried to use {group_id} and {member_group} like so:
{exp:freeform:form form_name="new_issues" required="request_project|request_type|request_timeline|request_description" notify="myname@mac.com" template="default_template" return="templategroup/template/thank_you/{segment_3}" file_upload="{member_group}" send_attachment="no" send_user_attachment="no"}
Unfortunately, this isn’t working for me, so I tried an SQL query to get the name of the member group. The SQL query fails anywhere within the form including the file_upload parameter.
Can anyone share their thoughts as a solution to designate an upload folder based on the member group?
Thank you for your thoughts.
