|
@@ -0,0 +1,17 @@
|
|
|
|
+<div id="formDiv">
|
|
|
|
+</div>
|
|
|
|
+
|
|
|
|
+<script type "text/javascript">
|
|
|
|
+window.onload=loadScripts;
|
|
|
|
+
|
|
|
|
+function loadScripts(){
|
|
|
|
+ LABKEY.requiresScript(["crf/formGenerator.js"],init);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+function init(){
|
|
|
|
+ console.log('Here form generator');
|
|
|
|
+ //participantPortal.searchParams=new URLSearchParams(window.location.search);
|
|
|
|
+ let action=function(){ formGenerator.addGenerator();};
|
|
|
|
+ formGenerator.init(action);
|
|
|
|
+}
|
|
|
|
+</script>
|