I've got a form which has a select input and the options are set using a separate template and passed into the form by way of PerchSystem::set_vars. This works fine and the options are populated ok and the form is rendering as expected on the page. When the form is submitted the custom options are not being saved using app='perch_forms'. The form is saving and other field values are being captured - just not the options from dynamic content. If I manually add options then it saves the option value.
I have tried placing the form using perch_content_custom()' and 'perch_form()' but same result either way.
If I change the form method to 'get' I can see the form fields in the url are showing the correct 'option' values so I know the values are being seen and processed by perch_forms to an extent.
Anyone encountered this before? Any suggestions?