formGenerator.html 408 B

1234567891011121314151617
  1. <div id="formDiv">
  2. </div>
  3. <script type "text/javascript">
  4. window.onload=loadScripts;
  5. function loadScripts(){
  6. LABKEY.requiresScript(["crf/formGenerator.js"],init);
  7. }
  8. function init(){
  9. console.log('Here form generator');
  10. //participantPortal.searchParams=new URLSearchParams(window.location.search);
  11. let action=function(){ formGenerator.addGenerator();};
  12. formGenerator.init(action);
  13. }
  14. </script>