DMXzone Bootstrap 3 Components Support Product Page

Answered

Closing a modal upon sending email?

Asked 27 Nov 2016 12:49:05
1
has this question
27 Nov 2016 12:49:05 Joe Lehman Jr. posted:
I have a form within a modal (it is a form to email). My question is how do you get the modal to close when you hit send email?
Thanks for your assistance in this matter,
Joe

UPDATE: I figured it out. For those who do not know, follow this video www.dmxzone.com/go/32482/sending-form-data-to-email, but just before you add the notify behavior you do a call JavaScript with the following code:

$('#modal').modal().hide();

#modal is the id of the model. Then add you add notify behavior and your done.

Replies

Replied 28 Nov 2016 08:20:39
28 Nov 2016 08:20:39 Teodor Kuduschiev replied:
Hello Joe,
If you are using our DMXzone Bootstrap 3 Components extension, you can do this on success server action execution, just select the Control Bootstrap 3 Components behavior and then - close modal.

Reply to this topic