Skip to content Skip to sidebar Skip to footer

Can`t Submit My Modal Form In Bootstrap

A Django beginner needs help here! I'm trying to upload image in a modal form, the problem is I can't submit my modal...when I click the submit button nothing actually happpen...be

Solution 1:

You have data-dismiss="modal" on submit button, which is a bootstrap handler for closing the modal box. The bootstrap is catching this event and preventing default submit event as its purpose is to close the modal. Just remove the data-dismiss="modal" from submit button and you are good to go. Also follow the tips by karthikr


Post a Comment for "Can`t Submit My Modal Form In Bootstrap"