href to popup using "zc_LoadIn=dialog" - and getting back to main page!

href to popup using "zc_LoadIn=dialog" - and getting back to main page!

Hi Zoho,

I use  "zc_LoadIn=dialog" to open a form in a popup windows from an html page. this works great, BUT- after submitting the form is popping up again, blank, for another use. 
I need that after submitting (or canceling) the form, the user will be redirected to back to the html page (after a refresh).

Reading this forum, I figured this could be done using "zc_NextUrl"


 -adding zc_NextUrl=#Page:parent_page_name gets me to the form I need, but empty (I have an ID specified for edit mode in the url).

-Adding zc_NextUrl=&zc_OpenUrlIn=parent the form loaded ok (with the entry detailes from the ID) but on sumbit I just got "Data updated Successfully!" on the parent window.


What am I missing here?


Thanks again!

Ravid