Use trigger “wpmc_before_switching_tab” to return false
-
Hi,
Thank you for your great plugin.
I’d like to use a custom field validation on the checkout form.
How can I use your trigger “wpmc_before_switching_tab” to stop the switch_tab function if my custom field is empty ?
I tried to use preventDefault(), stopPropagation() and return false but the switch_tab function continue to change the tab and section.
Any idea ?
Thank you very much.
Anthony
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Use trigger “wpmc_before_switching_tab” to return false’ is closed to new replies.