I want the confirmation message when a contact form is submitted to come out in a popup. can I use this module to do this and if so how?
thanks,
diana

Comments

drclaw’s picture

Status: Active » Closed (works as designed)

This isn't really the module for that, unfortunately. Simple dialog would do the opposite, actually. It could show the form in a popup, but the confirmation message would still show up in the usual drupal messages box.

Having the confirmation message pop up in a dialog is actually a little tricky to get right. Ideally you would submit the form via AJAX and then pop up the message in the AJAX Success Callback. This would require some custom module code, however.

Hope this helps!

drclaw

dianacastillo’s picture

I was told to try Better Messages module

drclaw’s picture

Yep, that could possibly work as well.

shahmeerarshad’s picture

Issue summary: View changes

@diana did better messages work for you ?