Hi All,
We are using clone button on a detail page and there is Save custom button on Clone page. Everything is working fine from cloning the record to saving clone record. But we have faced a strange issue, when user tries to click 2 time on the Save button on clone page, a javascript popup get displayed and it asked for staying on the page or leave the page. when we select leave the page, we see error on the page and record with blank value gets created in the system
The URL shows something like this …
https://nbcusales–sandbox1–c.cs25.visual.force.com/apex/pageName?Id=clone_1
Is anybody have idea why javascript popup gets displayed while clicking 2 time on the save button and why we get this Clone_1 ID instead of the new record ID?
Regards
Rahul
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.