[Resolved] Relationship form reload page outside iframe

This thread is resolved. Here is a description of the problem and solution.

Problem:
Relationship form reload page outside iframe

Solution:
There is no such native feature available to reload he relationship form within iframe.

You need to add custom jQuery/JS code that should trigger on successful form submission to reload the parent page.

For example:

window.top.location.reload();

Relevant Documentation:

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by GuidoP2150 1 month, 2 weeks ago.

Assigned support staff: Minesh.

Author
Posts
#1589295

Hello!

I have an iframe inside page A.
This iframe load page B with a relationship form.
I need reload page A when the form as submitted.
How can i do this?

#1589353

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

There is no such native feature available.

You need to add custom jQuery/JS code that should trigger on successful form submission to reload the parent page.

For example:

window.top.location.reload();

More info:
=> https://stackoverflow.com/questions/954454/how-to-reload-main-page-from-within-an-iframe

#1626481

Nice! Can you show an example?