Is there a way for the
<input type="date" id="from" class="mdl-textfield__input" name="from" value="{{moment date=d format='YYYY-MM-DD'}}" style="position:relative; float: left; width: 180px; bottom: 10px;"/>
field to remember selected value after form submission?
i guess you want something like this ? :
stored the value in a variable after clicking the submit button. you can do whatever you want with that variable
You can use the HTML5 Local Storage to save the date after the submit. This is how you can do it:
Use HTML5 with storage stored the value in a variable after clicking the submit button. you can do whatever you want with that variable