Enable click on submit button once we display a "success"
Opened this issue · 2 comments
Vadorequest commented
laander commented
@Vadorequest Great suggestion! Would you prefer simply a setting like closeFormOnSuccessButtonClick = true/false
or a callback you can hook into (for custom redirects etc)?
Vadorequest commented
I think the setting is a good idea. Default behavior should close the popup.
A custom function would be useful for many use cases as well :)
So, we would have a closeFormOnSuccessButtonClick: 'true|false|Function'
possible values.