Close html view popup from a form in the html view inside of a iframe.

Close html view popup from a form in the html view inside of a iframe.

I have an html view that opens in a zoho popup dialogue box.

The html view has a series of record views and forms all inside of separate iframes.

When one of the stateless forms inside the html view is submitted i need the entire zoho dialogue box to close.

I cannot seem to get this to work.

I have tried the openUrl functions but they all seem to apply to the iframe that the form is in rather than the whole window that the html view is in.

I cant seem to get the whole dialogue box to close.

Please help