Advertisement
Guest User

Untitled

a guest
Sep 17th, 2017
108
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Test Form Builder</title>
  5. <meta charset="utf-8">
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <!-- External JavaScript Libraries -->
  8. <script type="text/javascript" src="//js.jotform.com/JotFormAnywhere.js"></script>
  9.  
  10. </head>
  11. <body>
  12. <script type="text/javascript">
  13. function loadBuilder() {
  14. JotformAnywhere.launchBuilder({
  15. //editMode: true, // This line of code makes the builder load correctly, but it doesn't funtion fully
  16. formID: "72568546905872"
  17. });
  18. }
  19.  
  20. function insertForm() {
  21. JotformAnywhere.insertForm({
  22. formID: "72568546905872",
  23. insertTo: "#form1",
  24. height: 500,
  25. formEmbedUrl: "https://form.jotform.com/jsform/72568546905872",
  26. putDeleteButton: false
  27. });
  28. }
  29. </script>
  30. <div id="content">
  31. <h1>Form Builder Test Page</h1>
  32. <input onclick="insertForm()" title="Load Form" style="width: 250px; display: inline;" type="button" value="Insert form into Page" class="button" />
  33. <input onclick="loadBuilder()" title="Form builder" style="width: 250px; display: inline;" type="button" value="Load form into Form Builder" class="button" />
  34.  
  35. <div style="display: block;" class="form-pub" id="form1"></div>
  36. </div>
  37. </div>
  38. </body>
  39. </html>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement