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



Demo:

Form with dynamic columns added based on selected date

Form code:


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 )

Last updated