Forum

Thread tagged as: Question, Api, Forms

Dynamic form field - upcoming dates

Hi all,

I'm wondering if there is a way to create a form input field that will be dynamically populated with values.

At the moment, in form templates, I can only see type="date" which is closest to what I need, but the values need to be hard coded there, basically what I need is a way to create a select field with the next 9 dates that fall on a Monday, Weds or Friday!

At the moment I will add a select box and populate it with JavaScript but wondered if I could create a custom form template tag or something using the API?

Matt

Matt Bee

Matt Bee 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

We don't yet have custom field types for public forms, but it's something I'm looking into.

Matt Bee

Matt Bee 0 points
Registered Developer

Thanks Drew, I'll head down JS route to populate the select values for now then!