Instagram

About Me

Photo Profile
Meetanshi Architecture Designer

Meetanshi is found based on providing the best Magento Extensions and Customized eCommerce Business Solutions perfected to the users’ needs. Our Happy users make us Happy. Complete satisfaction to our clients is what drives and motivates us to work hard. Read More

Tuesday, July 12, 2022

How to Disable Submit Button on Form Submission in Magento 2

Collecting customer data is highly essential while performing customization in the Magento 2 store or developing Magento 2 extensions. This can be done easily using forms and to do so, you need to create custom forms in Magento 2. 

You can get the data by the clicking on the submit button and then pass it to the database. It may even happen that the users press the submit button frequently when it is in processing state. As a result, the same information is stored multiple times and may create confusion. 


To avoid such circumstances, you are required to prevent form submissions and can be done using simple method to disable submit button on form submission in Magento 2


Thus, enhance the user experience of your online store and prevent multiple form submissions!


To get more information, you need to refer the article at : https://meetanshi.com/blog/disable-submit-button-on-form-submission-in-magento-2/

No comments:
Write comments


Get more of our update !