This content has been marked as final. Show 4 replies
Auto-close relies on:
- the auto-close selector you have specified in the modal page dynamic action which opens the page
- the inclusion of the success message in the page template
- showing a success message when the page has been processed
So you will have to check those, while also paying attention to the defintion of the auto-close selector and whether it matches the success message's actual appearance in your page. To do this, simply check the page template. This is important, as the success message may be defined differently for each theme (and even for each page template).
Thank you for your response. I am not sure , i completely understood.
This is wha happens with the success message.
Pop up opens, i enter some info on pop up, click submit, the pop up itself refreshes and takes me back to my orginal page...i am still on the pop up but with the refereshed original page. At this point i also see my success message. But the main original page is sitting back all this while.
Check your popup page. You probably have an after-processing branch defined which will redirect to your original page. That is not necessarily bad, although i usually set it to redirect to the same page when using a popup. What will probably not work for you is the success message selector. If you defined "#success-message" as the auto-close selector, this means that the plugin will look for an element on the page in the popup for an element which matches this selector.
- What did you define for auto-close selector
- And on the page you redirect to after-processing of the form, how is the success message defined there
If (IF) you have set #success-message as the auto-close selector, and the popup is not closing, then this would mean that the popup message on the page does not match this selector!