From version < 3.11 >
edited by gru
on 11.05.2021, 13:11
To version < 3.14 >
edited by gru
on 11.05.2021, 13:13
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -56,8 +56,12 @@
56 56   var myBase = 'https://help6.formcycle.eu/xwiki/bin/edit/Examples/IncludeFormViaExternalContext/';
57 57   var fcBase = 'https://pro.formcloud.de/formcycle';
58 58   var myFormContainer = jQuery('#content');
59 - myFormContainer.html('');
60 - //myFormContainer.html('<iframe id="xm-form" src="'+fcBase+'/form/provide/'+formID+'?xfc-height-changed-evt=false" style="width:100%; height:1000px" scrolling="yes" frameborder="0" />');
59 + if (typeof formID != 'object') {
60 + myFormContainer.html('');
61 + myFormContainer.html('<iframe id="xm-form" src="'+fcBase+'/form/provide/'+formID+'" style="width:100%; height:1000px" scrolling="yes" frameborder="0" />');
62 +
63 +
64 + }
61 61   //renderForm(msg.data);
62 62   }
63 63   console.log("Adding eventlistener");
Copyright 2000-2025