Forums

Open only the form in a popup

smog20 16 Mar, 2014
Hi dear,

I'm trying to open a chrono form in a pop up but in state to show only the form in the pop up it shows the whole page with form.

What can I do to open only the form in the popup and not the fulle page with menu header etc.


Thanks a lot

Laurent
teldrive 10 Jun, 2014
Hi Bob
i need a little help about this issue
I have got pop-up form using JCE media and this link
<div style="margin-top: 30px;"><a href="?option=com_chronoforms5&chronoform=hosp_paper_form&event=load&prueba=3" class="jcepopup"><img src="images/editar.png"/>Editar</a></div>

i couldnt get working the code of this other in a simple form with just custom code😲
<?php
JHTML::_('behavior.modal'); 
?>
<div><a class="modal" href="?option=com_chronoforms5&chronoform=hosp_paper_form&event=load&prueba=3;tmpl=component" rel="{handler: 'iframe', size: {x: 600, y: 600}}">PRUEBA</a></div>


but the main issue, is I can pass params(prueba=3) from parent-form to pop-up-form but how can i return params to parent-form form?
GreyHead 11 Jun, 2014
Hi teldrive,

I found this article that looks as if it will do what you need. I think that using JavaScript to update an element (or several elements) in the parent window is probably the simplest way to pass data back.

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger