I have an important form in my collection page template. All I want to do is identify the collection page (or associated collection item) where the form was submitted.
I am hoping there is some basic method for this. Here are the workarounds I have explored:
- Create a hidden form field with text from the collection. Looks like this is impossible.
- Name a form field using text from the collection. Looks like this is impossible.
- Name the form itself using text from the collection. Looks like this is impossible.
- Use form labels in some way. Looks useless.
- Having a hidden radio button using text from the collection. While the form frontend can pull CMS text, the form submission data can only be named “radio.”
- Reference CMS data in a hidden select field. No dice.
Is there any way to use CMS data in a form to identify the collection page or reference the page’s collection item?