OpenURL not working "On Edit - On Success"?

OpenURL not working "On Edit - On Success"?

Hi Zoho,

On one of my forms I have an OpenURL command both "On Add - On Success" and "On Edit - On Success".

The script: openUrl("#Page:" + input.Project_Name + "_" + "Legal" + "_" + input.Ship_Name, "same window");
( input.Project_Name and  input.Ship_Name are both mandatory fields)

When adding an entry the openurl is working fine. When editing - I only get a " Data updated Successfully!" message on a blank html page, no redirecting anywhere.

On another form, same script, again -  "On Add - On Success" working fine, "On Edit - On Success" getting to the "Data updated successfully" blank html.

When changing the "Same window" to "Parent window" (the forms are loaded on in a popup window) - I get to see the parent windows loading, and than again redirecting me to the    "Data updated successfully" page.

Why?


Thanks
Ravid