Hallo jamieO,
you might consider using a library which is available in SC 9.
We’re using this library to show another control-application to input additional data, process that and return.
It’s not exactly what you need, but maybe you can modify it:
// load library thickbox
sc_include_lib (“jquery_thickbox”);
// generate a button to call the popup windows with the Scriptcase application ‘email_select’ inside the popup
// using a field of type lable named {edit_to} where the new button to be shown
$string_link = sc_make_link(email_select, work_on=‘to’;selected_email_id={to});
{edit_to} = ‘<a href="’ . $string_link . ‘&TB_iframe=true&height=500&width=800&modal=true" class=“thickbox scButton_small” title=“Empf?nger bearbeiten” style=“vertical-align: middle; display:inline-block;”>’ . ‘Empf?nger bearbeiten’ . ‘</a>’;
// close the popup, to be placed inside the code of the popup applictaion, for example at the end of ValidateSuccess
echo “<script>self.parent.tb_remove();</script>”;
Hope this helps.
Best regards
Gunter Eibl
http://GunterEibl.de (German)
http://asdw.de - some Scriptcase & PHP tipps (English)
http://SECI.solutions (German)