I have edited the template dialog with some extra xml fields. These fields must be set in some inputfields that are also located in the form where my editor is in.
Example :
<form name='formulier'>
<input type=text name='test'>
</form>
Now in my template dialog i have to edit the javascript code for setting the value of the 'test' input field. But how do i get to the form?
I have tried something like window.opener.formulier or window.opener.document.formulier but i won't work.
Please help, thankx
Example :
<form name='formulier'>
<input type=text name='test'>
<? fck editor ?> etc.
</form>
Now in my template dialog i have to edit the javascript code for setting the value of the 'test' input field. But how do i get to the form?
I have tried something like window.opener.formulier or window.opener.document.formulier but i won't work.
Please help, thankx
RE: Add info to input field from template dialog
RE: Add info to input field from template dia
I've had good luck with parent.document.formname or parent.parent.document.formname...
Good luck