magento2-checkout-custom-form
magento2-checkout-custom-form copied to clipboard
Reset Form Fields When Checkout Loads
Hi,
So I had added some code to reset the form fields using jQuery. Because if I don't, the data still comes through if the data isn't filled out because it populates by default. But it seems when "Next" is clicked the fields are reset as the user is directed to the payment page. I need to reset the fields so they are empty. Maybe this needs to be done at the block level when the fields are created?
Any ides or help on how to reset the fields so they don't carry over?
Thanks, Stan
Did you found any solution?
hi @webusat @uisuru have you found a solution ?