[snipplet] Smarty template html dropdown/select year with selected and POST selected


min read

My profile

Share this:

This snipplet will help you create a dropdown whith the current year ( $smarty.now|date_format:”%Y” ) as default, but it ‘ll change to the selected value after a POST request.


Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *