Tje123 Posted October 23, 2017 Share Posted October 23, 2017 i'm developing prestashop carrier module.inside mycarrier i have two radio buttons(`now`,`schedule`) when user select `now` i,m getting current datetime.when user select schedule i'm prompt calender to pick datetime. problem : when user select one of radio button,form will submit immediately.but i want form to wait until user pick date from calendar. how can i delay my form submission? <form class="clearfix" id="js-delivery" data-url-update="{url entity='order' params=['ajax' => 1, 'action' => 'selectDeliveryOption']}" method="post" > <button type="submit" class="continue btn btn-primary pull-xs-right" name="confirmDeliveryOption" value="1"> {l s='Continue' d='Shop.Theme.Actions'} </button> </form> Link to comment Share on other sites More sharing options...
bellini13 Posted October 23, 2017 Share Posted October 23, 2017 you will need to look at the javascript that is executing when a radio button is selected. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now