Generate dynamic columns with dates based on user selected date from Datepicker element
This is an example form that allows a user to select a date from a Datepicker element. After which a dynamic column with fields will be added for all following days.
Below is an image of an example where the users selects a date, after which the script automatically adds 3 Dynamic columns with the 2 dates that follow the selected date from the Datepicker element
Get the Form demo code
Get the JavaScript code
Demo:

Form code:
Copy paste the below form code on your [CODE] tab as your Form Elements
JavaScript code:
JavaScript code, which you can place on the page where your form is located (or you could add it under Super Forms > Settings > Custom JS )
Place the below JavaScript code on the page where your form is located
(or add it under Super Forms > Settings > Custom JS ), make sure to adjust it according to your form field names. For example, the code below had hardcoded field name references to Datepicker field nameddynamic_column_datepicker and Dropdown fields named option and reason .
Last updated