I’m currently trying to build a front-end form for an Intranet that contains a file upload field, a dropdown select list of categories, and a submit button. The idea is for employees to be able to upload a resource (such as a Word doc or a PDF file) into a particular subcategory.
The file will then be available for download in the correlating category of the intranet.
I’ve gotten the file upload function working by using Freeform, but when I try to dynamically insert category lists into a ‘select’ field, Freeform appears to strip them out. If I use a basic <form> tag, the subcategory lists work perfectly.
Here is the code I am using to pull the subcategory lists:
{exp:subcategories root_node="4"}
<option>{category_name}</option>
{/exp:subcategories}
Basically, this spits out a list of subcategories like this:
<select>
<option>Category 1</option>
<option>Category 2</option>
<option>Category 3</option>
</select>
But when I try to use Freeform to create the interface with EE, it just displays
<option>{category_name}</option>
Any suggestions/ideas would be much appreciated. Thanks so much!
