Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Test Form Builder</title>
- <meta charset="utf-8">
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <!-- External JavaScript Libraries -->
- <script type="text/javascript" src="//js.jotform.com/JotFormAnywhere.js"></script>
- </head>
- <body>
- <script type="text/javascript">
- function loadBuilder() {
- JotformAnywhere.launchBuilder({
- //editMode: true, // This line of code makes the builder load correctly, but it doesn't funtion fully
- formID: "72568546905872"
- });
- }
- function insertForm() {
- JotformAnywhere.insertForm({
- formID: "72568546905872",
- insertTo: "#form1",
- height: 500,
- formEmbedUrl: "https://form.jotform.com/jsform/72568546905872",
- putDeleteButton: false
- });
- }
- </script>
- <div id="content">
- <h1>Form Builder Test Page</h1>
- <input onclick="insertForm()" title="Load Form" style="width: 250px; display: inline;" type="button" value="Insert form into Page" class="button" />
- <input onclick="loadBuilder()" title="Form builder" style="width: 250px; display: inline;" type="button" value="Load form into Form Builder" class="button" />
- <div style="display: block;" class="form-pub" id="form1"></div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement