We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
As far as I'm aware, template handlers are for output only, would that be correct?
What I'm trying to achieve is having a template handler to automatically generate inputs based on external data. So say I wanted x amount of text inputs, I'd want the template to automatically render that many text inputs. I thought I may be able to use a template handler, like so:
<perch:student id="text" type="textarea" label="Text" markdown="true" html="true" editor="simplemde" />
Would it be possible to make it so that the inputs could be rendered admin side, based upon how many students there are? Or is that not possible?
If so, would there be another way to achieve this? Any advice on best practice for this?
Want to reply to this thread?Login with Perch