participantPortal.html 695 B

123456789101112131415161718192021222324252627
  1. <table cellspacing="2" cellpadding="5" border="0">
  2. <!--<tr><td>Version: </td><td><strong id="version">0.0</strong></td></tr>-->
  3. </table>
  4. <div id="formDiv">
  5. </div>
  6. <div id="debugDiv" style="display:none">
  7. <h3>Debug notes</h3>
  8. <textarea cols="95" rows="5" id="formStatus">
  9. </textarea>
  10. </div>
  11. <script type "text/javascript">
  12. window.onload=loadScripts;
  13. function loadScripts(){
  14. LABKEY.requiresScript(["crf/participantPortal.js"],init);
  15. }
  16. function init(){
  17. console.log('Here participantPortal');
  18. participantPortal.searchParams=new URLSearchParams(window.location.search);
  19. let action=function(){ participantPortal.generateFormArray();};
  20. participantPortal.init(action);
  21. }
  22. </script>