CorrineKenner

WYSIWIG Gravity broken form on creativeguidance.com

Jan 21st, 2016
4,690
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 381.76 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3. <!--[if IE 8]>
  4. <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 wp-toolbar" lang="en-US">
  5. <![endif]-->
  6. <!--[if !(IE 8) ]><!-->
  7. <html xmlns="http://www.w3.org/1999/xhtml" class="wp-toolbar" lang="en-US">
  8. <!--<![endif]-->
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  11. <title>Forms &lsaquo; Creative Guidance &#8212; WordPress</title>
  12. <script type="text/javascript">
  13. addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
  14. var ajaxurl = '/wp-admin/admin-ajax.php',
  15. pagenow = 'toplevel_page_gf_edit_forms',
  16. typenow = '',
  17. adminpage = 'toplevel_page_gf_edit_forms',
  18. thousandsSeparator = ',',
  19. decimalPoint = '.',
  20. isRtl = 0;
  21. </script>
  22. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  23. <style type="text/css">
  24. img.wp-smiley,
  25. img.emoji {
  26. display: inline !important;
  27. border: none !important;
  28. box-shadow: none !important;
  29. height: 1em !important;
  30. width: 1em !important;
  31. margin: 0 .07em !important;
  32. vertical-align: -0.1em !important;
  33. background: none !important;
  34. padding: 0 !important;
  35. }
  36. </style>
  37. <link rel='stylesheet' href='http://creativeguidance.com/wp-admin/load-styles.php?c=1&amp;dir=ltr&amp;load=dashicons,admin-bar,wp-admin,buttons,media-views&amp;ver=4.4.1' type='text/css' media='all' />
  38. <link rel='stylesheet' id='open-sans-css' href='https://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&#038;subset=latin%2Clatin-ext&#038;ver=4.4.1' type='text/css' media='all' />
  39. <link rel='stylesheet' id='thickbox-css' href='http://creativeguidance.com/wp-includes/js/thickbox/thickbox.css?ver=4.4.1' type='text/css' media='all' />
  40. <!--[if lte IE 7]>
  41. <link rel='stylesheet' id='ie-css' href='http://creativeguidance.com/wp-admin/css/ie.min.css?ver=4.4.1' type='text/css' media='all' />
  42. <![endif]-->
  43. <link rel='stylesheet' id='mediaelement-css' href='http://creativeguidance.com/wp-includes/js/mediaelement/mediaelementplayer.min.css?ver=2.18.1' type='text/css' media='all' />
  44. <link rel='stylesheet' id='wp-mediaelement-css' href='http://creativeguidance.com/wp-includes/js/mediaelement/wp-mediaelement.css?ver=4.4.1' type='text/css' media='all' />
  45. <link rel='stylesheet' id='gforms_locking_css-css' href='http://creativeguidance.com/wp-content/plugins/gravityforms/includes/locking/css/locking.min.css?ver=1.9.15' type='text/css' media='all' />
  46. <script type="text/javascript">
  47. window._wpemojiSettings = {"baseUrl":"http:\/\/s.w.org\/images\/core\/emoji\/72x72\/","ext":".png","source":{"concatemoji":"http:\/\/creativeguidance.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.4.1"}};
  48. !function(a,b,c){function d(a){var c,d=b.createElement("canvas"),e=d.getContext&&d.getContext("2d");return e&&e.fillText?(e.textBaseline="top",e.font="600 32px Arial","flag"===a?(e.fillText(String.fromCharCode(55356,56806,55356,56826),0,0),d.toDataURL().length>3e3):"diversity"===a?(e.fillText(String.fromCharCode(55356,57221),0,0),c=e.getImageData(16,16,1,1).data.toString(),e.fillText(String.fromCharCode(55356,57221,55356,57343),0,0),c!==e.getImageData(16,16,1,1).data.toString()):("simple"===a?e.fillText(String.fromCharCode(55357,56835),0,0):e.fillText(String.fromCharCode(55356,57135),0,0),0!==e.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag"),unicode8:d("unicode8"),diversity:d("diversity")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag&&c.supports.unicode8&&c.supports.diversity||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
  49. </script>
  50. <script type='text/javascript' src='http://creativeguidance.com/wp-includes/js/jquery/jquery.js?ver=1.11.3'></script>
  51. <script type='text/javascript' src='http://creativeguidance.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
  52. <script type='text/javascript' src='http://creativeguidance.com/wp-includes/js/jquery/ui/core.min.js?ver=1.11.4'></script>
  53. <script type='text/javascript' src='http://creativeguidance.com/wp-includes/js/jquery/ui/widget.min.js?ver=1.11.4'></script>
  54. <script type='text/javascript' src='http://creativeguidance.com/wp-includes/js/jquery/ui/position.min.js?ver=1.11.4'></script>
  55. <script type='text/javascript' src='http://creativeguidance.com/wp-includes/js/jquery/ui/tooltip.min.js?ver=1.11.4'></script>
  56. <script type='text/javascript' src='http://creativeguidance.com/wp-content/plugins/gravityforms/js/tooltip_init.min.js?ver=1.9.15'></script>
  57. <link rel='stylesheet' id='gform_tooltip-css' href='http://creativeguidance.com/wp-content/plugins/gravityforms/css/tooltip.min.css?ver=1.9.15' type='text/css' media='all' />
  58. <script type='text/javascript'>
  59. /* <![CDATA[ */
  60. var gform_gravityforms = {"strings":{"invalid_file_extension":"This type of file is not allowed. Must be one of the following: ","delete_file":"Delete this file","in_progress":"in progress","file_exceeds_limit":"File exceeds size limit","illegal_extension":"This type of file is not allowed.","max_reached":"Maximum number of files reached","unknown_error":"There was a problem while saving the file on the server","currently_uploading":"Please wait for the uploading to complete","cancel":"Cancel","cancel_upload":"Cancel this upload","cancelled":"Cancelled"},"vars":{"images_url":"http:\/\/creativeguidance.com\/wp-content\/plugins\/gravityforms\/images"}};
  61. /* ]]> */
  62. </script>
  63. <script type='text/javascript'>
  64. /* <![CDATA[ */
  65. var gflockingVars = {"hasLock":"1","lockUI":"<div id=\"gform-lock-dialog\" class=\"notification-dialog-wrap hidden\">\n <div class=\"notification-dialog-background\"><\/div>\n <div class=\"notification-dialog\"><div class=\"gform-taken-over\">\n <div class=\"gform-locked-avatar\"><\/div>\n <p class=\"wp-tab-first\" tabindex=\"0\">\n <span class=\"currently-editing\"><\/span><br>\n <\/p>\n <p>\n <a id=\"gform-release-lock-button\" class=\"button button-primary wp-tab-last\" href=\"http:\/\/creativeguidance.com\/wp-admin\/admin.php?page=gf_edit_forms&id=6&release-edit-lock=1\">Accept<\/a>\n <button id=\"gform-reject-lock-request-button\" style=\"display:none\" class=\"button button-primary wp-tab-last\">Reject Request<\/button>\n <\/p>\n <\/div> <\/div>\n <\/div>","objectID":"6","objectType":"form","strings":{"noResponse":"No response","requestAgain":"Request again","requestError":"Error","gainedControl":"You now have control","rejected":"Your request was rejected","pending":"Pending"}};
  66. /* ]]> */
  67. </script>
  68.  
  69. <script type='text/javascript'>
  70. /* <![CDATA[ */
  71. var userSettings = {"url":"\/","uid":"26","time":"1453396425","secure":""};var heartbeatSettings = {"nonce":"70b3f69e40"};/* ]]> */
  72. </script>
  73. <script type='text/javascript' src='http://creativeguidance.com/wp-admin/load-scripts.php?c=1&amp;load%5B%5D=utils,plupload,jquery-ui-menu,jquery-ui-autocomplete,heartbeat&amp;ver=4.4.1'></script>
  74. <!--[if lt IE 8]>
  75. <script type='text/javascript' src='http://creativeguidance.com/wp-includes/js/json2.min.js?ver=2015-05-03'></script>
  76. <![endif]-->
  77. <script type='text/javascript' src='http://creativeguidance.com/wp-content/plugins/gravityforms/js/jquery.json.js?ver=1.9.15'></script>
  78. <script type='text/javascript' src='http://creativeguidance.com/wp-content/plugins/gravityforms/js/gravityforms.min.js?ver=1.9.15'></script>
  79. <script type='text/javascript' src='http://creativeguidance.com/wp-content/plugins/gravityforms/js/forms.min.js?ver=1.9.15'></script>
  80. <script type='text/javascript' src='http://creativeguidance.com/wp-content/plugins/gravityforms/js/placeholders.jquery.min.js?ver=1.9.15'></script>
  81. <script type='text/javascript' src='http://creativeguidance.com/wp-content/plugins/gravityforms/js/form_admin.min.js?ver=1.9.15'></script>
  82. <script type='text/javascript' src='http://creativeguidance.com/wp-content/plugins/gravityforms/js/floatmenu_init.min.js?ver=1.9.15'></script>
  83. <script type='text/javascript' src='http://creativeguidance.com/wp-content/plugins/gravityforms/js/menu.min.js?ver=1.9.15'></script>
  84. <script type='text/javascript' src='http://creativeguidance.com/wp-content/plugins/gravityforms/includes/locking/js/locking.min.js?ver=1.9.15'></script>
  85. <style>.et_pb_modal_settings_container{top:32px;bottom:0;width:100%;left:0;margin:0;}.et-pb-options-tabs-links{width:100%;}</style> <style type="text/css" media="screen">
  86. #adminmenu #menu-posts-download .wp-menu-image:before,
  87. #dashboard_right_now .download-count:before {
  88. content: '\f316';
  89. }
  90. #icon-edit.icon32-posts-download {
  91. background: url(http://creativeguidance.com/wp-content/plugins/easy-digital-downloads/assets/images/edd-cpt.png) -7px -5px no-repeat;
  92. }
  93. #edd-media-button {
  94. background: url(http://creativeguidance.com/wp-content/plugins/easy-digital-downloads/assets/images/edd-icon.png) 0 -16px no-repeat;
  95. background-size: 12px 30px;
  96. }
  97. @media
  98. only screen and (-webkit-min-device-pixel-ratio: 1.5),
  99. only screen and ( min--moz-device-pixel-ratio: 1.5),
  100. only screen and ( -o-min-device-pixel-ratio: 3/2),
  101. only screen and ( min-device-pixel-ratio: 1.5),
  102. only screen and ( min-resolution: 1.5dppx) {
  103. #icon-edit.icon32-posts-download {
  104. background: url(http://creativeguidance.com/wp-content/plugins/easy-digital-downloads/assets/images/edd-cpt-2x.png) no-repeat -7px -5px !important;
  105. background-size: 55px 45px !important;
  106. }
  107. #edd-media-button {
  108. background-image: url(http://creativeguidance.com/wp-content/plugins/easy-digital-downloads/assets/images/edd-icon-2x.png);
  109. background-position: 0 -17px;
  110. }
  111. }
  112. </style>
  113. <style type="text/css" media="screen">
  114. /*<![CDATA[*/
  115. .edd-about-wrap .edd-badge { float: right; border-radius: 4px; margin: 0 0 15px 15px; max-width: 100px; }
  116. .edd-about-wrap #edd-header { margin-bottom: 15px; }
  117. .edd-about-wrap #edd-header h1 { margin-bottom: 15px !important; }
  118. .edd-about-wrap .about-text { margin: 0 0 15px; max-width: 670px; }
  119. .edd-about-wrap .feature-section { margin-top: 20px; }
  120. .edd-about-wrap .feature-section-content,
  121. .edd-about-wrap .feature-section-media { width: 50%; box-sizing: border-box; }
  122. .edd-about-wrap .feature-section-content { float: left; padding-right: 50px; }
  123. .edd-about-wrap .feature-section-content h4 { margin: 0 0 1em; }
  124. .edd-about-wrap .feature-section-media { float: right; text-align: right; margin-bottom: 20px; }
  125. .edd-about-wrap .feature-section-media img { border: 1px solid #ddd; }
  126. .edd-about-wrap .feature-section:not(.under-the-hood) .col { margin-top: 0; }
  127. /* responsive */
  128. @media all and ( max-width: 782px ) {
  129. .edd-about-wrap .feature-section-content,
  130. .edd-about-wrap .feature-section-media { float: none; padding-right: 0; width: 100%; text-align: left; }
  131. .edd-about-wrap .feature-section-media img { float: none; margin: 0 0 20px; }
  132. }
  133. /*]]>*/
  134. </style>
  135. <link rel='stylesheet' type='text/css' href='http://creativeguidance.com/wp-content/plugins/front-end-only-users/css/Admin.css' />
  136. <link id="wp-admin-canonical" rel="canonical" href="http://creativeguidance.com/wp-admin/admin.php?page=gf_edit_forms&#038;id=6" />
  137. <script>
  138. if ( window.history.replaceState ) {
  139. window.history.replaceState( null, null, document.getElementById( 'wp-admin-canonical' ).href + window.location.hash );
  140. }
  141. </script>
  142. <script type="text/javascript">var _wpColorScheme = {"icons":{"base":"#999","focus":"#00a0d2","current":"#fff"}};</script>
  143. <link rel="icon" href="http://creativeguidance.com/wp-content/uploads/2015/11/cropped-Corrine-Kenner-Creative-Guidance-Tarot-and-Astrology-32x32.png" sizes="32x32" />
  144. <link rel="icon" href="http://creativeguidance.com/wp-content/uploads/2015/11/cropped-Corrine-Kenner-Creative-Guidance-Tarot-and-Astrology-192x192.png" sizes="192x192" />
  145. <link rel="apple-touch-icon-precomposed" href="http://creativeguidance.com/wp-content/uploads/2015/11/cropped-Corrine-Kenner-Creative-Guidance-Tarot-and-Astrology-180x180.png" />
  146. <meta name="msapplication-TileImage" content="http://creativeguidance.com/wp-content/uploads/2015/11/cropped-Corrine-Kenner-Creative-Guidance-Tarot-and-Astrology-270x270.png" />
  147. <!-- Aesop Upgrade Map Meta -->
  148. <script>
  149. jQuery(document).ready(function($){
  150. $('#aesop-upgrade-mapbox').click(function(e){
  151.  
  152. e.preventDefault();
  153.  
  154. var data = {
  155. action: 'upgrade_mapbox',
  156. security: 'dc98a3ef69'
  157. };
  158.  
  159. $.post(ajaxurl, data, function(response) {
  160.  
  161. if ( true == response.success ) {
  162. alert('All done!');
  163. location.reload();
  164. }
  165.  
  166. });
  167.  
  168. });
  169. });
  170. </script>
  171. <script type="text/javascript">var gf_vars = {"active":"Active","inactive":"Inactive","save":"Save","update":"Update","previousLabel":"Previous","selectFormat":"Select a format","editToViewAll":"5 of %d items shown. Edit field to view all","enterValue":"Enter a value","formTitle":"Untitled Form","formDescription":"We would love to hear from you! Please fill out this form and we will get in touch with you shortly.","formConfirmationMessage":"Thanks for contacting us! We will get in touch with you shortly.","buttonText":"Submit","loading":"Loading...","thisFieldIf":"this field if","thisSectionIf":"this section if","thisPage":"this page","thisFormButton":"this form button if","show":"Show","hide":"Hide","all":"All","any":"Any","ofTheFollowingMatch":"of the following match:","is":"is","isNot":"is not","greaterThan":"greater than","lessThan":"less than","contains":"contains","startsWith":"starts with","endsWith":"ends with","thisConfirmation":"Use this confirmation if","thisNotification":"Send this notification if","confirmationSave":"Save","confirmationSaving":"Saving...","confirmationAreYouSure":"Are you sure you wish to cancel these changes?","confirmationIssueSaving":"There was an issue saving this confirmation.","confirmationConfirmDelete":"Are you sure you wish to delete this confirmation?","confirmationIssueDeleting":"There was an issue deleting this confirmation.","confirmationConfirmDiscard":"There are unsaved changes to the current confirmation. Would you like to discard these changes?","confirmationDefaultName":"Untitled Confirmation","confirmationDefaultMessage":"Thanks for contacting us! We will get in touch with you shortly.","confirmationInvalidPageSelection":"Please select a page.","confirmationInvalidRedirect":"Please enter a URL.","confirmationInvalidName":"Please enter a confirmation name.","conditionalLogicDependency":"This form contains conditional logic dependent upon this field. Are you sure you want to delete this field? 'OK' to delete, 'Cancel' to abort.","conditionalLogicDependencyChoice":"This form contains conditional logic dependent upon this choice. Are you sure you want to delete this choice? 'OK' to delete, 'Cancel' to abort.","conditionalLogicDependencyChoiceEdit":"This form contains conditional logic dependent upon this choice. Are you sure you want to modify this choice? 'OK' to delete, 'Cancel' to abort.","mergeTagsTooltip":"<h6>Merge Tags<\/h6>Merge tags allow you to dynamically populate submitted field values in your form content wherever this merge tag icon is present.","baseUrl":"http:\/\/creativeguidance.com\/wp-content\/plugins\/gravityforms","gf_currency_config":{"name":"U.S. Dollar","symbol_left":"$","symbol_right":"","symbol_padding":"","thousand_separator":",","decimal_separator":".","decimals":2},"otherChoiceValue":"Other","isFormTrash":false,"currentlyAddingField":false,"addFieldFilter":"Add a condition","removeFieldFilter":"Remove a condition","filterAndAny":"Include results if {0} match:","customChoices":"Custom Choices","predefinedChoices":"Predefined Choices","mergeTags":{"ungrouped":{"label":false,"tags":[{"tag":"{all_fields}","label":"All Submitted Fields"}]},"required":{"label":"Required form fields","tags":[{"tag":"{Would you like to share your work?:12}","label":"Would you like to share your work?"},{"tag":"{Give your piece a title:7}","label":"Give your piece a title"},{"tag":"{Include a byline (Prefix):8.2}","label":"Include a byline (Prefix)"},{"tag":"{Include a byline (First):8.3}","label":"Include a byline (First)"},{"tag":"{Include a byline (Middle):8.4}","label":"Include a byline (Middle)"},{"tag":"{Include a byline (Last):8.6}","label":"Include a byline (Last)"},{"tag":"{Include a byline (Suffix):8.8}","label":"Include a byline (Suffix)"},{"tag":"{Your contact information:6}","label":"Your contact information"}]},"optional":{"label":"Optional form fields","tags":[{"tag":"{Start your story here:1}","label":"Start your story here"},{"tag":"{Free publicity:10}","label":"Free publicity"}]},"pricing":{"label":"Pricing form fields","tags":[]},"other":{"label":"Other","tags":[{"tag":"{ip}","label":"User IP Address"},{"tag":"{date_mdy}","label":"Date (mm\/dd\/yyyy)"},{"tag":"{date_dmy}","label":"Date (dd\/mm\/yyyy)"},{"tag":"{embed_post:ID}","label":"Embed Post\/Page Id"},{"tag":"{embed_post:post_title}","label":"Embed Post\/Page Title"},{"tag":"{embed_url}","label":"Embed URL"},{"tag":"{entry_id}","label":"Entry Id"},{"tag":"{entry_url}","label":"Entry URL"},{"tag":"{form_id}","label":"Form Id"},{"tag":"{form_title}","label":"Form Title"},{"tag":"{user_agent}","label":"HTTP User Agent"},{"tag":"{referer}","label":"HTTP Referer URL"},{"tag":"{post_id}","label":"Post Id"},{"tag":"{post_edit_url}","label":"Post Edit URL"},{"tag":"{user:display_name}","label":"User Display Name"},{"tag":"{user:user_email}","label":"User Email"},{"tag":"{user:user_login}","label":"User Login"}]},"custom":{"label":"Custom","tags":[]}}};</script><script type="text/javascript">
  172. /* <![CDATA[ */
  173. var wpNotesIsJetpackClient = true;
  174. var wpNotesIsJetpackClientV2 = true;
  175. var wpNotesLinkAccountsURL = 'http://creativeguidance.com/wp-admin/admin.php?page=jetpack';
  176. /* ]]> */
  177. </script>
  178. <style type="text/css" media="print">#wpadminbar { display:none; }</style>
  179. </head>
  180. <body class="wp-admin wp-core-ui no-js jetpack-connected et-wp-after-3_8 toplevel_page_gf_edit_forms auto-fold admin-bar branch-4-4 version-4-4-1 admin-color-fresh locale-en-us no-customize-support no-svg">
  181. <script type="text/javascript">
  182. document.body.className = document.body.className.replace('no-js','js');
  183. </script>
  184.  
  185. <script type="text/javascript">
  186. (function() {
  187. var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)');
  188.  
  189. request = true;
  190.  
  191. b[c] = b[c].replace( rcs, ' ' );
  192. b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs;
  193. }());
  194. </script>
  195.  
  196. <div id="wpwrap">
  197.  
  198. <div id="adminmenumain" role="navigation" aria-label="Main menu">
  199. <a href="#wpbody-content" class="screen-reader-shortcut">Skip to main content</a>
  200. <a href="#wp-toolbar" class="screen-reader-shortcut">Skip to toolbar</a>
  201. <div id="adminmenuback"></div>
  202. <div id="adminmenuwrap">
  203. <ul id="adminmenu">
  204.  
  205.  
  206. <li class="wp-first-item wp-has-submenu wp-not-current-submenu menu-top toplevel_page_wpadm_wp_full_backup_dropbox_pro menu-top-first" id="toplevel_page_wpadm_wp_full_backup_dropbox_pro"><a href='admin.php?page=wpadm_wp_full_backup_dropbox_pro' class="wp-first-item wp-has-submenu wp-not-current-submenu menu-top toplevel_page_wpadm_wp_full_backup_dropbox_pro menu-top-first" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before'><img src="http://creativeguidance.com/wp-content/plugins/dropbox-backup-pro/img/wpadm-logo.png" alt="" /></div><div class='wp-menu-name'>Dropbox Full Backup PRO</div></a>
  207. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Dropbox Full Backup PRO</li><li class="wp-first-item"><a href='admin.php?page=wpadm_wp_full_backup_dropbox_pro' class="wp-first-item">Dropbox Full Backup PRO</a></li><li><a href='admin.php?page=wpadm_plugins'>WPAdm</a></li></ul></li>
  208. <li class="wp-has-submenu wp-not-current-submenu menu-top toplevel_page_jetpack" id="toplevel_page_jetpack"><a href='admin.php?page=jetpack' class="wp-has-submenu wp-not-current-submenu menu-top toplevel_page_jetpack" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before'><br /></div><div class='wp-menu-name'>Jetpack</div></a>
  209. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Jetpack</li><li class="wp-first-item"><a href='admin.php?page=jetpack' class="wp-first-item">Jetpack</a></li><li><a href='admin.php?page=jetpack_modules'>Settings</a></li><li><a href='admin.php?page=omnisearch'>Omnisearch</a></li><li><a href='admin.php?page=stats'>Site Stats</a></li><li><a href='admin.php?page=akismet-key-config'>Akismet</a></li></ul></li>
  210. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-top-first menu-icon-dashboard" id="menu-dashboard">
  211. <a href='index.php' class="wp-has-submenu wp-not-current-submenu menu-top menu-top-first menu-icon-dashboard" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-dashboard'><br /></div><div class='wp-menu-name'>Dashboard</div></a>
  212. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Dashboard</li><li class="wp-first-item"><a href='index.php' class="wp-first-item">Home</a></li><li><a href='update-core.php'>Updates <span class='update-plugins count-5' title='4 Plugin Updates, 1 Theme Update'><span class='update-count'>5</span></span></a></li></ul></li>
  213. <li class="wp-has-submenu wp-not-current-submenu menu-top toplevel_page_godaddy" id="toplevel_page_godaddy">
  214. <a href='http://creativeguidance.com/wp-admin/admin.php?page=godaddy&tab=help' class="wp-has-submenu wp-not-current-submenu menu-top toplevel_page_godaddy" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before'><br /></div><div class='wp-menu-name'>GoDaddy</div></a>
  215. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>GoDaddy</li><li class="wp-first-item"><a href='http://creativeguidance.com/wp-admin/admin.php?page=godaddy&tab=help' class="wp-first-item">FAQ &amp; Support</a></li><li><a href='http://creativeguidance.com/wp-admin/admin.php?page=godaddy&tab=plugins'>Plugin Partners</a></li></ul></li>
  216. <li class="wp-has-submenu wp-not-current-submenu menu-top toplevel_page_wpadm_wp_full_backup_dropbox menu-top-last" id="toplevel_page_wpadm_wp_full_backup_dropbox"><a href='admin.php?page=wpadm_wp_full_backup_dropbox' class="wp-has-submenu wp-not-current-submenu menu-top toplevel_page_wpadm_wp_full_backup_dropbox menu-top-last" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before'><img src="http://creativeguidance.com/wp-content/plugins/dropbox-backup/img/wpadm-logo.png" alt="" /></div><div class='wp-menu-name'>Dropbox Full Backup</div></a>
  217. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Dropbox Full Backup</li><li class="wp-first-item"><a href='admin.php?page=wpadm_wp_full_backup_dropbox' class="wp-first-item">Dropbox Full Backup</a></li><li><a href='admin.php?page=wpadm_plugins'>WPAdm</a></li></ul></li>
  218. <li class="wp-not-current-submenu wp-menu-separator" aria-hidden="true"><div class="separator"></div></li>
  219. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-post open-if-no-js menu-top-first" id="menu-posts">
  220. <a href='edit.php' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-post open-if-no-js menu-top-first" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-post'><br /></div><div class='wp-menu-name'>Posts</div></a>
  221. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Posts</li><li class="wp-first-item"><a href='edit.php' class="wp-first-item">All Posts</a></li><li><a href='post-new.php'>Add New</a></li><li><a href='edit-tags.php?taxonomy=category'>Categories</a></li><li><a href='edit-tags.php?taxonomy=post_tag'>Tags</a></li></ul></li>
  222. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-media" id="menu-media">
  223. <a href='upload.php' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-media" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-media'><br /></div><div class='wp-menu-name'>Media</div></a>
  224. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Media</li><li class="wp-first-item"><a href='upload.php' class="wp-first-item">Library</a></li><li><a href='media-new.php'>Add New</a></li><li><a href='upload.php?page=tiny-bulk-compress'>Compress All Images</a></li></ul></li>
  225. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-ai_galleries" id="menu-posts-ai_galleries">
  226. <a href='edit.php?post_type=ai_galleries' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-ai_galleries" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before'><img src="http://creativeguidance.com/wp-content/plugins/aesop-story-engine/admin/assets/img/icon.png" alt="" /></div><div class='wp-menu-name'>Galleries</div></a>
  227. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Galleries</li><li class="wp-first-item"><a href='edit.php?post_type=ai_galleries' class="wp-first-item">All Galleries</a></li><li><a href='post-new.php?post_type=ai_galleries'>New Gallery</a></li></ul></li>
  228. <li class="wp-has-submenu wp-has-current-submenu wp-menu-open menu-top toplevel_page_gf_edit_forms" id="toplevel_page_gf_edit_forms"><a href='admin.php?page=gf_edit_forms' class="wp-has-submenu wp-has-current-submenu wp-menu-open menu-top toplevel_page_gf_edit_forms" ><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image svg' style="background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSItMTUgNzcgNTgxIDY0MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAtMTUgNzcgNTgxIDY0MCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PGcgaWQ9IkxheWVyXzIiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik00ODkuNSwyMjdMNDg5LjUsMjI3TDMxNS45LDEyNi44Yy0yMi4xLTEyLjgtNTguNC0xMi44LTgwLjUsMEw2MS44LDIyN2MtMjIuMSwxMi44LTQwLjMsNDQuMi00MC4zLDY5Ljd2MjAwLjVjMCwyNS42LDE4LjEsNTYuOSw0MC4zLDY5LjdsMTczLjYsMTAwLjJjMjIuMSwxMi44LDU4LjQsMTIuOCw4MC41LDBMNDg5LjUsNTY3YzIyLjItMTIuOCw0MC4zLTQ0LjIsNDAuMy02OS43VjI5Ni44QzUyOS44LDI3MS4yLDUxMS43LDIzOS44LDQ4OS41LDIyN3ogTTQwMSwzMDAuNHY1OS4zSDI0MXYtNTkuM0g0MDF6IE0xNjMuMyw0OTAuOWMtMTYuNCwwLTI5LjYtMTMuMy0yOS42LTI5LjZjMC0xNi40LDEzLjMtMjkuNiwyOS42LTI5LjZzMjkuNiwxMy4zLDI5LjYsMjkuNkMxOTIuOSw0NzcuNiwxNzkuNiw0OTAuOSwxNjMuMyw0OTAuOXogTTE2My4zLDM1OS43Yy0xNi40LDAtMjkuNi0xMy4zLTI5LjYtMjkuNnMxMy4zLTI5LjYsMjkuNi0yOS42czI5LjYsMTMuMywyOS42LDI5LjZTMTc5LjYsMzU5LjcsMTYzLjMsMzU5Ljd6IE0yNDEsNDkwLjl2LTU5LjNoMTYwdjU5LjNIMjQxeiIvPjwvZz48L3N2Zz4=')"><br /></div><div class='wp-menu-name'>Forms</div></a>
  229. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Forms</li><li class="wp-first-item current"><a href='admin.php?page=gf_edit_forms' class="wp-first-item current">Forms</a></li><li><a href='admin.php?page=gf_new_form'>New Form</a></li><li><a href='admin.php?page=gf_entries'>Entries</a></li><li><a href='admin.php?page=gf_settings'>Settings</a></li><li><a href='admin.php?page=gf_export'>Import/Export</a></li><li><a href='admin.php?page=gf_update'>Updates</a></li><li><a href='admin.php?page=gf_addons'>Add-Ons</a></li><li><a href='admin.php?page=gf_help'>Help</a></li></ul></li>
  230. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-character_carousel" id="menu-posts-character_carousel">
  231. <a href='edit.php?post_type=character_carousel' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-character_carousel" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-businessman'><br /></div><div class='wp-menu-name'>Carousels</div></a>
  232. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Carousels</li><li class="wp-first-item"><a href='edit.php?post_type=character_carousel' class="wp-first-item">All Carousels</a></li><li><a href='post-new.php?post_type=character_carousel'>Add New</a></li><li><a href='edit.php?post_type=character_carousel&#038;page=aesopcc-license'>License</a></li></ul></li>
  233. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-page" id="menu-pages">
  234. <a href='edit.php?post_type=page' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-page" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-page'><br /></div><div class='wp-menu-name'>Pages</div></a>
  235. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Pages</li><li class="wp-first-item"><a href='edit.php?post_type=page' class="wp-first-item">All Pages</a></li><li><a href='post-new.php?post_type=page'>Add New</a></li></ul></li>
  236. <li class="wp-not-current-submenu menu-top menu-icon-comments" id="menu-comments">
  237. <a href='edit-comments.php' class="wp-not-current-submenu menu-top menu-icon-comments" ><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-comments'><br /></div><div class='wp-menu-name'>Comments <span class="awaiting-mod count-0"><span class="pending-count">0</span></span></div></a></li>
  238. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-download" id="menu-posts-download">
  239. <a href='edit.php?post_type=download' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-download" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-post'><br /></div><div class='wp-menu-name'>Downloads</div></a>
  240. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Downloads</li><li class="wp-first-item"><a href='edit.php?post_type=download' class="wp-first-item">All Downloads</a></li><li><a href='post-new.php?post_type=download'>Add New</a></li><li><a href='edit-tags.php?taxonomy=download_category&amp;post_type=download'>Categories</a></li><li><a href='edit-tags.php?taxonomy=download_tag&amp;post_type=download'>Tags</a></li><li><a href='edit.php?post_type=download&#038;page=edd-payment-history'>Payment History</a></li><li><a href='edit.php?post_type=download&#038;page=edd-customers'>Customers</a></li><li><a href='edit.php?post_type=download&#038;page=edd-discounts'>Discount Codes</a></li><li><a href='edit.php?post_type=download&#038;page=edd-reports'>Reports</a></li><li><a href='edit.php?post_type=download&#038;page=edd-settings'>Settings</a></li><li><a href='edit.php?post_type=download&#038;page=edd-tools'>Tools</a></li><li><a href='edit.php?post_type=download&#038;page=edd-addons'>Extensions</a></li></ul></li>
  241. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-ufaq" id="menu-posts-ufaq">
  242. <a href='edit.php?post_type=ufaq' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-ufaq" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-format-status'><br /></div><div class='wp-menu-name'>FAQs</div></a>
  243. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>FAQs</li><li class="wp-first-item"><a href='edit.php?post_type=ufaq' class="wp-first-item">FAQs</a></li><li><a href='post-new.php?post_type=ufaq'>Add New</a></li><li><a href='edit-tags.php?taxonomy=ufaq-category&amp;post_type=ufaq'>FAQ Categories</a></li><li><a href='edit-tags.php?taxonomy=ufaq-tag&amp;post_type=ufaq'>FAQ Tags</a></li><li><a href='edit.php?post_type=ufaq&#038;page=options'>FAQ Settings</a></li><li><a href='edit.php?post_type=ufaq&#038;page=export'>FAQ Export</a></li><li><a href='edit.php?post_type=ufaq&#038;page=import_posts'>FAQ Import</a></li></ul></li>
  244. <li class="wp-not-current-submenu menu-top menu-icon-feedback" id="menu-posts-feedback">
  245. <a href='edit.php?post_type=feedback' class="wp-not-current-submenu menu-top menu-icon-feedback" ><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before'><img src="http://creativeguidance.com/wp-content/plugins/jetpack/modules/contact-form//images/grunion-menu.png" alt="" /></div><div class='wp-menu-name'>Feedback</div></a></li>
  246. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-article" id="menu-posts-article">
  247. <a href='edit.php?post_type=article' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-article" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before'><img src="http://creativeguidance.com/wp-content/plugins/issuem//images/issuem-16x16.png" alt="" /></div><div class='wp-menu-name'>Articles</div></a>
  248. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Articles</li><li class="wp-first-item"><a href='edit.php?post_type=article' class="wp-first-item">Articles</a></li><li><a href='post-new.php?post_type=article'>Add New Article</a></li><li><a href='edit-tags.php?taxonomy=category&amp;post_type=article'>Categories</a></li><li><a href='edit-tags.php?taxonomy=post_tag&amp;post_type=article'>Tags</a></li><li><a href='edit-tags.php?taxonomy=issuem_issue&amp;post_type=article'>Issues</a></li><li><a href='edit.php?post_type=article&#038;page=issuem'>IssueM Settings</a></li><li><a href='edit.php?post_type=article&#038;page=issuem-help'>IssueM Help</a></li><li><a href='edit.php?post_type=article&#038;page=issuem-addons'>Add-Ons</a></li></ul></li>
  249. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-project" id="menu-posts-project">
  250. <a href='edit.php?post_type=project' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-project" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-post'><br /></div><div class='wp-menu-name'>Projects</div></a>
  251. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Projects</li><li class="wp-first-item"><a href='edit.php?post_type=project' class="wp-first-item">All Projects</a></li><li><a href='post-new.php?post_type=project'>Add New</a></li><li><a href='edit-tags.php?taxonomy=project_category&amp;post_type=project'>Categories</a></li><li><a href='edit-tags.php?taxonomy=project_tag&amp;post_type=project'>Tags</a></li></ul></li>
  252. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-bne_testimonials" id="menu-posts-bne_testimonials">
  253. <a href='edit.php?post_type=bne_testimonials' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-bne_testimonials" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-id-alt'><br /></div><div class='wp-menu-name'>Testimonials <span class="update-plugins count-0"><span class="plugin-count">0</span></span></div></a>
  254. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Testimonials <span class="update-plugins count-0"><span class="plugin-count">0</span></span></li><li class="wp-first-item"><a href='edit.php?post_type=bne_testimonials' class="wp-first-item">All Testimonials</a></li><li><a href='post-new.php?post_type=bne_testimonials'>Add New</a></li><li><a href='edit-tags.php?taxonomy=bne-testimonials-taxonomy&amp;post_type=bne_testimonials'>Categories</a></li><li><a href='edit.php?post_type=bne_testimonials_sg'>Shortcode Generator</a></li><li><a href='edit.php?post_type=bne_testimonials&#038;page=bne-testimonial-help'>Help</a></li></ul></li>
  255. <li class="wp-has-submenu wp-not-current-submenu menu-top toplevel_page_wpcf7" id="toplevel_page_wpcf7"><a href='admin.php?page=wpcf7' class="wp-has-submenu wp-not-current-submenu menu-top toplevel_page_wpcf7" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-email'><br /></div><div class='wp-menu-name'>Contact</div></a>
  256. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Contact</li><li class="wp-first-item"><a href='admin.php?page=wpcf7' class="wp-first-item">Contact Forms</a></li><li><a href='admin.php?page=wpcf7-new'>Add New</a></li><li><a href='admin.php?page=wpcf7-integration'>Integration</a></li></ul></li>
  257. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-generic toplevel_page_EWD-FEUP-options menu-top-last" id="toplevel_page_EWD-FEUP-options"><a href='admin.php?page=EWD-FEUP-options' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-generic toplevel_page_EWD-FEUP-options menu-top-last" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-generic'><br /></div><div class='wp-menu-name'>F-E Users</div></a>
  258. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>F-E Users</li><li class="wp-first-item"><a href='admin.php?page=EWD-FEUP-options' class="wp-first-item">F-E Users</a></li><li><a href='admin.php?page=EWD-FEUP-options&#038;DisplayPage=Users'>Users</a></li><li><a href='admin.php?page=EWD-FEUP-options&#038;DisplayPage=Field'>Fields</a></li><li><a href='admin.php?page=EWD-FEUP-options&#038;DisplayPage=Statistics'>Statistics</a></li><li><a href='admin.php?page=EWD-FEUP-options&#038;DisplayPage=Levels'>Levels</a></li><li><a href='admin.php?page=EWD-FEUP-options&#038;DisplayPage=Options'>Options</a></li><li><a href='admin.php?page=EWD-FEUP-options&#038;DisplayPage=Emails'>Emails</a></li><li><a href='admin.php?page=EWD-FEUP-options&#038;DisplayPage=Payment'>Payments</a></li></ul></li>
  259. <li class="wp-not-current-submenu wp-menu-separator" aria-hidden="true"><div class="separator"></div></li>
  260. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-appearance menu-top-first" id="menu-appearance">
  261. <a href='themes.php' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-appearance menu-top-first" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-appearance'><br /></div><div class='wp-menu-name'>Appearance</div></a>
  262. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Appearance</li><li class="wp-first-item"><a href='themes.php' class="wp-first-item">Themes</a></li><li class="hide-if-no-customize"><a href='customize.php?return=%2Fwp-admin%2Fadmin.php%3Fpage%3Dgf_edit_forms%26id%3D6' class="hide-if-no-customize">Customize</a></li><li><a href='widgets.php'>Widgets</a></li><li><a href='nav-menus.php'>Menus</a></li><li class="hide-if-no-customize"><a href='customize.php?return=%2Fwp-admin%2Fadmin.php%3Fpage%3Dgf_edit_forms%26id%3D6&#038;autofocus%5Bcontrol%5D=background_image' class="hide-if-no-customize">Background</a></li><li><a href='themes.php?page=editcss'>Edit CSS</a></li><li><a href='themes.php?page=custom-background'>Background</a></li><li><a href='theme-editor.php'>Editor</a></li></ul></li>
  263. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-plugins" id="menu-plugins">
  264. <a href='plugins.php' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-plugins" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-plugins'><br /></div><div class='wp-menu-name'>Plugins <span class='update-plugins count-4'><span class='plugin-count'>4</span></span></div></a>
  265. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Plugins <span class='update-plugins count-4'><span class='plugin-count'>4</span></span></li><li class="wp-first-item"><a href='plugins.php' class="wp-first-item">Installed Plugins</a></li><li><a href='plugin-install.php'>Add New</a></li><li><a href='plugin-editor.php'>Editor</a></li><li><a href='plugins.php?page=aesoplazyloader-license'>Aesop Lazy License</a></li></ul></li>
  266. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-users" id="menu-users">
  267. <a href='users.php' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-users" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-users'><br /></div><div class='wp-menu-name'>Users</div></a>
  268. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Users</li><li class="wp-first-item"><a href='users.php' class="wp-first-item">All Users</a></li><li><a href='user-new.php'>Add New</a></li><li><a href='profile.php'>Your Profile</a></li></ul></li>
  269. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-tools" id="menu-tools">
  270. <a href='tools.php' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-tools" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-tools'><br /></div><div class='wp-menu-name'>Tools</div></a>
  271. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Tools</li><li class="wp-first-item"><a href='tools.php' class="wp-first-item">Available Tools</a></li><li><a href='import.php'>Import</a></li><li><a href='export.php'>Export</a></li><li><a href='network.php'>Network Setup</a></li><li><a href='tools.php?page=ChildThemeWizard'>Child Theme Wizard</a></li><li><a href='tools.php?page=et_shortcodes_plugin_options'>ET Shortcodes</a></li><li><a href='tools.php?page=p3-profiler'>P3 Plugin Profiler</a></li></ul></li>
  272. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-settings menu-top-last" id="menu-settings">
  273. <a href='options-general.php' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-settings menu-top-last" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-settings'><br /></div><div class='wp-menu-name'>Settings</div></a>
  274. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Settings</li><li class="wp-first-item"><a href='options-general.php' class="wp-first-item">General</a></li><li><a href='options-writing.php'>Writing</a></li><li><a href='options-reading.php'>Reading</a></li><li><a href='options-discussion.php'>Discussion</a></li><li><a href='options-media.php'>Media</a></li><li><a href='options-permalink.php'>Permalinks</a></li><li><a href='options-general.php?page=simple-sitemap/simple-sitemap.php'>Simple Sitemap</a></li><li><a href='options-general.php?page=wp_old_post_date_remover'>Old Post Date Remover</a></li><li><a href='options-general.php?page=limit-login-attempts'>Limit Login Attempts</a></li><li><a href='options-general.php?page=sharing'>Sharing</a></li></ul></li>
  275. <li class="wp-not-current-submenu wp-menu-separator" aria-hidden="true"><div class="separator"></div></li>
  276. <li class="wp-has-submenu wp-not-current-submenu menu-top toplevel_page_WPCW_wp_courseware menu-top-first" id="toplevel_page_WPCW_wp_courseware"><a href='admin.php?page=WPCW_wp_courseware' class="wp-has-submenu wp-not-current-submenu menu-top toplevel_page_WPCW_wp_courseware menu-top-first" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before'><img src="http://creativeguidance.com/wp-content/plugins/wp-courseware/img/icon_training_16.png" alt="" /></div><div class='wp-menu-name'>Training Courses</div></a>
  277. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Training Courses</li><li class="wp-first-item"><a href='admin.php?page=WPCW_wp_courseware' class="wp-first-item">Training Courses</a></li><li><a href='admin.php?page=WPCW_showPage_ModifyCourse'>Add Course</a></li><li><a href='admin.php?page=WPCW_showPage_ModifyModule'>Add Module</a></li><li><a href='#'><span class="wpcw_menu_section" style="display: block; margin: 1px 0 1px -5px; padding: 0; height: 1px; line-height: 1px; background: #CCC;"></span></a></li><li><a href='admin.php?page=WPCW_showPage_ModifyQuiz'>Add Quiz/Survey</a></li><li><a href='admin.php?page=WPCW_showPage_QuizSummary'>Quiz Summary</a></li><li><a href='admin.php?page=WPCW_showPage_QuestionPool'>Question Pool</a></li><li><a href='#'><span class="wpcw_menu_section" style="display: block; margin: 1px 0 1px -5px; padding: 0; height: 1px; line-height: 1px; background: #CCC;"></span></a></li><li><a href='admin.php?page=WPCW_showPage_ImportExport'>Import/Export</a></li><li><a href='#'><span class="wpcw_menu_section" style="display: block; margin: 1px 0 1px -5px; padding: 0; height: 1px; line-height: 1px; background: #CCC;"></span></a></li><li><a href='admin.php?page=WPCW_showPage_Settings'>Settings</a></li><li><a href='admin.php?page=WPCW_showPage_Certificates'>Certificates</a></li><li><a href='admin.php?page=WPCW_showPage_Documentation'>Documentation</a></li></ul></li>
  278. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-course_unit" id="menu-posts-course_unit">
  279. <a href='edit.php?post_type=course_unit' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-course_unit" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before'><img src="http://creativeguidance.com/wp-content/plugins/wp-courseware/img/icon_training_16.png" alt="" /></div><div class='wp-menu-name'>Course Units</div></a>
  280. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Course Units</li><li class="wp-first-item"><a href='edit.php?post_type=course_unit' class="wp-first-item">Course Units</a></li><li><a href='post-new.php?post_type=course_unit'>Add New</a></li></ul></li>
  281. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-generic toplevel_page_wp_meetup_settings" id="toplevel_page_wp_meetup_settings"><a href='admin.php?page=wp_meetup_settings' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-generic toplevel_page_wp_meetup_settings" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-generic'><br /></div><div class='wp-menu-name'>WP Meetup</div></a>
  282. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>WP Meetup</li><li class="wp-first-item"><a href='admin.php?page=wp_meetup_settings' class="wp-first-item">WP Meetup</a></li><li><a href='admin.php?page=wp_meetup_options'>Options</a></li><li><a href='admin.php?page=wp_meetup_groups'>Groups</a></li><li><a href='admin.php?page=wp_meetup_events'>Events</a></li><li><a href='admin.php?page=wp_meetup_debug'>Debug Information</a></li></ul></li>
  283. <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-generic toplevel_page_et_divi_options menu-top-last" id="toplevel_page_et_divi_options"><a href='admin.php?page=et_divi_options' class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-generic toplevel_page_et_divi_options menu-top-last" aria-haspopup="true"><div class="wp-menu-arrow"><div></div></div><div class='wp-menu-image dashicons-before dashicons-admin-generic'><br /></div><div class='wp-menu-name'>Divi</div></a>
  284. <ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head' aria-hidden='true'>Divi</li><li class="wp-first-item"><a href='admin.php?page=et_divi_options' class="wp-first-item">Theme Options</a></li><li><a href='customize.php?et_customizer_option_set=theme'>Theme Customizer</a></li><li><a href='customize.php?et_customizer_option_set=module'>Module Customizer</a></li><li><a href='admin.php?page=et_divi_role_editor'>Role Editor</a></li><li><a href='edit.php?post_type=et_pb_layout'>Divi Library</a></li><li><a href='admin.php?page=wtfdivi_settings'>Divi Booster</a></li></ul></li><li id="collapse-menu" class="hide-if-no-js"><div id="collapse-button"><div></div></div><span>Collapse menu</span></li></ul>
  285. </div>
  286. </div>
  287. <div id="wpcontent">
  288.  
  289. <div id="wpadminbar" class="nojq nojs">
  290. <div class="quicklinks" id="wp-toolbar" role="navigation" aria-label="Toolbar" tabindex="0">
  291. <ul id="wp-admin-bar-root-default" class="ab-top-menu">
  292. <li id="wp-admin-bar-menu-toggle"><a class="ab-item" href="#"><span class="ab-icon"></span><span class="screen-reader-text">Menu</span></a> </li>
  293. <li id="wp-admin-bar-wp-logo" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://creativeguidance.com/wp-admin/about.php"><span class="ab-icon"></span><span class="screen-reader-text">About WordPress</span></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-wp-logo-default" class="ab-submenu">
  294. <li id="wp-admin-bar-about"><a class="ab-item" href="http://creativeguidance.com/wp-admin/about.php">About WordPress</a> </li></ul><ul id="wp-admin-bar-wp-logo-external" class="ab-sub-secondary ab-submenu">
  295. <li id="wp-admin-bar-wporg"><a class="ab-item" href="https://wordpress.org/">WordPress.org</a> </li>
  296. <li id="wp-admin-bar-documentation"><a class="ab-item" href="https://codex.wordpress.org/">Documentation</a> </li>
  297. <li id="wp-admin-bar-support-forums"><a class="ab-item" href="https://wordpress.org/support/">Support Forums</a> </li>
  298. <li id="wp-admin-bar-feedback"><a class="ab-item" href="https://wordpress.org/support/forum/requests-and-feedback">Feedback</a> </li></ul></div> </li>
  299. <li id="wp-admin-bar-site-name" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://creativeguidance.com/">Creative Guidance</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-site-name-default" class="ab-submenu">
  300. <li id="wp-admin-bar-view-site"><a class="ab-item" href="http://creativeguidance.com/">Visit Site</a> </li></ul></div> </li>
  301. <li id="wp-admin-bar-updates"><a class="ab-item" href="http://creativeguidance.com/wp-admin/update-core.php" title="4 Plugin Updates, 1 Theme Update"><span class="ab-icon"></span><span class="ab-label">5</span><span class="screen-reader-text">4 Plugin Updates, 1 Theme Update</span></a> </li>
  302. <li id="wp-admin-bar-comments"><a class="ab-item" href="http://creativeguidance.com/wp-admin/edit-comments.php" title="0 comments awaiting moderation"><span class="ab-icon"></span><span id="ab-awaiting-mod" class="ab-label awaiting-mod pending-count count-0">0</span></a> </li>
  303. <li id="wp-admin-bar-new-content" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://creativeguidance.com/wp-admin/post-new.php"><span class="ab-icon"></span><span class="ab-label">New</span></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-new-content-default" class="ab-submenu">
  304. <li id="wp-admin-bar-new-post"><a class="ab-item" href="http://creativeguidance.com/wp-admin/post-new.php">Post</a> </li>
  305. <li id="wp-admin-bar-new-media"><a class="ab-item" href="http://creativeguidance.com/wp-admin/media-new.php">Media</a> </li>
  306. <li id="wp-admin-bar-new-page"><a class="ab-item" href="http://creativeguidance.com/wp-admin/post-new.php?post_type=page">Page</a> </li>
  307. <li id="wp-admin-bar-new-download"><a class="ab-item" href="http://creativeguidance.com/wp-admin/post-new.php?post_type=download">Download</a> </li>
  308. <li id="wp-admin-bar-new-ufaq"><a class="ab-item" href="http://creativeguidance.com/wp-admin/post-new.php?post_type=ufaq">FAQ</a> </li>
  309. <li id="wp-admin-bar-new-course_unit"><a class="ab-item" href="http://creativeguidance.com/wp-admin/post-new.php?post_type=course_unit">Course Unit</a> </li>
  310. <li id="wp-admin-bar-new-character_carousel"><a class="ab-item" href="http://creativeguidance.com/wp-admin/post-new.php?post_type=character_carousel">Carousel</a> </li>
  311. <li id="wp-admin-bar-new-ai_galleries"><a class="ab-item" href="http://creativeguidance.com/wp-admin/post-new.php?post_type=ai_galleries">Gallery</a> </li>
  312. <li id="wp-admin-bar-new-article"><a class="ab-item" href="http://creativeguidance.com/wp-admin/post-new.php?post_type=article">Article</a> </li>
  313. <li id="wp-admin-bar-new-project"><a class="ab-item" href="http://creativeguidance.com/wp-admin/post-new.php?post_type=project">Project</a> </li>
  314. <li id="wp-admin-bar-new-user"><a class="ab-item" href="http://creativeguidance.com/wp-admin/user-new.php">User</a> </li>
  315. <li id="wp-admin-bar-gravityforms-new-form"><a class="ab-item" href="http://creativeguidance.com/wp-admin/admin.php?page=gf_new_form">Form</a> </li></ul></div> </li>
  316. <li id="wp-admin-bar-wppass" class="menupop"><div class="ab-item ab-empty-item" aria-haspopup="true"><span class="ab-icon dashicons dashicons-godaddy-alt"></span><span class="ab-label">GoDaddy</span></div><div class="ab-sub-wrapper"><ul id="wp-admin-bar-wppass-default" class="ab-submenu">
  317. <li id="wp-admin-bar-wppass-control-panel"><a class="ab-item" href="http://gateway.godaddy.com/" target="_blank">Account Settings<span class="dashicons dashicons-external"></span></a> </li>
  318. <li id="wp-admin-bar-wppass-flush-cache"><a class="ab-item" href="/wp-admin/admin.php?page=gf_edit_forms&#038;id=6&#038;GD_COMMAND=FLUSH_CACHE&#038;GD_NONCE=5acf0849e9">Flush Cache</a> </li>
  319. <li id="wp-admin-bar-wppass-help"><a class="ab-item" href="http://creativeguidance.com/wp-admin/admin.php?page=godaddy&#038;tab=help">FAQ &amp; Support</a> </li>
  320. <li id="wp-admin-bar-wppass-plugins"><a class="ab-item" href="http://creativeguidance.com/wp-admin/admin.php?page=godaddy&#038;tab=plugins">Plugin Partners</a> </li></ul></div> </li>
  321. <li id="wp-admin-bar-dropbox-backup" class="dropbox-image-toolbar"><a class="ab-item" href="http://creativeguidance.com/wp-admin/admin.php?page=wpadm_wp_full_backup_dropbox">Dropbox backup</a> </li></ul><ul id="wp-admin-bar-top-secondary" class="ab-top-secondary ab-top-menu">
  322. <li id="wp-admin-bar-search" class="admin-bar-search"><div class="ab-item ab-empty-item" tabindex="-1">
  323. <form action="http://creativeguidance.com/wp-admin/admin.php" method="get" class="" id="adminbarsearch">
  324. <input type="hidden" name="page" value="omnisearch" />
  325. <input name="s" type="search" class="adminbar-input" id="adminbar-search" value="" placeholder="Search Everything" />
  326. <input type="submit" class="adminbar-button" value="Search" />
  327. </form>
  328.  
  329. <style>
  330. #adminbar-search::-webkit-input-placeholder,
  331. #adminbar-search:-moz-placeholder,
  332. #adminbar-search::-moz-placeholder,
  333. #adminbar-search:-ms-input-placeholder {
  334. text-shadow: none;
  335. }
  336. </style></div> </li>
  337. <li id="wp-admin-bar-my-account" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://creativeguidance.com/wp-admin/profile.php">Howdy, Corrine Kenner</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-user-actions" class="ab-submenu">
  338. <li id="wp-admin-bar-user-info"><a class="ab-item" tabindex="-1" href="http://creativeguidance.com/wp-admin/profile.php"><span class='display-name'>Corrine Kenner</span><span class='username'>CreativeGuidance</span></a> </li>
  339. <li id="wp-admin-bar-edit-profile"><a class="ab-item" href="http://creativeguidance.com/wp-admin/profile.php">Edit My Profile</a> </li>
  340. <li id="wp-admin-bar-logout"><a class="ab-item" href="http://creativeguidance.com/wp-login.php?action=logout&#038;_wpnonce=fb69bc5521">Log Out</a> </li></ul></div> </li>
  341. <li id="wp-admin-bar-notes" class="menupop"><div class="ab-item ab-empty-item" ><span id="wpnt-notes-unread-count" class="wpnt-loading wpn-read">
  342. <span class="noticon noticon-notification"></span>
  343. </span></div><div id="wpnt-notes-panel2" style="display:none" lang="en" dir="ltr"><div class="wpnt-notes-panel-header"><span class="wpnt-notes-header">Notifications</span><span class="wpnt-notes-panel-link"></span></div></div> </li></ul> </div>
  344. <a class="screen-reader-shortcut" href="http://creativeguidance.com/wp-login.php?action=logout&#038;_wpnonce=fb69bc5521">Log Out</a>
  345. </div>
  346.  
  347.  
  348. <div id="wpbody" role="main">
  349.  
  350. <div id="wpbody-content" aria-label="Main content" tabindex="0">
  351. <div id="screen-meta" class="metabox-prefs">
  352.  
  353. <div id="contextual-help-wrap" class="hidden no-sidebar" tabindex="-1" aria-label="Contextual Help Tab">
  354. <div id="contextual-help-back"></div>
  355. <div id="contextual-help-columns">
  356. <div class="contextual-help-tabs">
  357. <ul>
  358. </ul>
  359. </div>
  360.  
  361.  
  362. <div class="contextual-help-tabs-wrap">
  363. </div>
  364. </div>
  365. </div>
  366. </div>
  367.  
  368. <link rel="stylesheet" href="http://creativeguidance.com/wp-content/plugins/gravityforms/css/admin.min.css?ver=1.9.15" type="text/css" />
  369.  
  370. <script type="text/javascript">
  371. var gf_global = {"gf_currency_config":{"name":"U.S. Dollar","symbol_left":"$","symbol_right":"","symbol_padding":"","thousand_separator":",","decimal_separator":".","decimals":2},"base_url":"http:\/\/creativeguidance.com\/wp-content\/plugins\/gravityforms","number_formats":[],"spinnerUrl":"http:\/\/creativeguidance.com\/wp-content\/plugins\/gravityforms\/images\/spinner.gif"}; var gf_vars = {"active":"Active","inactive":"Inactive","save":"Save","update":"Update","previousLabel":"Previous","selectFormat":"Select a format","editToViewAll":"5 of %d items shown. Edit field to view all","enterValue":"Enter a value","formTitle":"Untitled Form","formDescription":"We would love to hear from you! Please fill out this form and we will get in touch with you shortly.","formConfirmationMessage":"Thanks for contacting us! We will get in touch with you shortly.","buttonText":"Submit","loading":"Loading...","thisFieldIf":"this field if","thisSectionIf":"this section if","thisPage":"this page","thisFormButton":"this form button if","show":"Show","hide":"Hide","all":"All","any":"Any","ofTheFollowingMatch":"of the following match:","is":"is","isNot":"is not","greaterThan":"greater than","lessThan":"less than","contains":"contains","startsWith":"starts with","endsWith":"ends with","thisConfirmation":"Use this confirmation if","thisNotification":"Send this notification if","confirmationSave":"Save","confirmationSaving":"Saving...","confirmationAreYouSure":"Are you sure you wish to cancel these changes?","confirmationIssueSaving":"There was an issue saving this confirmation.","confirmationConfirmDelete":"Are you sure you wish to delete this confirmation?","confirmationIssueDeleting":"There was an issue deleting this confirmation.","confirmationConfirmDiscard":"There are unsaved changes to the current confirmation. Would you like to discard these changes?","confirmationDefaultName":"Untitled Confirmation","confirmationDefaultMessage":"Thanks for contacting us! We will get in touch with you shortly.","confirmationInvalidPageSelection":"Please select a page.","confirmationInvalidRedirect":"Please enter a URL.","confirmationInvalidName":"Please enter a confirmation name.","conditionalLogicDependency":"This form contains conditional logic dependent upon this field. Are you sure you want to delete this field? 'OK' to delete, 'Cancel' to abort.","conditionalLogicDependencyChoice":"This form contains conditional logic dependent upon this choice. Are you sure you want to delete this choice? 'OK' to delete, 'Cancel' to abort.","conditionalLogicDependencyChoiceEdit":"This form contains conditional logic dependent upon this choice. Are you sure you want to modify this choice? 'OK' to delete, 'Cancel' to abort.","mergeTagsTooltip":"<h6>Merge Tags<\/h6>Merge tags allow you to dynamically populate submitted field values in your form content wherever this merge tag icon is present.","baseUrl":"http:\/\/creativeguidance.com\/wp-content\/plugins\/gravityforms","gf_currency_config":{"name":"U.S. Dollar","symbol_left":"$","symbol_right":"","symbol_padding":"","thousand_separator":",","decimal_separator":".","decimals":2},"otherChoiceValue":"Other","isFormTrash":false,"currentlyAddingField":false,"addFieldFilter":"Add a condition","removeFieldFilter":"Remove a condition","filterAndAny":"Include results if {0} match:","customChoices":"Custom Choices","predefinedChoices":"Predefined Choices","mergeTags":{"ungrouped":{"label":false,"tags":[{"tag":"{all_fields}","label":"All Submitted Fields"}]},"required":{"label":"Required form fields","tags":[{"tag":"{Would you like to share your work?:12}","label":"Would you like to share your work?"},{"tag":"{Give your piece a title:7}","label":"Give your piece a title"},{"tag":"{Include a byline (Prefix):8.2}","label":"Include a byline (Prefix)"},{"tag":"{Include a byline (First):8.3}","label":"Include a byline (First)"},{"tag":"{Include a byline (Middle):8.4}","label":"Include a byline (Middle)"},{"tag":"{Include a byline (Last):8.6}","label":"Include a byline (Last)"},{"tag":"{Include a byline (Suffix):8.8}","label":"Include a byline (Suffix)"},{"tag":"{Your contact information:6}","label":"Your contact information"}]},"optional":{"label":"Optional form fields","tags":[{"tag":"{Start your story here:1}","label":"Start your story here"},{"tag":"{Free publicity:10}","label":"Free publicity"}]},"pricing":{"label":"Pricing form fields","tags":[]},"other":{"label":"Other","tags":[{"tag":"{ip}","label":"User IP Address"},{"tag":"{date_mdy}","label":"Date (mm\/dd\/yyyy)"},{"tag":"{date_dmy}","label":"Date (dd\/mm\/yyyy)"},{"tag":"{embed_post:ID}","label":"Embed Post\/Page Id"},{"tag":"{embed_post:post_title}","label":"Embed Post\/Page Title"},{"tag":"{embed_url}","label":"Embed URL"},{"tag":"{entry_id}","label":"Entry Id"},{"tag":"{entry_url}","label":"Entry URL"},{"tag":"{form_id}","label":"Form Id"},{"tag":"{form_title}","label":"Form Title"},{"tag":"{user_agent}","label":"HTTP User Agent"},{"tag":"{referer}","label":"HTTP Referer URL"},{"tag":"{post_id}","label":"Post Id"},{"tag":"{post_edit_url}","label":"Post Edit URL"},{"tag":"{user:display_name}","label":"User Display Name"},{"tag":"{user:user_email}","label":"User Email"},{"tag":"{user:user_login}","label":"User Login"}]},"custom":{"label":"Custom","tags":[]}}}; </script>
  372.  
  373. <script type="text/javascript">
  374.  
  375. function has_entry(fieldNumber) {
  376. var submitted_fields = [1,6,12];
  377. for (var i = 0; i < submitted_fields.length; i++) {
  378. if (submitted_fields[i] == fieldNumber)
  379. return true;
  380. }
  381. return false;
  382. }
  383.  
  384. function InsertPostImageVariable(element_id, callback) {
  385. var variable = jQuery('#' + element_id + '_image_size_select').attr("variable");
  386. var size = jQuery('#' + element_id + '_image_size_select').val();
  387. if (size) {
  388. variable = "{" + variable + ":" + size + "}";
  389. InsertVariable(element_id, callback, variable);
  390. jQuery('#' + element_id + '_image_size_select').hide();
  391. jQuery('#' + element_id + '_image_size_select')[0].selectedIndex = 0;
  392. }
  393. }
  394.  
  395. function InsertPostContentVariable(element_id, callback) {
  396. var variable = jQuery('#' + element_id + '_variable_select').val();
  397. var regex = /{([^{]*?: *(\d+\.?\d*).*?)}/;
  398. matches = regex.exec(variable);
  399. if (!matches) {
  400. InsertVariable(element_id, callback);
  401. return;
  402. }
  403.  
  404. variable = matches[1];
  405. field_id = matches[2];
  406.  
  407. for (var i = 0; i < form["fields"].length; i++) {
  408. if (form["fields"][i]["id"] == field_id) {
  409. if (form["fields"][i]["type"] == "post_image") {
  410. jQuery('#' + element_id + '_image_size_select').attr("variable", variable);
  411. jQuery('#' + element_id + '_image_size_select').show();
  412. return;
  413. }
  414. }
  415. }
  416.  
  417. InsertVariable(element_id, callback);
  418. }
  419.  
  420.  
  421. function IsValidFormula(formula) {
  422. if (formula == '')
  423. return true;
  424. var patt = /{([^}]+)}/i,
  425. exprPatt = /^[0-9 -/*\(\)]+$/i,
  426. expr = formula.replace(/(\r\n|\n|\r)/gm, ''),
  427. match;
  428. while (match = patt.exec(expr)) {
  429. expr = expr.replace(match[0], 1);
  430. }
  431. if (exprPatt.test(expr)) {
  432. try {
  433. var r = eval(expr);
  434. return !isNaN(parseFloat(r)) && isFinite(r);
  435. } catch (e) {
  436. return false;
  437. }
  438. } else {
  439. return false;
  440. }
  441. }
  442. </script>
  443.  
  444. <script type="text/javascript">var form = {"title":"Start Your Story Here","description":"Use this space to record your musings on the card.","labelPlacement":"top_label","descriptionPlacement":"above","button":{"type":"text","text":"SUBMIT","imageUrl":"","conditionalLogic":{"actionType":"show","logicType":"all","rules":[{"fieldId":"12","operator":"is","value":"Yes! I surprised myself with my talent."}]}},"fields":[{"type":"textarea","id":1,"label":"Start your story here","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","inputs":null,"labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"Begin writing","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"inputMask":false,"inputMaskValue":"","allowsPrepopulate":false,"defaultValue":"","description":"Don't let your ideas slip away","formId":6,"pageNumber":1,"inputType":"","cssClass":"","inputName":"","adminOnly":false,"noDuplicates":false,"choices":"","conditionalLogic":"","displayOnly":""},{"type":"radio","id":12,"label":"Would you like to share your work?","adminLabel":"","isRequired":true,"size":"medium","errorMessage":"","inputs":null,"choices":[{"text":"Yes! I surprised myself with my talent.","value":"Yes! I surprised myself with my talent.","isSelected":false,"price":""},{"text":"No, I need more practice.","value":"No, I need more practice.","isSelected":false,"price":""}],"labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"inputMask":false,"inputMaskValue":"","allowsPrepopulate":false,"formId":6,"pageNumber":1,"description":"","inputType":"","cssClass":"","inputName":"","adminOnly":false,"noDuplicates":false,"defaultValue":"","conditionalLogic":"","displayOnly":""},{"type":"post_title","id":7,"label":"Give your piece a title","adminLabel":"","isRequired":true,"size":"medium","errorMessage":"","inputs":null,"labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"inputMask":false,"inputMaskValue":"","allowsPrepopulate":false,"description":"","formId":6,"pageNumber":1,"inputType":"","cssClass":"","inputName":"","adminOnly":false,"noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":{"actionType":"show","logicType":"all","rules":[{"fieldId":"12","operator":"is","value":"Yes! I surprised myself with my talent."}]},"displayOnly":""},{"type":"name","id":8,"label":"Include a byline","adminLabel":"","isRequired":true,"size":"medium","errorMessage":"","nameFormat":"advanced","inputs":[{"id":"8.2","label":"Prefix","name":"","choices":[{"text":"Mr.","value":"Mr.","isSelected":false,"price":""},{"text":"Mrs.","value":"Mrs.","isSelected":false,"price":""},{"text":"Miss","value":"Miss","isSelected":false,"price":""},{"text":"Ms.","value":"Ms.","isSelected":false,"price":""},{"text":"Dr.","value":"Dr.","isSelected":false,"price":""},{"text":"Prof.","value":"Prof.","isSelected":false,"price":""},{"text":"Rev.","value":"Rev.","isSelected":false,"price":""}],"isHidden":true,"inputType":"radio"},{"id":"8.3","label":"First","name":""},{"id":"8.4","label":"Middle","name":"","isHidden":true},{"id":"8.6","label":"Last","name":""},{"id":"8.8","label":"Suffix","name":"","isHidden":true}],"labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"inputMask":false,"inputMaskValue":"","allowsPrepopulate":false,"description":"Your name (or nom de plume)","formId":6,"pageNumber":1,"inputType":"","cssClass":"","inputName":"","adminOnly":false,"noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":{"actionType":"show","logicType":"all","rules":[{"fieldId":"12","operator":"is","value":"Yes! I surprised myself with my talent."}]},"displayOnly":""},{"type":"website","id":10,"label":"Free publicity","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","inputs":null,"placeholder":"http:\/\/","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"inputMask":false,"inputMaskValue":"","allowsPrepopulate":false,"description":"Your website or social media page","formId":6,"pageNumber":1,"inputType":"","cssClass":"","inputName":"","adminOnly":false,"noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":{"actionType":"show","logicType":"all","rules":[{"fieldId":"12","operator":"is","value":"Yes! I surprised myself with my talent."}]},"displayOnly":""},{"type":"email","id":6,"label":"Your contact information","adminLabel":"","isRequired":true,"size":"medium","errorMessage":"","inputs":[{"id":"6","label":"Enter Email","name":""},{"id":"6.2","label":"Confirm Email","name":""}],"labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"inputMask":false,"inputMaskValue":"","allowsPrepopulate":false,"formId":6,"pageNumber":1,"description":"(Not for publication)","inputType":"","cssClass":"","inputName":"","adminOnly":false,"noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":{"actionType":"show","logicType":"all","rules":[{"fieldId":"12","operator":"is","value":"Yes! I surprised myself with my talent."}]},"displayOnly":"","emailConfirmEnabled":true},{"type":"captcha","id":13,"label":"Captcha","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","inputs":null,"displayOnly":true,"formId":6,"pageNumber":1,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","adminOnly":false,"noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":""}],"version":"1.9.15","id":6,"subLabelPlacement":"above","cssClass":"","enableHoneypot":false,"enableAnimation":false,"save":{"enabled":true,"button":{"type":"link","text":"Save and continue later"}},"limitEntries":false,"limitEntriesCount":"","limitEntriesPeriod":"","limitEntriesMessage":"","scheduleForm":false,"scheduleStart":"","scheduleStartHour":"","scheduleStartMinute":"","scheduleStartAmpm":"","scheduleEnd":"","scheduleEndHour":"","scheduleEndMinute":"","scheduleEndAmpm":"","schedulePendingMessage":"","scheduleMessage":"","requireLogin":false,"requireLoginMessage":"","useCurrentUserAsAuthor":true,"postContentTemplateEnabled":false,"postTitleTemplateEnabled":false,"postTitleTemplate":"","postContentTemplate":"","lastPageButton":null,"pagination":null,"firstPageCssClass":null,"postAuthor":"38","postCategory":"134","postFormat":"0","postStatus":"pending","notifications":{"569dc2c193478":{"id":"569dc2c193478","to":"{admin_email}","name":"Admin Notification","event":"form_submission","toType":"email","subject":"New submission from {form_title}","message":"{all_fields}"},"569e3d6073457":{"id":"569e3d6073457","isDefault":true,"name":"Save and Continue Email","event":"form_save_email_requested","toType":"hidden","from":"{admin_email}","subject":"Link to continue {form_title}","message":"Thank you for saving {form_title}. Please use the unique link below to return to the form from any computer. <br \/><br \/> {save_link} <br \/><br \/> Remember that the link will expire after 30 days so please return via the provided link to complete your form submission."}},"confirmations":{"569dc2c19388e":{"id":"569dc2c19388e","name":"Default Confirmation","isDefault":true,"type":"message","message":"Thanks for contacting us! We will get in touch with you shortly.","url":"","pageId":"","queryString":""},"sc1569e3d6073a4f":{"id":"sc1569e3d6073a4f","event":"form_saved","name":"Save and Continue Confirmation","isDefault":true,"type":"message","message":"Please use the following link to return to your form from any computer. <br \/> {save_link} <br \/> This link will expire after 30 days. <br \/>Enter your email address to send the link by email. <br \/> {save_email_input}","url":"","pageId":"","queryString":""},"sc2569e3d6073af3":{"id":"sc2569e3d6073af3","event":"form_save_email_sent","name":"Save and Continue Email Sent Confirmation","isDefault":true,"type":"message","message":"The link was sent to the following email address: {save_email}","url":"","pageId":"","queryString":""},"569e4afe58b0e":{"id":"569e4afe58b0e","name":"Demo","type":"message","message":"Thank you for sharing your writing with me! I'll read it and send you a follow-up note within 48 hours.\r\n\r\nWould you like me to serve as your personal writing coach or mentor? I invite you to apply! Visit http:\/\/creativeguidance.com\/coaching for details.\r\n\r\nAll the best,\r\nCorrine Kenner\r\ncorrine@creativeguidance.com\r\n800.737.7864","disableAutoformat":false,"pageId":0,"url":"","queryString":"","isDefault":false,"conditionalLogic":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":""}]}}}};</script>
  445. <!--GFM--> <div class="wrap gforms_edit_form gf_browser_chrome">
  446. <h2 class="gf_admin_page_title">
  447. <span>Form Editor</span><span class="gf_admin_page_subtitle"><span class="gf_admin_page_formid">ID: 6</span><span class="gf_admin_page_formname">Form Name: Start Your Story Here</span></span>
  448. </h2>
  449.  
  450.  
  451. <script type="text/javascript">
  452. function GF_ReplaceQuery(key, newValue) {
  453. var new_query = "";
  454. var query = document.location.search.substring(1);
  455. var ary = query.split("&");
  456. var has_key = false;
  457. for (i = 0; i < ary.length; i++) {
  458. var key_value = ary[i].split("=");
  459.  
  460. if (key_value[0] == key) {
  461. new_query += key + "=" + newValue + "&";
  462. has_key = true;
  463. }
  464. else if (key_value[0] != "display_settings") {
  465. new_query += key_value[0] + "=" + key_value[1] + "&";
  466. }
  467. }
  468.  
  469. if (new_query.length > 0)
  470. new_query = new_query.substring(0, new_query.length - 1);
  471.  
  472. if (!has_key)
  473. new_query += new_query.length > 0 ? "&" + key + "=" + newValue : "?" + key + "=" + newValue;
  474.  
  475. return new_query;
  476. }
  477.  
  478. function GF_RemoveQuery(key, query) {
  479. var new_query = "";
  480. if (query == "") {
  481. query = document.location.search.substring(1);
  482. }
  483. var ary = query.split("&");
  484. for (i = 0; i < ary.length; i++) {
  485. var key_value = ary[i].split("=");
  486.  
  487. if (key_value[0] != key) {
  488. new_query += key_value[0] + "=" + key_value[1] + "&";
  489. }
  490. }
  491.  
  492. if (new_query.length > 0)
  493. new_query = new_query.substring(0, new_query.length - 1);
  494.  
  495. return new_query;
  496. }
  497.  
  498. function GF_SwitchForm(id) {
  499. if (id.length > 0) {
  500. query = GF_ReplaceQuery("id", id);
  501. //remove paging from querystring when changing forms
  502. new_query = GF_RemoveQuery("paged", query);
  503. new_query = new_query.replace("gf_new_form", "gf_edit_forms");
  504.  
  505. //remove filter vars from querystring when changing forms
  506. new_query = GF_RemoveQuery("s", new_query);
  507. new_query = GF_RemoveQuery("operator", new_query);
  508. new_query = GF_RemoveQuery("type", new_query);
  509. new_query = GF_RemoveQuery("field_id", new_query);
  510.  
  511. //When switching forms within any form settings tab, go back to main form settings tab
  512. var is_form_settings = new_query.indexOf("page=gf_edit_forms") >= 0 && new_query.indexOf("view=settings");
  513. if (is_form_settings) {
  514. //going back to main form settings tab
  515. new_query = "page=gf_edit_forms&view=settings&id=" + id;
  516. }
  517.  
  518. document.location = "?" + new_query;
  519. }
  520. }
  521.  
  522. function ToggleFormSettings() {
  523. FieldClick(jQuery('#gform_heading')[0]);
  524. }
  525.  
  526. jQuery(document).ready(function () {
  527. if (document.location.search.indexOf("display_settings") > 0)
  528. ToggleFormSettings()
  529.  
  530. jQuery('a.gf_toolbar_disabled').click(function (event) {
  531. event.preventDefault();
  532. });
  533. });
  534.  
  535. </script>
  536.  
  537. <div id="gf_form_toolbar">
  538. <ul id="gf_form_toolbar_links">
  539.  
  540. <li class='gf_form_toolbar_editor'><a class='gf_toolbar_active' onclick='' title='Edit this form' href='?page=gf_edit_forms&#038;id=6' target=''><i class="fa fa-pencil-square-o fa-lg"></i> Form Editor</a></li><li class='gf_form_toolbar_settings'><a class='' onclick='' title='Edit settings for this form' href='?page=gf_edit_forms&#038;view=settings&#038;id=6' target=''><i class="fa fa-cogs fa-lg"></i> Form Settings</a><div class="gf_submenu"><ul><li class=''><a href='http://creativeguidance.com/wp-admin/admin.php?page=gf_edit_forms&#038;view=settings&#038;subview=settings&#038;id=6' class='' target=''>Form Settings</a></li><li class=''><a href='http://creativeguidance.com/wp-admin/admin.php?page=gf_edit_forms&#038;view=settings&#038;subview=confirmation&#038;id=6' class='' target=''>Confirmations</a></li><li class=''><a href='http://creativeguidance.com/wp-admin/admin.php?page=gf_edit_forms&#038;view=settings&#038;subview=notification&#038;id=6' class='' target=''>Notifications</a></li></ul></div></li><li class='gf_form_toolbar_entries'><a class='' onclick='' title='View entries generated by this form' href='?page=gf_entries&#038;id=6' target=''><i class="fa fa-comment-o fa-lg"></i> Entries</a></li><li class='gf_form_toolbar_preview'><a class='' onclick='' title='Preview this form' href='http://creativeguidance.com/?gf_page=preview&#038;id=6' target='_blank'><i class="fa fa-eye fa-lg"></i> Preview</a></li>
  541. <li class="gf_form_switcher">
  542. <label for="export_form">Select A Form</label>
  543.  
  544. <select name="form_switcher" id="form_switcher" onchange="GF_SwitchForm(jQuery(this).val());">
  545. <option value="">Switch Form</option>
  546. <option value="1">Application</option>
  547. <option value="2">FAQs</option>
  548. <option value="4">Scratch Pad</option>
  549. <option value="6">Start Your Story Here</option>
  550. <option value="3">Wizards Magazine Submissions</option>
  551. </select>
  552.  
  553. </li>
  554. </ul>
  555. </div>
  556.  
  557.  
  558.  
  559. <style type="text/css">
  560. @import url('//fonts.googleapis.com/css?family=Shadows+Into+Light+Two');
  561. </style>
  562.  
  563. <form method="post" id="form_trash">
  564. <input type="hidden" id="gforms_trash_form" name="gforms_trash_form" value="174b7e151b" /><input type="hidden" name="_wp_http_referer" value="/wp-admin/admin.php?page=gf_edit_forms&amp;id=6" /> <input type="hidden" value="trash" name="operation" />
  565. </form>
  566.  
  567. <table width="100%">
  568. <tr>
  569. <td class="pad_top" valign="top">
  570. <div id="gform_pagination" class="selectable gform_settings_container" style="display:none;">
  571. <div class="settings_control_container">
  572. <a href="javascript:void(0);" class="form_edit_icon edit_icon_collapsed" title="click to edit page options"><i class='fa fa-caret-down fa-lg'></i></a>
  573. </div>
  574.  
  575.  
  576. <div class="gf-pagebreak-first gf-pagebreak-container">
  577. <div class="gf-pagebreak-text-before">begin form</div>
  578. <div class="gf-pagebreak-text-main"><span>START PAGING</span></div>
  579. <div class="gf-pagebreak-text-after">top of the first page</div>
  580. </div>
  581.  
  582. <div id="pagination_settings" style="display: none;">
  583. <ul>
  584. <li style="width:100px; padding:0px;">
  585. <a href="#gform_pagination_settings_tab_1">General</a></li>
  586. <li style="width:100px; padding:0px;">
  587. <a href="#gform_pagination_settings_tab_2">Appearance</a></li>
  588. </ul>
  589.  
  590. <div id="gform_pagination_settings_tab_1">
  591. <ul class="gforms_form_settings">
  592. <li>
  593. <label for="pagination_type_container">
  594. Progress Indicator <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_progress_indicator' title='&lt;h6&gt;Progress Indicator&lt;/h6&gt;Select which type of visual progress indicator you would like to display. Progress Bar, Steps or None.'><i class='fa fa-question-circle'></i></a> </label>
  595.  
  596. <div id="pagination_type_container" class="pagination_container">
  597. <input type="radio" id="pagination_type_percentage" name="pagination_type" value="percentage" onclick='InitPaginationOptions();' />
  598. <label for="pagination_type_percentage" class="inline">
  599. Progress Bar </label>
  600. &nbsp;&nbsp;
  601. <input type="radio" id="pagination_type_steps" name="pagination_type" value="steps" onclick='InitPaginationOptions();' />
  602. <label for="pagination_type_steps" class="inline">
  603. Steps </label>
  604. &nbsp;&nbsp;
  605. <input type="radio" id="pagination_type_none" name="pagination_type" value="none" onclick='InitPaginationOptions();' />
  606. <label for="pagination_type_none" class="inline">
  607. None </label>
  608. </div>
  609. </li>
  610.  
  611. <li id="percentage_style_setting">
  612.  
  613. <div class="percentage_style_setting" style="float:left; z-index: 99;">
  614. <label for="percentage_style" style="display:block;">
  615. Style <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_percentage_style' title='&lt;h6&gt;Progress Bar Style&lt;/h6&gt;Select which progress bar style you would like to use. Select custom to choose your own text and background color.'><i class='fa fa-question-circle'></i></a> </label>
  616. <select id="percentage_style" onchange="TogglePercentageStyle();">
  617. <option value="blue"> Blue </option>
  618. <option value="gray"> Gray </option>
  619. <option value="green"> Green </option>
  620. <option value="orange"> Orange </option>
  621. <option value="red"> Red </option>
  622. <option value="custom"> Custom </option>
  623. </select>
  624. </div>
  625.  
  626. <div class="percentage_custom_container" style="float:left; padding-left:20px;">
  627. <label for="percentage_background_color" style="display:block;">
  628. Text Color </label>
  629. <table cellpadding="0" cellspacing="0">
  630. <tr>
  631. <td>
  632. <input type='text' class="iColorPicker" size="7" name='percentage_style_custom_color' onchange='SetColorPickerColor(this.name, this.value, "");' id='percentage_style_custom_color' />
  633. </td>
  634. <td style="padding-right:5px; padding-left:5px;">
  635. <img style="top:3px; cursor:pointer; border:1px solid #dfdfdf;" id="chip_percentage_style_custom_color" valign="bottom" height="22" width="22" src="http://creativeguidance.com/wp-content/plugins/gravityforms/images/blankspace.png" />
  636. </td>
  637. <td>
  638. <img style="cursor:pointer;" valign="bottom" id="chooser_percentage_style_custom_color" src="http://creativeguidance.com/wp-content/plugins/gravityforms/images/color.png" />
  639. </td>
  640. </tr>
  641. </table>
  642. <script type="text/javascript">
  643. jQuery("#chooser_percentage_style_custom_color").click(function (e) {
  644. iColorShow(e.pageX, e.pageY, 'percentage_style_custom_color', "");
  645. });
  646. jQuery("#chip_percentage_style_custom_color").click(function (e) {
  647. iColorShow(e.pageX, e.pageY, 'percentage_style_custom_color', "");
  648. });
  649. </script>
  650. </div>
  651.  
  652. <div class="percentage_custom_container" style="float:left; padding-left:20px;">
  653. <label for="percentage_background_bgcolor" style="display:block;">
  654. Background Color </label>
  655. <table cellpadding="0" cellspacing="0">
  656. <tr>
  657. <td>
  658. <input type='text' class="iColorPicker" size="7" name='percentage_style_custom_bgcolor' onchange='SetColorPickerColor(this.name, this.value, "");' id='percentage_style_custom_bgcolor' />
  659. </td>
  660. <td style="padding-right:5px; padding-left:5px;">
  661. <img style="top:3px; cursor:pointer; border:1px solid #dfdfdf;" id="chip_percentage_style_custom_bgcolor" valign="bottom" height="22" width="22" src="http://creativeguidance.com/wp-content/plugins/gravityforms/images/blankspace.png" />
  662. </td>
  663. <td>
  664. <img style="cursor:pointer;" valign="bottom" id="chooser_percentage_style_custom_bgcolor" src="http://creativeguidance.com/wp-content/plugins/gravityforms/images/color.png" />
  665. </td>
  666. </tr>
  667. </table>
  668. <script type="text/javascript">
  669. jQuery("#chooser_percentage_style_custom_bgcolor").click(function (e) {
  670. iColorShow(e.pageX, e.pageY, 'percentage_style_custom_bgcolor', "");
  671. });
  672. jQuery("#chip_percentage_style_custom_bgcolor").click(function (e) {
  673. iColorShow(e.pageX, e.pageY, 'percentage_style_custom_bgcolor', "");
  674. });
  675. </script>
  676. </div>
  677. </li>
  678. <li id="page_names_setting">
  679. <label for="page_names_container">
  680. Page Names <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_page_names' title='&lt;h6&gt;Page Names&lt;/h6&gt;Name each of the pages on your form. Page names are displayed with the selected progress indicator.'><i class='fa fa-question-circle'></i></a> </label>
  681.  
  682. <div id="page_names_container" style="margin-top:5px;">
  683. <!-- Populated dynamically from js.php -->
  684. </div>
  685. </li>
  686. <li id="percentage_confirmation_display_setting">
  687. <div class="percentage_confirmation_display_setting">
  688. <input type="checkbox" id="percentage_confirmation_display" onclick="TogglePercentageConfirmationText()">
  689. <label for="percentage_confirmation_display" class="inline">
  690. Display completed progress bar on confirmation <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_percentage_confirmation_display' title='&lt;h6&gt;Progress Bar Confirmation Display&lt;/h6&gt;Check this box if you would like the progress bar to display with the confirmation text.'><i class='fa fa-question-circle'></i></a> </label>
  691. </div>
  692. </li>
  693. <li id="percentage_confirmation_page_name_setting">
  694. <div class="percentage_confirmation_page_name_setting">
  695. <label for="percentage_confirmation_page_name" style="display:block;">
  696. Completion Text <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_percentage_confirmation_page_name' title='&lt;h6&gt;Progress Bar Completion Text&lt;/h6&gt;Enter text to display at the top of the progress bar.'><i class='fa fa-question-circle'></i></a> </label>
  697. <input type="text" id="percentage_confirmation_page_name" class="fieldwidth-3" />
  698. </div>
  699. </li>
  700. </ul>
  701. </div>
  702.  
  703. <div id="gform_pagination_settings_tab_2">
  704. <ul class="gforms_form_settings">
  705. <li>
  706. <label for="first_page_css_class" style="display:block;">
  707. CSS Class Name <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_css_class' title='&lt;h6&gt;CSS Class Name&lt;/h6&gt;Enter the CSS class name you would like to use in order to override the default styles for this field.'><i class='fa fa-question-circle'></i></a> </label>
  708. <input type="text" id="first_page_css_class" size="30" />
  709. </li>
  710. </ul>
  711. </div>
  712. </div>
  713. </div>
  714.  
  715. <ul id="gform_fields" class="gform_fields top_label form_sublabel_above description_above" style="position: relative;">
  716.  
  717.  
  718. <li id='field_1' class='selectable gfield field_sublabel_above field_description_above' ><div class='gfield_admin_icons'><div class='gfield_admin_header_title'>Paragraph Text : Field ID 1</div><a class='field_delete_icon' id='gfield_delete_1' title='click to delete this field' href='#' onclick='StartDeleteField(this); return false;'><i class='fa fa-times fa-lg'></i></a><a class='field_duplicate_icon' id='gfield_duplicate_1' title='click to duplicate this field' href='#' onclick='StartDuplicateField(this); return false;'><i class='fa fa-files-o fa-lg'></i></a><a class='field_edit_icon edit_icon_collapsed' title='click to expand and edit the options for this field'><i class='fa fa-caret-down fa-lg'></i></a></div><label class='gfield_label' for='input_1' >Start your story here<span class='gfield_required'></span></label><div class='gfield_description'>Don't let your ideas slip away</div><div class='ginput_container ginput_container_textarea'>
  719. <textarea data-maxlen='unlimited' name='input_1' id='input_1' class='textarea large' tabindex='1' placeholder='Begin writing' disabled="disabled" rows='10' cols='50'></textarea>
  720. </div><div class='gf_clear'></div></li><li id='field_12' class='selectable gfield gfield_contains_required field_sublabel_above field_description_above' ><div class='gfield_admin_icons'><div class='gfield_admin_header_title'>Radio Buttons : Field ID 12</div><a class='field_delete_icon' id='gfield_delete_12' title='click to delete this field' href='#' onclick='StartDeleteField(this); return false;'><i class='fa fa-times fa-lg'></i></a><a class='field_duplicate_icon' id='gfield_duplicate_12' title='click to duplicate this field' href='#' onclick='StartDuplicateField(this); return false;'><i class='fa fa-files-o fa-lg'></i></a><a class='field_edit_icon edit_icon_collapsed' title='click to expand and edit the options for this field'><i class='fa fa-caret-down fa-lg'></i></a></div><label class='gfield_label' >Would you like to share your work?<span class='gfield_required'>*</span></label><div class='gfield_description'></div><div class='ginput_container ginput_container_radio'><ul class='gfield_radio' id='input_12'><li class='gchoice_12_0'><input name='input_12' type='radio' value='Yes! I surprised myself with my talent.' id='choice_12_0' tabindex='2' disabled="disabled" /><label for='choice_12_0' id='label_12_0'>Yes! I surprised myself with my talent.</label></li><li class='gchoice_12_1'><input name='input_12' type='radio' value='No, I need more practice.' id='choice_12_1' tabindex='3' disabled="disabled" /><label for='choice_12_1' id='label_12_1'>No, I need more practice.</label></li></ul></div><div class='gf_clear'></div></li><li id='field_7' class='selectable gfield gfield_contains_required field_sublabel_above field_description_above' ><div class='gfield_admin_icons'><div class='gfield_admin_header_title'>Title : Field ID 7</div><a class='field_delete_icon' id='gfield_delete_7' title='click to delete this field' href='#' onclick='StartDeleteField(this); return false;'><i class='fa fa-times fa-lg'></i></a><a class='field_edit_icon edit_icon_collapsed' title='click to expand and edit the options for this field'><i class='fa fa-caret-down fa-lg'></i></a></div><label class='gfield_label' for='input_7' >Give your piece a title<span class='gfield_required'>*</span></label><div class='gfield_description'></div><div class='ginput_container ginput_container_post_title'>
  721. <input name='input_7' id='input_7' type='text' value='' class='medium' tabindex='4' disabled="disabled"/>
  722. </div><div class='gf_clear'></div></li><li id='field_8' class='selectable gfield gfield_contains_required field_sublabel_above field_description_above' ><div class='gfield_admin_icons'><div class='gfield_admin_header_title'>Name : Field ID 8</div><a class='field_delete_icon' id='gfield_delete_8' title='click to delete this field' href='#' onclick='StartDeleteField(this); return false;'><i class='fa fa-times fa-lg'></i></a><a class='field_duplicate_icon' id='gfield_duplicate_8' title='click to duplicate this field' href='#' onclick='StartDuplicateField(this); return false;'><i class='fa fa-files-o fa-lg'></i></a><a class='field_edit_icon edit_icon_collapsed' title='click to expand and edit the options for this field'><i class='fa fa-caret-down fa-lg'></i></a></div><label class='gfield_label' for='input_8_3' >Include a byline<span class='gfield_required'>*</span></label><div class='gfield_description'>Your name (or nom de plume)</div><div class='ginput_complex ginput_container no_prefix has_first_name no_middle_name has_last_name no_suffix gf_name_has_2 ginput_container_name' id='input_8'>
  723. <span id='input_8_2_container' class='name_prefix name_prefix_select' style='display:none;'>
  724. <label for='input_8_2' >Prefix</label>
  725. <select name='input_8.2' id='input_8_2' aria-label='Name prefix' tabindex='5' disabled='disabled'>
  726. <option value=''></option><option value='Mr.' >Mr.</option><option value='Mrs.' >Mrs.</option><option value='Miss' >Miss</option><option value='Ms.' >Ms.</option><option value='Dr.' >Dr.</option><option value='Prof.' >Prof.</option><option value='Rev.' >Rev.</option>
  727. </select>
  728. </span>
  729. <span id='input_8_3_container' class='name_first' >
  730. <label for='input_8_3' >First</label>
  731. <input type='text' name='input_8.3' id='input_8_3' value='' aria-label='First name' tabindex='6' disabled='disabled' />
  732. </span>
  733. <span id='input_8_4_container' class='name_middle' style='display:none;'>
  734. <label for='input_8_4' >Middle</label>
  735. <input type='text' name='input_8.4' id='input_8_4' value='' aria-label='Middle name' tabindex='7' disabled='disabled' />
  736. </span>
  737. <span id='input_8_6_container' class='name_last' >
  738. <label for='input_8_6' >Last</label>
  739. <input type='text' name='input_8.6' id='input_8_6' value='' aria-label='Last name' tabindex='8' disabled='disabled' />
  740. </span>
  741. <span id='input_8_8_container' class='name_suffix ' style='display:none;'>
  742. <label for='input_8_8' >Suffix</label>
  743. <input type='text' name='input_8.8' id='input_8_8' value='' aria-label='Name suffix' tabindex='9' disabled='disabled' />
  744. </span>
  745. </div><div class='gf_clear'></div></li><li id='field_10' class='selectable gfield field_sublabel_above field_description_above' ><div class='gfield_admin_icons'><div class='gfield_admin_header_title'>Website : Field ID 10</div><a class='field_delete_icon' id='gfield_delete_10' title='click to delete this field' href='#' onclick='StartDeleteField(this); return false;'><i class='fa fa-times fa-lg'></i></a><a class='field_duplicate_icon' id='gfield_duplicate_10' title='click to duplicate this field' href='#' onclick='StartDuplicateField(this); return false;'><i class='fa fa-files-o fa-lg'></i></a><a class='field_edit_icon edit_icon_collapsed' title='click to expand and edit the options for this field'><i class='fa fa-caret-down fa-lg'></i></a></div><label class='gfield_label' for='input_10' >Free publicity<span class='gfield_required'></span></label><div class='gfield_description'>Your website or social media page</div><div class='ginput_container ginput_container_website'>
  746. <input name='input_10' id='input_10' type='text' value='' class='medium' tabindex='10' disabled='disabled' placeholder='http://'/>
  747. </div><div class='gf_clear'></div></li><li id='field_6' class='selectable gfield gfield_contains_required field_sublabel_above field_description_above' ><div class='gfield_admin_icons'><div class='gfield_admin_header_title'>Email : Field ID 6</div><a class='field_delete_icon' id='gfield_delete_6' title='click to delete this field' href='#' onclick='StartDeleteField(this); return false;'><i class='fa fa-times fa-lg'></i></a><a class='field_duplicate_icon' id='gfield_duplicate_6' title='click to duplicate this field' href='#' onclick='StartDuplicateField(this); return false;'><i class='fa fa-files-o fa-lg'></i></a><a class='field_edit_icon edit_icon_collapsed' title='click to expand and edit the options for this field'><i class='fa fa-caret-down fa-lg'></i></a></div><label class='gfield_label' for='input_6' >Your contact information<span class='gfield_required'>*</span></label><div class='gfield_description'>(Not for publication)</div><div class='ginput_container ginput_container_email ginput_single_email' style='display:none;'>
  748. <input name='input_6' type='text' class='' disabled='disabled' />
  749. <div class='gf_clear gf_clear_complex'></div>
  750. </div>
  751. <div class='ginput_complex ginput_container ginput_container_email ginput_confirm_email' id='input_6_container'>
  752. <span id='input_6_1_container' class='ginput_left'>
  753. <label for='input_6' >Enter Email</label>
  754. <input class='' type='text' name='input_6' id='input_6' disabled='disabled' />
  755. </span>
  756. <span id='input_6_2_container' class='ginput_right'>
  757. <label for='input_6_2' >Confirm Email</label>
  758. <input class='' type='text' name='input_6_2' id='input_6_2' disabled='disabled' />
  759. </span>
  760. <div class='gf_clear gf_clear_complex'></div>
  761. </div><div class='gf_clear'></div></li><li id='field_13' class='selectable gfield field_sublabel_above field_description_above' ><div class='gfield_admin_icons'><div class='gfield_admin_header_title'>CAPTCHA : Field ID 13</div><a class='field_delete_icon' id='gfield_delete_13' title='click to delete this field' href='#' onclick='StartDeleteField(this); return false;'><i class='fa fa-times fa-lg'></i></a><a class='field_edit_icon edit_icon_collapsed' title='click to expand and edit the options for this field'><i class='fa fa-caret-down fa-lg'></i></a></div><label class='gfield_label' for='input_13' >Captcha<span class='gfield_required'></span></label><div class='gfield_description'></div><div class='ginput_container ginput_container_captcha'><img class='gfield_captcha' src='http://creativeguidance.com/wp-content/plugins/gravityforms/images/captcha_red.jpg' alt='reCAPTCHA' title='reCAPTCHA'/></div><div class='gf_clear'></div></li> </ul>
  762.  
  763. <div id="gform_last_page_settings" class="selectable gform_settings_container" style="display:none;">
  764. <div class="settings_control_container">
  765. <a href="javascript:void(0);" class="form_edit_icon edit_icon_collapsed" title="Edit Last Page"><i class='fa fa-caret-down fa-lg'></i></a>
  766. </div>
  767.  
  768. <div class="gf-pagebreak-end gf-pagebreak-container">
  769. <div class="gf-pagebreak-text-before">end of last page</div>
  770. <div class="gf-pagebreak-text-main"><span>END PAGING</span></div>
  771. <div class="gf-pagebreak-text-after">end of form</div>
  772. </div>
  773.  
  774.  
  775. <div id="last_page_settings" style="display:none;">
  776. <ul>
  777. <li style="width:100px; padding:0px;">
  778. <a href="#gform_last_page_settings_tab_1">General</a></li>
  779. </ul>
  780. <div id="gform_last_page_settings_tab_1">
  781. <ul class="gforms_form_settings">
  782. <li>
  783. <label for="last_page_button_container">
  784. Previous Button </label>
  785.  
  786. <div class="last_page_button_options" id="last_page_button_container">
  787. <input type="radio" id="last_page_button_text" name="last_page_button" value="text" onclick="TogglePageButton('last_page');" />
  788. <label for="last_page_button_text" class="inline">
  789. Default <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_previous_button_text' title='&lt;h6&gt;Previous Button Text&lt;/h6&gt;Enter the text you would like to appear on the page previous button.'><i class='fa fa-question-circle'></i></a> </label>
  790. &nbsp;&nbsp;
  791. <input type="radio" id="last_page_button_image" name="last_page_button" value="image" onclick="TogglePageButton('last_page');" />
  792. <label for="last_page_button_image" class="inline">
  793. Image <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_previous_button_image' title='&lt;h6&gt;Previous Button Image&lt;/h6&gt;Enter the path to an image you would like to use as the page previous button.'><i class='fa fa-question-circle'></i></a> </label>
  794.  
  795. <div id="last_page_button_text_container" style="margin-top:5px;">
  796. <label for="last_page_button_text_input" class="inline">
  797. Text: </label>
  798. <input type="text" id="last_page_button_text_input" class="input_size_b" size="40" />
  799. </div>
  800.  
  801. <div id="last_page_button_image_container" style="margin-top:5px;">
  802. <label for="last_page_button_image_url" class="inline">
  803. Image Path: </label>
  804. <input type="text" id="last_page_button_image_url" size="45" />
  805. </div>
  806. </div>
  807. </li>
  808. </ul>
  809. </div>
  810. </div>
  811. </div>
  812.  
  813. <div>
  814.  
  815. <div id="after_insert_dialog" style="display:none;">
  816. <h3>You have successfully saved your form!</h3>
  817.  
  818. <p>What would you like to do next?</p>
  819.  
  820. <div class="new-form-option">
  821. <a title="Preview this form" id="preview_form_link" href="http://creativeguidance.com/?gf_page=preview&id={formid}" target="_blank">Preview this Form</a>
  822. </div>
  823.  
  824. <div class="new-form-option">
  825. <a title="Setup email notifications for this form" id="notification_form_link" href="#">Setup Email Notifications for this Form</a>
  826. </div>
  827.  
  828. <div class="new-form-option">
  829. <a title="Continue editing this form" id="edit_form_link" href="#">Continue Editing this Form</a>
  830. </div>
  831.  
  832. <div class="new-form-option">
  833. <a title="I am done. Take me back to form list" href="?page=gf_edit_forms">Return to Form List</a>
  834. </div>
  835.  
  836. </div>
  837.  
  838.  
  839. </div>
  840. <div id="field_settings" style="display: none;">
  841. <ul>
  842. <li style="width:100px; padding:0px;">
  843. <a href="#gform_tab_1">General</a>
  844. </li>
  845. <li style="width:100px; padding:0px; ">
  846. <a href="#gform_tab_3">Appearance</a>
  847. </li>
  848. <li style="width:100px; padding:0px; ">
  849. <a href="#gform_tab_2">Advanced</a>
  850. </li>
  851. </ul>
  852. <div id="gform_tab_1">
  853. <ul>
  854. <li class="label_setting field_setting">
  855. <label for="field_label">
  856. Field Label <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_label' title='&lt;h6&gt;Field Label&lt;/h6&gt;Enter the label of the form field. This is the field title the user will see when filling out the form.'><i class='fa fa-question-circle'></i></a> <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_label_html' title='&lt;h6&gt;Field Label&lt;/h6&gt;Enter the label for this HTML block. It will help you identify your HTML blocks in the form editor, but it will not be displayed on the form.'><i class='fa fa-question-circle'></i></a> </label>
  857. <input type="text" id="field_label" class="fieldwidth-3" size="35" />
  858. </li>
  859. <li class="description_setting field_setting">
  860. <label for="field_description">
  861. Description <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_description' title='&lt;h6&gt;Field Description&lt;/h6&gt;Enter the description for the form field. This will be displayed to the user and provide some direction on how the field should be filled out or selected.'><i class='fa fa-question-circle'></i></a> </label>
  862. <textarea id="field_description" class="fieldwidth-3 fieldheight-2"></textarea>
  863. </li>
  864. <li class="product_field_setting field_setting">
  865. <label for="product_field">
  866. Product Field Mapping <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_product' title='&lt;h6&gt;Product Field&lt;/h6&gt;Select which Product this field is tied to.'><i class='fa fa-question-circle'></i></a> </label>
  867. <select id="product_field" onchange="SetFieldProperty('productField', jQuery(this).val());">
  868. <!-- will be populated when field is selected (js.php) -->
  869. </select>
  870. </li>
  871. <li class="wysiwyg_field_setting_wysiwyg_ckeditor field_setting" style="display:list-item;">
  872. <input type="checkbox" id="field_enable_wysiwyg_ckeditor"/>
  873. <label for="field_enable_wysiwyg_ckeditor" class="inline">
  874. Enable WYSIWYG (CKEditor) </label>
  875. <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_enable_wysiwyg_ckeditor' title='&lt;h6&gt;Enable WYSIWYG&lt;/h6&gt;Check this box to turn this field into a WYSIWYG editor, using ckeditor.'><i class='fa fa-question-circle'></i></a><br/>
  876. </li>
  877. <li class="product_field_type_setting field_setting">
  878. <label for="product_field_type">
  879. Field Type <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_type' title='&lt;h6&gt;Field type&lt;/h6&gt;Select the type of field from the available form fields.'><i class='fa fa-question-circle'></i></a> </label>
  880. <select id="product_field_type" onchange="if(jQuery(this).val() == '') return; jQuery('#field_settings').slideUp(function(){StartChangeProductType(jQuery('#product_field_type').val());});">
  881. <option value="singleproduct">Single Product</option>
  882. <option value="select">Drop Down</option>
  883. <option value="radio">Radio Buttons</option>
  884. <option value="price">User Defined Price</option>
  885. <option value="hiddenproduct">Hidden</option>
  886. <option value="calculation">Calculation</option>
  887. </select>
  888. </li>
  889. <li class="shipping_field_type_setting field_setting">
  890. <label for="shipping_field_type">
  891. Field Type <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_type' title='&lt;h6&gt;Field type&lt;/h6&gt;Select the type of field from the available form fields.'><i class='fa fa-question-circle'></i></a> </label>
  892. <select id="shipping_field_type" onchange="if(jQuery(this).val() == '') return; jQuery('#field_settings').slideUp(function(){StartChangeShippingType(jQuery('#shipping_field_type').val());});">
  893. <option value="singleshipping">Single Method</option>
  894. <option value="select">Drop Down</option>
  895. <option value="radio">Radio Buttons</option>
  896. </select>
  897. </li>
  898. <li class="base_price_setting field_setting">
  899. <label for="field_base_price">
  900. Price <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_base_price' title='&lt;h6&gt;Base Price&lt;/h6&gt;Enter the base price for this product.'><i class='fa fa-question-circle'></i></a> </label>
  901. <input type="text" id="field_base_price" onchange="SetBasePrice(this.value)" />
  902. </li>
  903. <li class="disable_quantity_setting field_setting">
  904. <input type="checkbox" name="field_disable_quantity" id="field_disable_quantity" onclick="SetDisableQuantity(jQuery(this).is(':checked'));" />
  905. <label for="field_disable_quantity" class="inline">
  906. Disable quantity field <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_disable_quantity' title='&lt;h6&gt;Disable Quantity&lt;/h6&gt;Disables the quantity field. A quantity of 1 will be assumed or you can add a Quantity field to your form from the Pricing Fields.'><i class='fa fa-question-circle'></i></a> </label>
  907.  
  908. </li>
  909. <li class="option_field_type_setting field_setting">
  910. <label for="option_field_type">
  911. Field Type <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_type' title='&lt;h6&gt;Field type&lt;/h6&gt;Select the type of field from the available form fields.'><i class='fa fa-question-circle'></i></a> </label>
  912. <select id="option_field_type" onchange="if(jQuery(this).val() == '') return; jQuery('#field_settings').slideUp(function(){StartChangeInputType(jQuery('#option_field_type').val());});">
  913. <option value="select">Drop Down</option>
  914. <option value="checkbox">Checkboxes</option>
  915. <option value="radio">Radio Buttons</option>
  916. </select>
  917. </li>
  918. <li class="donation_field_type_setting field_setting">
  919. <label for="donation_field_type">
  920. Field Type <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_type' title='&lt;h6&gt;Field type&lt;/h6&gt;Select the type of field from the available form fields.'><i class='fa fa-question-circle'></i></a> </label>
  921. <select id="donation_field_type" onchange="if(jQuery(this).val() == '') return; jQuery('#field_settings').slideUp(function(){StartChangeDonationType(jQuery('#donation_field_type').val());});">
  922. <option value="select">Drop Down</option>
  923. <option value="donation">User Defined Price</option>
  924. <option value="radio">Radio Buttons</option>
  925. </select>
  926. </li>
  927. <li class="quantity_field_type_setting field_setting">
  928. <label for="quantity_field_type">
  929. Field Type <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_type' title='&lt;h6&gt;Field type&lt;/h6&gt;Select the type of field from the available form fields.'><i class='fa fa-question-circle'></i></a> </label>
  930. <select id="quantity_field_type" onchange="if(jQuery(this).val() == '') return; jQuery('#field_settings').slideUp(function(){StartChangeInputType(jQuery('#quantity_field_type').val());});">
  931. <option value="number">Number</option>
  932. <option value="select">Drop Down</option>
  933. <option value="hidden">Hidden</option>
  934. </select>
  935. </li>
  936.  
  937. <li class="content_setting field_setting">
  938. <label for="field_content">
  939. Content <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_content' title='&lt;h6&gt;Content&lt;/h6&gt;Enter the content (Text or HTML) to be displayed on the form.'><i class='fa fa-question-circle'></i></a> </label>
  940. <textarea id="field_content" class="fieldwidth-3 fieldheight-1 merge-tag-support mt-position-right mt-prepopulate"></textarea>
  941.  
  942. </li>
  943.  
  944. <li class="next_button_setting field_setting">
  945. <label for="next_button_container">
  946. Next Button </label>
  947.  
  948. <div class="next_button_options" id="next_button_container">
  949. <input type="radio" id="next_button_text" name="next_button" value="text" onclick="TogglePageButton('next'); SetPageButton('next');" />
  950. <label for="next_button_text" class="inline">
  951. Default <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_next_button_text' title='&lt;h6&gt;Next Button Text&lt;/h6&gt;Enter the text you would like to appear on the page next button.'><i class='fa fa-question-circle'></i></a> </label>
  952. &nbsp;&nbsp;
  953. <input type="radio" id="next_button_image" name="next_button" value="image" onclick="TogglePageButton('next'); SetPageButton('next');" />
  954. <label for="next_button_image" class="inline">
  955. Image <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_next_button_image' title='&lt;h6&gt;Next Button Image&lt;/h6&gt;Enter the path to an image you would like to use as the page next button.'><i class='fa fa-question-circle'></i></a> </label>
  956.  
  957. <div id="next_button_text_container" style="margin-top:5px;">
  958. <label for="next_button_text_input" class="inline">
  959. Text: </label>
  960. <input type="text" id="next_button_text_input" class="input_size_b" size="40" />
  961. </div>
  962.  
  963. <div id="next_button_image_container" style="margin-top:5px;">
  964. <label for="next_button_image_url" class="inline">
  965. Image Path: </label>
  966. <input type="text" id="next_button_image_url" size="45" />
  967. </div>
  968. </div>
  969. </li>
  970.  
  971. <li class="previous_button_setting field_setting">
  972. <label for="previous_button_container">
  973. Previous Button </label>
  974.  
  975. <div class="previous_button_options" id="previous_button_container">
  976. <input type="radio" id="previous_button_text" name="previous_button" value="text" onclick="TogglePageButton('previous'); SetPageButton('previous');" />
  977. <label for="previous_button_text" class="inline">
  978. Default <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_previous_button_text' title='&lt;h6&gt;Previous Button Text&lt;/h6&gt;Enter the text you would like to appear on the page previous button.'><i class='fa fa-question-circle'></i></a> </label>
  979. &nbsp;&nbsp;
  980. <input type="radio" id="previous_button_image" name="previous_button" value="image" onclick="TogglePageButton('previous'); SetPageButton('previous');" />
  981. <label for="previous_button_image" class="inline">
  982. Image <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_previous_button_image' title='&lt;h6&gt;Previous Button Image&lt;/h6&gt;Enter the path to an image you would like to use as the page previous button.'><i class='fa fa-question-circle'></i></a> </label>
  983.  
  984. <div id="previous_button_text_container" style="margin-top:5px;">
  985. <label for="previous_button_text_input" class="inline">
  986. Text: </label>
  987. <input type="text" id="previous_button_text_input" class="input_size_b" size="40" />
  988. </div>
  989.  
  990. <div id="previous_button_image_container" style="margin-top:5px;">
  991. <label for="previous_button_image_url" class="inline">
  992. Image Path: </label>
  993. <input type="text" id="previous_button_image_url" size="45" />
  994. </div>
  995. </div>
  996. </li>
  997.  
  998. <li class="disable_margins_setting field_setting">
  999. <input type="checkbox" id="field_margins" onclick="SetFieldProperty('disableMargins', this.checked);" />
  1000. <label for="field_disable_margins" class="inline">
  1001. Disable default margins <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_disable_margins' title='&lt;h6&gt;Disable Default Margins&lt;/h6&gt;When enabled, margins are added to properly align the HTML content with other form fields.'><i class='fa fa-question-circle'></i></a> </label><br />
  1002. </li>
  1003. <li class="post_custom_field_type_setting field_setting">
  1004. <label for="post_custom_field_type">
  1005. Field Type <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_type' title='&lt;h6&gt;Field type&lt;/h6&gt;Select the type of field from the available form fields.'><i class='fa fa-question-circle'></i></a> </label>
  1006. <select id="post_custom_field_type" onchange="if(jQuery(this).val() == '') return; jQuery('#field_settings').slideUp(function(){StartChangeInputType(jQuery('#post_custom_field_type').val());});">
  1007. <optgroup class="option_header" label="Standard Fields">
  1008. <option value="text">Single line text</option>
  1009. <option value="textarea">Paragraph Text</option>
  1010. <option value="select">Drop Down</option>
  1011. <option value="multiselect">Multi Select</option>
  1012. <option value="number">Number</option>
  1013. <option value="checkbox">Checkboxes</option>
  1014. <option value="radio">Radio Buttons</option>
  1015. <option value="hidden">Hidden</option>
  1016. </optgroup>
  1017. <optgroup class="option_header" label="Advanced Fields">
  1018. <option value="date">Date</option>
  1019. <option value="time">Time</option>
  1020. <option value="phone">Phone</option>
  1021. <option value="website">Website</option>
  1022. <option value="email">Email</option>
  1023. <option value="fileupload">File Upload</option>
  1024. <option value="list">List</option>
  1025. </optgroup>
  1026. </select>
  1027. </li>
  1028. <li class="post_tag_type_setting field_setting">
  1029. <label for="post_tag_type">
  1030. Field Type <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_type' title='&lt;h6&gt;Field type&lt;/h6&gt;Select the type of field from the available form fields.'><i class='fa fa-question-circle'></i></a> </label>
  1031. <select id="post_tag_type" onchange="if(jQuery(this).val() == '') return; jQuery('#field_settings').slideUp(function(){StartChangeInputType(jQuery('#post_tag_type').val());});">
  1032. <option value="text">Single line text</option>
  1033. <option value="select">Drop Down</option>
  1034. <option value="multiselect">Multi Select</option>
  1035. <option value="checkbox">Checkboxes</option>
  1036. <option value="radio">Radio Buttons</option>
  1037. </select>
  1038. </li>
  1039. <li class="captcha_theme_setting field_setting">
  1040. <label for="field_captcha_theme">
  1041. Theme <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_recaptcha_theme' title='&lt;h6&gt;Recaptcha Theme&lt;/h6&gt;Select the visual theme for the reCAPTCHA field from the available options to better match your site design.'><i class='fa fa-question-circle'></i></a> </label>
  1042. <select id="field_captcha_theme" onchange="SetCaptchaTheme(this.value, 'http://creativeguidance.com/wp-content/plugins/gravityforms/images/captcha_' + this.value + '.jpg')">
  1043. <option value="red">Red</option>
  1044. <option value="white">White</option>
  1045. <option value="blackglass">Black Glass</option>
  1046. <option value="clean">Clean</option>
  1047. </select>
  1048. </li>
  1049. <li class="post_custom_field_setting field_setting">
  1050. <label for="field_custom_field_name">
  1051. Custom Field Name <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_custom_field_name' title='&lt;h6&gt;Custom Field Name&lt;/h6&gt;Select the custom field name from available existing custom fields, or enter a new custom field name.'><i class='fa fa-question-circle'></i></a> </label>
  1052.  
  1053. <div style="width:100px; float:left;">
  1054. <input type="radio" name="field_custom" id="field_custom_existing" size="10" onclick="ToggleCustomField();" />
  1055. <label for="field_custom_existing" class="inline">
  1056. Existing </label>
  1057. </div>
  1058. <div style="width:100px; float:left;">
  1059. <input type="radio" name="field_custom" id="field_custom_new" size="10" onclick="ToggleCustomField();" />
  1060. <label for="field_custom_new" class="inline">
  1061. New </label>
  1062. </div>
  1063. <div class="clear">
  1064. <input type="text" id="field_custom_field_name_text" size="35" />
  1065. <select id="field_custom_field_name_select" onchange="SetFieldProperty('postCustomFieldName', jQuery(this).val());">
  1066. <option value="">Select an existing custom field</option>
  1067. <option value="1_dh_ptp_settings">1_dh_ptp_settings</option>
  1068. <option value="add_video_url">add_video_url</option>
  1069. <option value="aesop_cc_characters">aesop_cc_characters</option>
  1070. <option value="aesop_cc_pagination">aesop_cc_pagination</option>
  1071. <option value="aesop_cc_timing">aesop_cc_timing</option>
  1072. <option value="aesop_cc_visible">aesop_cc_visible</option>
  1073. <option value="aliases">aliases</option>
  1074. <option value="amazon_url">amazon_url</option>
  1075. <option value="ase_map_component_start_point">ase_map_component_start_point</option>
  1076. <option value="audible_url">audible_url</option>
  1077. <option value="barnes_noble_url">barnes_noble_url</option>
  1078. <option value="books_a_million_url">books_a_million_url</option>
  1079. <option value="category_slider_add">category_slider_add</option>
  1080. <option value="christian_books_url">christian_books_url</option>
  1081. <option value="client_name">client_name</option>
  1082. <option value="code">code</option>
  1083. <option value="coming_soon_text">coming_soon_text</option>
  1084. <option value="company_name">company_name</option>
  1085. <option value="company_website">company_website</option>
  1086. <option value="comp_page_sidebar">comp_page_sidebar</option>
  1087. <option value="comp_posts_page_link">comp_posts_page_link</option>
  1088. <option value="container_ids">container_ids</option>
  1089. <option value="content_width">content_width</option>
  1090. <option value="custom_css_add">custom_css_add</option>
  1091. <option value="custom_css_preprocessor">custom_css_preprocessor</option>
  1092. <option value="custom_post_footer">custom_post_footer</option>
  1093. <option value="custom_post_top">custom_post_top</option>
  1094. <option value="default_source">default_source</option>
  1095. <option value="detail_active">detail_active</option>
  1096. <option value="display_settings">display_settings</option>
  1097. <option value="display_type">display_type</option>
  1098. <option value="email">email</option>
  1099. <option value="enable_rating">enable_rating</option>
  1100. <option value="entity_ids">entity_ids</option>
  1101. <option value="entity_types">entity_types</option>
  1102. <option value="ewd-feup-level-dropdown">ewd-feup-level-dropdown</option>
  1103. <option value="ewd-feup-level-type-dropdown">ewd-feup-level-type-dropdown</option>
  1104. <option value="EWD_UFAQ_Post_Author">EWD_UFAQ_Post_Author</option>
  1105. <option value="excluded_container_ids">excluded_container_ids</option>
  1106. <option value="exclusions">exclusions</option>
  1107. <option value="existing_elements">existing_elements</option>
  1108. <option value="featured_post_add">featured_post_add</option>
  1109. <option value="filter">filter</option>
  1110. <option value="flat-cta-content-color">flat-cta-content-color</option>
  1111. <option value="flat-cta-content-color-1">flat-cta-content-color-1</option>
  1112. <option value="flat-cta-content-text-color">flat-cta-content-text-color</option>
  1113. <option value="flat-cta-content-text-color-1">flat-cta-content-text-color-1</option>
  1114. <option value="flat-cta-header-text">flat-cta-header-text</option>
  1115. <option value="flat-cta-header-text-1">flat-cta-header-text-1</option>
  1116. <option value="flat-cta-link_url">flat-cta-link_url</option>
  1117. <option value="flat-cta-link_url-1">flat-cta-link_url-1</option>
  1118. <option value="flat-cta-sub-header-text">flat-cta-sub-header-text</option>
  1119. <option value="flat-cta-sub-header-text-1">flat-cta-sub-header-text-1</option>
  1120. <option value="flat-cta-submit-button-color">flat-cta-submit-button-color</option>
  1121. <option value="flat-cta-submit-button-color-1">flat-cta-submit-button-color-1</option>
  1122. <option value="flat-cta-submit-button-text">flat-cta-submit-button-text</option>
  1123. <option value="flat-cta-submit-button-text-1">flat-cta-submit-button-text-1</option>
  1124. <option value="flat-cta-text-color">flat-cta-text-color</option>
  1125. <option value="flat-cta-text-color-1">flat-cta-text-color-1</option>
  1126. <option value="googleplay_url">googleplay_url</option>
  1127. <option value="grp_pages_post_options">grp_pages_post_options</option>
  1128. <option value="has_variations">has_variations</option>
  1129. <option value="homepage_slider_add">homepage_slider_add</option>
  1130. <option value="i18n">i18n</option>
  1131. <option value="id_field">id_field</option>
  1132. <option value="img_key">img_key</option>
  1133. <option value="inbound_email_body_template">inbound_email_body_template</option>
  1134. <option value="inbound_email_description">inbound_email_description</option>
  1135. <option value="inbound_email_subject_template">inbound_email_subject_template</option>
  1136. <option value="indiebound_url">indiebound_url</option>
  1137. <option value="installed_at_version">installed_at_version</option>
  1138. <option value="isbn_number">isbn_number</option>
  1139. <option value="itunes_url">itunes_url</option>
  1140. <option value="jeweltheme_end_date">jeweltheme_end_date</option>
  1141. <option value="jeweltheme_start_date">jeweltheme_start_date</option>
  1142. <option value="kobo_url">kobo_url</option>
  1143. <option value="leadpages_my_selected_page">leadpages_my_selected_page</option>
  1144. <option value="leadpages_name">leadpages_name</option>
  1145. <option value="leadpages_slug">leadpages_slug</option>
  1146. <option value="leadpages_split_test">leadpages_split_test</option>
  1147. <option value="link_open_option">link_open_option</option>
  1148. <option value="lp-ab-variation-conversions-0">lp-ab-variation-conversions-0</option>
  1149. <option value="lp-ab-variation-conversions-1">lp-ab-variation-conversions-1</option>
  1150. <option value="lp-ab-variation-impressions-0">lp-ab-variation-impressions-0</option>
  1151. <option value="lp-ab-variation-impressions-1">lp-ab-variation-impressions-1</option>
  1152. <option value="lp-ab-variations">lp-ab-variations</option>
  1153. <option value="lp-ab-variations-marker">lp-ab-variations-marker</option>
  1154. <option value="lp-main-headline">lp-main-headline</option>
  1155. <option value="lp-main-headline-1">lp-main-headline-1</option>
  1156. <option value="lp-selected-template">lp-selected-template</option>
  1157. <option value="lp-selected-template-1">lp-selected-template-1</option>
  1158. <option value="lpp_add_img_1">lpp_add_img_1</option>
  1159. <option value="lpp_benefit_1_content">lpp_benefit_1_content</option>
  1160. <option value="lpp_benefit_1_content_title">lpp_benefit_1_content_title</option>
  1161. <option value="lpp_benefit_2_content">lpp_benefit_2_content</option>
  1162. <option value="lpp_benefit_2_content_title">lpp_benefit_2_content_title</option>
  1163. <option value="lpp_benefit_3_content">lpp_benefit_3_content</option>
  1164. <option value="lpp_benefit_3_content_title">lpp_benefit_3_content_title</option>
  1165. <option value="lpp_benefit_bg">lpp_benefit_bg</option>
  1166. <option value="lpp_content_bg">lpp_content_bg</option>
  1167. <option value="lpp_content_c">lpp_content_c</option>
  1168. <option value="lpp_cta_bg">lpp_cta_bg</option>
  1169. <option value="lpp_cta_c">lpp_cta_c</option>
  1170. <option value="lpp_cta_url">lpp_cta_url</option>
  1171. <option value="lpp_feature_1">lpp_feature_1</option>
  1172. <option value="lpp_feature_2">lpp_feature_2</option>
  1173. <option value="lpp_feature_3">lpp_feature_3</option>
  1174. <option value="lpp_fe_template_select">lpp_fe_template_select</option>
  1175. <option value="lpp_final_cta">lpp_final_cta</option>
  1176. <option value="lpp_final_sub_h2">lpp_final_sub_h2</option>
  1177. <option value="lpp_h1_c">lpp_h1_c</option>
  1178. <option value="lpp_h2_c">lpp_h2_c</option>
  1179. <option value="lpp_mailchimp_apikey">lpp_mailchimp_apikey</option>
  1180. <option value="lpp_mailchimp_listid">lpp_mailchimp_listid</option>
  1181. <option value="lpp_main_content">lpp_main_content</option>
  1182. <option value="lpp_main_cta">lpp_main_cta</option>
  1183. <option value="lpp_main_h1">lpp_main_h1</option>
  1184. <option value="lpp_sub_h2">lpp_sub_h2</option>
  1185. <option value="lpp_template_select">lpp_template_select</option>
  1186. <option value="lpp_testimonial_bg">lpp_testimonial_bg</option>
  1187. <option value="lpp_testimonial_left_content">lpp_testimonial_left_content</option>
  1188. <option value="lpp_testimonial_left_content_author">lpp_testimonial_left_content_author</option>
  1189. <option value="lp_page_views_count">lp_page_views_count</option>
  1190. <option value="matheson_custom_image">matheson_custom_image</option>
  1191. <option value="matheson_single_layout">matheson_single_layout</option>
  1192. <option value="maximum_entity_count">maximum_entity_count</option>
  1193. <option value="mbt_book_image_id">mbt_book_image_id</option>
  1194. <option value="mbt_buybuttons">mbt_buybuttons</option>
  1195. <option value="mbt_price">mbt_price</option>
  1196. <option value="mbt_publication_year">mbt_publication_year</option>
  1197. <option value="mbt_publisher_name">mbt_publisher_name</option>
  1198. <option value="mbt_publisher_url">mbt_publisher_url</option>
  1199. <option value="mbt_sale_price">mbt_sale_price</option>
  1200. <option value="mbt_sample_url">mbt_sample_url</option>
  1201. <option value="mbt_seo_metadesc">mbt_seo_metadesc</option>
  1202. <option value="mbt_seo_title">mbt_seo_title</option>
  1203. <option value="mbt_series_order">mbt_series_order</option>
  1204. <option value="mbt_unique_id">mbt_unique_id</option>
  1205. <option value="membership1">membership1</option>
  1206. <option value="meta_id">meta_id</option>
  1207. <option value="meta_key">meta_key</option>
  1208. <option value="meta_value">meta_value</option>
  1209. <option value="muut_last_active_tab">muut_last_active_tab</option>
  1210. <option value="muut_post_domain">muut_post_domain</option>
  1211. <option value="muut_use_muut_commenting">muut_use_muut_commenting</option>
  1212. <option value="my_meta_box_check">my_meta_box_check</option>
  1213. <option value="name">name</option>
  1214. <option value="ninja_forms_form">ninja_forms_form</option>
  1215. <option value="nofollow">nofollow</option>
  1216. <option value="order_by">order_by</option>
  1217. <option value="order_direction">order_direction</option>
  1218. <option value="page_builder">page_builder</option>
  1219. <option value="page_composer">page_composer</option>
  1220. <option value="page_composer_0_category_button">page_composer_0_category_button</option>
  1221. <option value="page_composer_0_category_excerpt">page_composer_0_category_excerpt</option>
  1222. <option value="page_composer_0_category_main_title">page_composer_0_category_main_title</option>
  1223. <option value="page_composer_0_category_posts_per_page">page_composer_0_category_posts_per_page</option>
  1224. <option value="page_composer_0_category_section_name">page_composer_0_category_section_name</option>
  1225. <option value="page_composer_0_category_sub_title">page_composer_0_category_sub_title</option>
  1226. <option value="page_composer_0_custom_add_new_slide">page_composer_0_custom_add_new_slide</option>
  1227. <option value="page_composer_0_custom_add_new_slide_0_custom_button_text">page_composer_0_custom_add_new_slide_0_custom_button_text</option>
  1228. <option value="page_composer_0_custom_add_new_slide_0_custom_slide_image">page_composer_0_custom_add_new_slide_0_custom_slide_image</option>
  1229. <option value="page_composer_0_custom_add_new_slide_0_custom_slide_title">page_composer_0_custom_add_new_slide_0_custom_slide_title</option>
  1230. <option value="page_composer_0_custom_add_new_slide_0_custom_slide_url">page_composer_0_custom_add_new_slide_0_custom_slide_url</option>
  1231. <option value="page_composer_0_custom_add_new_slide_1_custom_button_text">page_composer_0_custom_add_new_slide_1_custom_button_text</option>
  1232. <option value="page_composer_0_custom_add_new_slide_1_custom_slide_image">page_composer_0_custom_add_new_slide_1_custom_slide_image</option>
  1233. <option value="page_composer_0_custom_add_new_slide_1_custom_slide_title">page_composer_0_custom_add_new_slide_1_custom_slide_title</option>
  1234. <option value="page_composer_0_custom_add_new_slide_1_custom_slide_url">page_composer_0_custom_add_new_slide_1_custom_slide_url</option>
  1235. <option value="page_composer_0_custom_add_new_slide_2_custom_button_text">page_composer_0_custom_add_new_slide_2_custom_button_text</option>
  1236. <option value="page_composer_0_custom_add_new_slide_2_custom_slide_image">page_composer_0_custom_add_new_slide_2_custom_slide_image</option>
  1237. <option value="page_composer_0_custom_add_new_slide_2_custom_slide_title">page_composer_0_custom_add_new_slide_2_custom_slide_title</option>
  1238. <option value="page_composer_0_custom_add_new_slide_2_custom_slide_url">page_composer_0_custom_add_new_slide_2_custom_slide_url</option>
  1239. <option value="page_composer_0_custom_add_new_slide_3_custom_button_text">page_composer_0_custom_add_new_slide_3_custom_button_text</option>
  1240. <option value="page_composer_0_custom_add_new_slide_3_custom_slide_image">page_composer_0_custom_add_new_slide_3_custom_slide_image</option>
  1241. <option value="page_composer_0_custom_add_new_slide_3_custom_slide_title">page_composer_0_custom_add_new_slide_3_custom_slide_title</option>
  1242. <option value="page_composer_0_custom_add_new_slide_3_custom_slide_url">page_composer_0_custom_add_new_slide_3_custom_slide_url</option>
  1243. <option value="page_composer_0_custom_add_new_slide_4_custom_button_text">page_composer_0_custom_add_new_slide_4_custom_button_text</option>
  1244. <option value="page_composer_0_custom_add_new_slide_4_custom_slide_image">page_composer_0_custom_add_new_slide_4_custom_slide_image</option>
  1245. <option value="page_composer_0_custom_add_new_slide_4_custom_slide_title">page_composer_0_custom_add_new_slide_4_custom_slide_title</option>
  1246. <option value="page_composer_0_custom_add_new_slide_4_custom_slide_url">page_composer_0_custom_add_new_slide_4_custom_slide_url</option>
  1247. <option value="page_composer_0_custom_add_new_slide_5_custom_button_text">page_composer_0_custom_add_new_slide_5_custom_button_text</option>
  1248. <option value="page_composer_0_custom_add_new_slide_5_custom_slide_image">page_composer_0_custom_add_new_slide_5_custom_slide_image</option>
  1249. <option value="page_composer_0_custom_add_new_slide_5_custom_slide_title">page_composer_0_custom_add_new_slide_5_custom_slide_title</option>
  1250. <option value="page_composer_0_custom_add_new_slide_5_custom_slide_url">page_composer_0_custom_add_new_slide_5_custom_slide_url</option>
  1251. <option value="page_composer_0_custom_slider_position">page_composer_0_custom_slider_position</option>
  1252. <option value="page_composer_0_custom_slider_type">page_composer_0_custom_slider_type</option>
  1253. <option value="page_composer_0_full_image_button_text">page_composer_0_full_image_button_text</option>
  1254. <option value="page_composer_0_full_image_button_url">page_composer_0_full_image_button_url</option>
  1255. <option value="page_composer_0_full_image_main_title">page_composer_0_full_image_main_title</option>
  1256. <option value="page_composer_0_full_image_sub_title">page_composer_0_full_image_sub_title</option>
  1257. <option value="page_composer_0_full_image_upload">page_composer_0_full_image_upload</option>
  1258. <option value="page_composer_0_posts_slider_position">page_composer_0_posts_slider_position</option>
  1259. <option value="page_composer_0_posts_slider_type">page_composer_0_posts_slider_type</option>
  1260. <option value="page_composer_0_slides_to_show">page_composer_0_slides_to_show</option>
  1261. <option value="page_composer_0_title_styling">page_composer_0_title_styling</option>
  1262. <option value="page_composer_0_title_text_content">page_composer_0_title_text_content</option>
  1263. <option value="page_composer_1_carousel_position">page_composer_1_carousel_position</option>
  1264. <option value="page_composer_1_carousel_slides_to_show">page_composer_1_carousel_slides_to_show</option>
  1265. <option value="page_composer_1_category_button">page_composer_1_category_button</option>
  1266. <option value="page_composer_1_category_excerpt">page_composer_1_category_excerpt</option>
  1267. <option value="page_composer_1_category_main_title">page_composer_1_category_main_title</option>
  1268. <option value="page_composer_1_category_posts_per_page">page_composer_1_category_posts_per_page</option>
  1269. <option value="page_composer_1_category_section_name">page_composer_1_category_section_name</option>
  1270. <option value="page_composer_1_category_sub_title">page_composer_1_category_sub_title</option>
  1271. <option value="page_composer_1_custom_add_new_slide">page_composer_1_custom_add_new_slide</option>
  1272. <option value="page_composer_1_custom_add_new_slide_0_custom_button_text">page_composer_1_custom_add_new_slide_0_custom_button_text</option>
  1273. <option value="page_composer_1_custom_add_new_slide_0_custom_slide_image">page_composer_1_custom_add_new_slide_0_custom_slide_image</option>
  1274. <option value="page_composer_1_custom_add_new_slide_0_custom_slide_title">page_composer_1_custom_add_new_slide_0_custom_slide_title</option>
  1275. <option value="page_composer_1_custom_add_new_slide_0_custom_slide_url">page_composer_1_custom_add_new_slide_0_custom_slide_url</option>
  1276. <option value="page_composer_1_custom_add_new_slide_1_custom_button_text">page_composer_1_custom_add_new_slide_1_custom_button_text</option>
  1277. <option value="page_composer_1_custom_add_new_slide_1_custom_slide_image">page_composer_1_custom_add_new_slide_1_custom_slide_image</option>
  1278. <option value="page_composer_1_custom_add_new_slide_1_custom_slide_title">page_composer_1_custom_add_new_slide_1_custom_slide_title</option>
  1279. <option value="page_composer_1_custom_add_new_slide_1_custom_slide_url">page_composer_1_custom_add_new_slide_1_custom_slide_url</option>
  1280. <option value="page_composer_1_custom_add_new_slide_2_custom_button_text">page_composer_1_custom_add_new_slide_2_custom_button_text</option>
  1281. <option value="page_composer_1_custom_add_new_slide_2_custom_slide_image">page_composer_1_custom_add_new_slide_2_custom_slide_image</option>
  1282. <option value="page_composer_1_custom_add_new_slide_2_custom_slide_title">page_composer_1_custom_add_new_slide_2_custom_slide_title</option>
  1283. <option value="page_composer_1_custom_add_new_slide_2_custom_slide_url">page_composer_1_custom_add_new_slide_2_custom_slide_url</option>
  1284. <option value="page_composer_1_custom_add_new_slide_3_custom_button_text">page_composer_1_custom_add_new_slide_3_custom_button_text</option>
  1285. <option value="page_composer_1_custom_add_new_slide_3_custom_slide_image">page_composer_1_custom_add_new_slide_3_custom_slide_image</option>
  1286. <option value="page_composer_1_custom_add_new_slide_3_custom_slide_title">page_composer_1_custom_add_new_slide_3_custom_slide_title</option>
  1287. <option value="page_composer_1_custom_add_new_slide_3_custom_slide_url">page_composer_1_custom_add_new_slide_3_custom_slide_url</option>
  1288. <option value="page_composer_1_custom_slider_position">page_composer_1_custom_slider_position</option>
  1289. <option value="page_composer_1_custom_slider_type">page_composer_1_custom_slider_type</option>
  1290. <option value="page_composer_1_full_image_button_text">page_composer_1_full_image_button_text</option>
  1291. <option value="page_composer_1_full_image_button_url">page_composer_1_full_image_button_url</option>
  1292. <option value="page_composer_1_full_image_main_title">page_composer_1_full_image_main_title</option>
  1293. <option value="page_composer_1_full_image_sub_title">page_composer_1_full_image_sub_title</option>
  1294. <option value="page_composer_1_full_image_upload">page_composer_1_full_image_upload</option>
  1295. <option value="page_composer_1_posts_slider_position">page_composer_1_posts_slider_position</option>
  1296. <option value="page_composer_1_posts_slider_type">page_composer_1_posts_slider_type</option>
  1297. <option value="page_composer_1_slides_to_show">page_composer_1_slides_to_show</option>
  1298. <option value="page_composer_1_title_styling">page_composer_1_title_styling</option>
  1299. <option value="page_composer_1_title_text_content">page_composer_1_title_text_content</option>
  1300. <option value="page_composer_1_wp_ti_editor">page_composer_1_wp_ti_editor</option>
  1301. <option value="page_composer_2_carousel_position">page_composer_2_carousel_position</option>
  1302. <option value="page_composer_2_carousel_slides_to_show">page_composer_2_carousel_slides_to_show</option>
  1303. <option value="page_composer_2_category_button">page_composer_2_category_button</option>
  1304. <option value="page_composer_2_category_excerpt">page_composer_2_category_excerpt</option>
  1305. <option value="page_composer_2_category_main_title">page_composer_2_category_main_title</option>
  1306. <option value="page_composer_2_category_posts_per_page">page_composer_2_category_posts_per_page</option>
  1307. <option value="page_composer_2_category_section_name">page_composer_2_category_section_name</option>
  1308. <option value="page_composer_2_category_sub_title">page_composer_2_category_sub_title</option>
  1309. <option value="page_composer_2_full_image_button_text">page_composer_2_full_image_button_text</option>
  1310. <option value="page_composer_2_full_image_button_url">page_composer_2_full_image_button_url</option>
  1311. <option value="page_composer_2_full_image_main_title">page_composer_2_full_image_main_title</option>
  1312. <option value="page_composer_2_full_image_sub_title">page_composer_2_full_image_sub_title</option>
  1313. <option value="page_composer_2_full_image_upload">page_composer_2_full_image_upload</option>
  1314. <option value="page_composer_2_posts_slider_position">page_composer_2_posts_slider_position</option>
  1315. <option value="page_composer_2_posts_slider_type">page_composer_2_posts_slider_type</option>
  1316. <option value="page_composer_2_slides_to_show">page_composer_2_slides_to_show</option>
  1317. <option value="page_composer_2_title_styling">page_composer_2_title_styling</option>
  1318. <option value="page_composer_2_title_text_content">page_composer_2_title_text_content</option>
  1319. <option value="page_composer_2_wp_ti_editor">page_composer_2_wp_ti_editor</option>
  1320. <option value="page_composer_3_ad_banner_code">page_composer_3_ad_banner_code</option>
  1321. <option value="page_composer_3_category_button">page_composer_3_category_button</option>
  1322. <option value="page_composer_3_category_excerpt">page_composer_3_category_excerpt</option>
  1323. <option value="page_composer_3_category_main_title">page_composer_3_category_main_title</option>
  1324. <option value="page_composer_3_category_posts_per_page">page_composer_3_category_posts_per_page</option>
  1325. <option value="page_composer_3_category_section_name">page_composer_3_category_section_name</option>
  1326. <option value="page_composer_3_category_sub_title">page_composer_3_category_sub_title</option>
  1327. <option value="page_composer_3_featured_excerpt">page_composer_3_featured_excerpt</option>
  1328. <option value="page_composer_3_featured_main_title">page_composer_3_featured_main_title</option>
  1329. <option value="page_composer_3_featured_posts_per_page">page_composer_3_featured_posts_per_page</option>
  1330. <option value="page_composer_3_featured_sub_title">page_composer_3_featured_sub_title</option>
  1331. <option value="page_composer_3_title_styling">page_composer_3_title_styling</option>
  1332. <option value="page_composer_3_title_text_content">page_composer_3_title_text_content</option>
  1333. <option value="page_composer_3_wp_ti_editor">page_composer_3_wp_ti_editor</option>
  1334. <option value="page_composer_4_category_button">page_composer_4_category_button</option>
  1335. <option value="page_composer_4_category_excerpt">page_composer_4_category_excerpt</option>
  1336. <option value="page_composer_4_category_main_title">page_composer_4_category_main_title</option>
  1337. <option value="page_composer_4_category_posts_per_page">page_composer_4_category_posts_per_page</option>
  1338. <option value="page_composer_4_category_section_name">page_composer_4_category_section_name</option>
  1339. <option value="page_composer_4_category_sub_title">page_composer_4_category_sub_title</option>
  1340. <option value="page_composer_4_title_styling">page_composer_4_title_styling</option>
  1341. <option value="page_composer_4_title_text_content">page_composer_4_title_text_content</option>
  1342. <option value="page_composer_4_wp_ti_editor">page_composer_4_wp_ti_editor</option>
  1343. <option value="page_composer_5_category_button">page_composer_5_category_button</option>
  1344. <option value="page_composer_5_category_excerpt">page_composer_5_category_excerpt</option>
  1345. <option value="page_composer_5_category_main_title">page_composer_5_category_main_title</option>
  1346. <option value="page_composer_5_category_posts_per_page">page_composer_5_category_posts_per_page</option>
  1347. <option value="page_composer_5_category_section_name">page_composer_5_category_section_name</option>
  1348. <option value="page_composer_5_category_sub_title">page_composer_5_category_sub_title</option>
  1349. <option value="page_composer_5_title_styling">page_composer_5_title_styling</option>
  1350. <option value="page_composer_5_title_text_content">page_composer_5_title_text_content</option>
  1351. <option value="page_composer_5_wp_ti_editor">page_composer_5_wp_ti_editor</option>
  1352. <option value="page_composer_6_title_styling">page_composer_6_title_styling</option>
  1353. <option value="page_composer_6_title_text_content">page_composer_6_title_text_content</option>
  1354. <option value="page_composer_6_wp_ti_editor">page_composer_6_wp_ti_editor</option>
  1355. <option value="page_sidebar">page_sidebar</option>
  1356. <option value="panels_data">panels_data</option>
  1357. <option value="pd_nb_metastatus">pd_nb_metastatus</option>
  1358. <option value="post_id">post_id</option>
  1359. <option value="post_media_position">post_media_position</option>
  1360. <option value="post_sidebar">post_sidebar</option>
  1361. <option value="preview_image_relpath">preview_image_relpath</option>
  1362. <option value="rcp_access_level">rcp_access_level</option>
  1363. <option value="rcp_hide_from_feed">rcp_hide_from_feed</option>
  1364. <option value="rcp_show_excerpt">rcp_show_excerpt</option>
  1365. <option value="rcp_subscription_level">rcp_subscription_level</option>
  1366. <option value="rcp_user_level">rcp_user_level</option>
  1367. <option value="returns">returns</option>
  1368. <option value="scripts">scripts</option>
  1369. <option value="series_title">series_title</option>
  1370. <option value="settings">settings</option>
  1371. <option value="sfly_guest_author_names">sfly_guest_author_names</option>
  1372. <option value="sfly_guest_link">sfly_guest_link</option>
  1373. <option value="shareaholic_disable_open_graph_tags">shareaholic_disable_open_graph_tags</option>
  1374. <option value="shareaholic_disable_recommendations">shareaholic_disable_recommendations</option>
  1375. <option value="shareaholic_disable_share_buttons">shareaholic_disable_share_buttons</option>
  1376. <option value="shareaholic_exclude_recommendations">shareaholic_exclude_recommendations</option>
  1377. <option value="sharing_disabled">sharing_disabled</option>
  1378. <option value="show_video">show_video</option>
  1379. <option value="slide_template">slide_template</option>
  1380. <option value="slug">slug</option>
  1381. <option value="smashwords_url">smashwords_url</option>
  1382. <option value="sony_url">sony_url</option>
  1383. <option value="sortorder">sortorder</option>
  1384. <option value="source">source</option>
  1385. <option value="storyform_template">storyform_template</option>
  1386. <option value="storyform_version">storyform_version</option>
  1387. <option value="styles">styles</option>
  1388. <option value="survey_auth_method">survey_auth_method</option>
  1389. <option value="su_slide_link">su_slide_link</option>
  1390. <option value="svtle-body-color">svtle-body-color</option>
  1391. <option value="svtle-body-color-1">svtle-body-color-1</option>
  1392. <option value="svtle-conversion-area-content">svtle-conversion-area-content</option>
  1393. <option value="svtle-conversion-area-content-1">svtle-conversion-area-content-1</option>
  1394. <option value="svtle-display-social">svtle-display-social</option>
  1395. <option value="svtle-display-social-1">svtle-display-social-1</option>
  1396. <option value="svtle-header-color">svtle-header-color</option>
  1397. <option value="svtle-header-color-1">svtle-header-color-1</option>
  1398. <option value="svtle-logo">svtle-logo</option>
  1399. <option value="svtle-logo-1">svtle-logo-1</option>
  1400. <option value="svtle-main-content">svtle-main-content</option>
  1401. <option value="svtle-main-content-1">svtle-main-content-1</option>
  1402. <option value="svtle-page-text-color">svtle-page-text-color</option>
  1403. <option value="svtle-page-text-color-1">svtle-page-text-color-1</option>
  1404. <option value="svtle-sidebar">svtle-sidebar</option>
  1405. <option value="svtle-sidebar-1">svtle-sidebar-1</option>
  1406. <option value="svtle-sidebar-color">svtle-sidebar-color</option>
  1407. <option value="svtle-sidebar-color-1">svtle-sidebar-color-1</option>
  1408. <option value="svtle-sidebar-text-color">svtle-sidebar-text-color</option>
  1409. <option value="svtle-sidebar-text-color-1">svtle-sidebar-text-color-1</option>
  1410. <option value="svtle-submit-button-color">svtle-submit-button-color</option>
  1411. <option value="svtle-submit-button-color-1">svtle-submit-button-color-1</option>
  1412. <option value="switch_like_status">switch_like_status</option>
  1413. <option value="tagline">tagline</option>
  1414. <option value="tiny_compress_images">tiny_compress_images</option>
  1415. <option value="title">title</option>
  1416. <option value="tumblr_post_id">tumblr_post_id</option>
  1417. <option value="ufaq_order">ufaq_order</option>
  1418. <option value="ufaq_view_count">ufaq_view_count</option>
  1419. <option value="URL_before_HTML_Import">URL_before_HTML_Import</option>
  1420. <option value="values">values</option>
  1421. <option value="variation">variation</option>
  1422. <option value="video_thumbnail">video_thumbnail</option>
  1423. <option value="view_order">view_order</option>
  1424. <option value="website-url">website-url</option>
  1425. <option value="wp-cta-ab-variation-conversions-0">wp-cta-ab-variation-conversions-0</option>
  1426. <option value="wp-cta-ab-variation-conversions-1">wp-cta-ab-variation-conversions-1</option>
  1427. <option value="wp-cta-ab-variation-impressions-0">wp-cta-ab-variation-impressions-0</option>
  1428. <option value="wp-cta-ab-variation-impressions-1">wp-cta-ab-variation-impressions-1</option>
  1429. <option value="wp-cta-selected-template">wp-cta-selected-template</option>
  1430. <option value="wp-cta-selected-template-1">wp-cta-selected-template-1</option>
  1431. <option value="wp-cta-variations">wp-cta-variations</option>
  1432. <option value="wpcw_associated_module">wpcw_associated_module</option>
  1433. <option value="wps_alert_msg">wps_alert_msg</option>
  1434. <option value="wps_alert_parameters">wps_alert_parameters</option>
  1435. <option value="wps_alert_recipient">wps_alert_recipient</option>
  1436. <option value="wps_alert_sent_datetime">wps_alert_sent_datetime</option>
  1437. <option value="wps_alert_target">wps_alert_target</option>
  1438. <option value="wps_alert_url">wps_alert_url</option>
  1439. <option value="wps_forum_read">wps_forum_read</option>
  1440. <option value="wps_target">wps_target</option>
  1441. <option value="wp_cta_height-0">wp_cta_height-0</option>
  1442. <option value="wp_cta_height-1">wp_cta_height-1</option>
  1443. <option value="wp_cta_width-0">wp_cta_width-0</option>
  1444. <option value="wp_cta_width-1">wp_cta_width-1</option>
  1445. </select>
  1446. </div>
  1447. </li>
  1448. <li class="post_status_setting field_setting">
  1449. <label for="field_post_status">
  1450. Post Status <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_post_status' title='&lt;h6&gt;Post Status&lt;/h6&gt;Select the post status that will be used for the post that is created by the form entry.'><i class='fa fa-question-circle'></i></a> </label>
  1451. <select id="field_post_status" name="field_post_status">
  1452. <option value="draft">Draft</option>
  1453. <option value="pending">Pending Review</option>
  1454. <option value="publish">Published</option>
  1455. </select>
  1456. </li>
  1457. <li class="post_author_setting field_setting">
  1458. <label for="field_post_author">
  1459. Default Post Author <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_post_author' title='&lt;h6&gt;Post Author&lt;/h6&gt;Select the author that will be used for the post that is created by the form entry.'><i class='fa fa-question-circle'></i></a> </label>
  1460. <select name='field_post_author' id='field_post_author' class=''>
  1461. <option value='29'>admin admin</option>
  1462. <option value='33'>Beth Henry</option>
  1463. <option value='30'>Bianca Filoteo</option>
  1464. <option value='20'>caralyn cole</option>
  1465. <option value='8'>ConnieKrischock</option>
  1466. <option value='39'>Coralynn Snow</option>
  1467. <option value='1'>Corrine Kenner</option>
  1468. <option value='12'>Corrine Kenner</option>
  1469. <option value='26'>Corrine Kenner</option>
  1470. <option value='21'>David Quirke</option>
  1471. <option value='43'>frillygirl</option>
  1472. <option value='19'>Gabriel Kingsley</option>
  1473. <option value='18'>George Strayton</option>
  1474. <option value='32'>Georgianna Boehnke</option>
  1475. <option value='35'>Georgina Toland</option>
  1476. <option value='40'>Jen M</option>
  1477. <option value='9'>JudeCreighton</option>
  1478. <option value='41'>Kara</option>
  1479. <option value='27'>Katherine Rose</option>
  1480. <option value='7'>KelliRanken</option>
  1481. <option value='17'>L.j. Charles</option>
  1482. <option value='45'>MandrakeAcademyHeadmaster</option>
  1483. <option value='23'>max van</option>
  1484. <option value='31'>Monice Kaczorowski</option>
  1485. <option value='16'>Nette Jordan</option>
  1486. <option value='22'>Randi Marx</option>
  1487. <option value='42'>Samantha</option>
  1488. <option value='38'>Sample Member</option>
  1489. <option value='36'>Tess Turner</option>
  1490. <option value='37'>Test Member</option>
  1491. <option value='25'>Williamder WilliamderAH</option>
  1492. <option value='44'>Wraight</option>
  1493. </select> <div>
  1494. <input type="checkbox" id="gfield_current_user_as_author" />
  1495. <label for="gfield_current_user_as_author" class="inline">Use logged in user as author <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_current_user_as_author' title='&lt;h6&gt;Use Current User as Author&lt;/h6&gt;Selecting this option will set the post author to the WordPress user that submitted the form.'><i class='fa fa-question-circle'></i></a></label>
  1496. </div>
  1497. </li>
  1498.  
  1499.  
  1500.  
  1501. <li class="post_format_setting field_setting">
  1502. <label for="field_post_format">
  1503. Post Format <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_post_format' title='&lt;h6&gt;Post Format&lt;/h6&gt;Select the post format that will be used for the post that is created by the form entry.'><i class='fa fa-question-circle'></i></a> </label>
  1504.  
  1505. <select name="field_post_format" id="field_post_format"><option value="0">Standard</option><option value='video'>Video</option><option value='audio'>Audio</option><option value='quote'>Quote</option><option value='gallery'>Gallery</option><option value='link'>Link</option></select>
  1506. </li>
  1507.  
  1508.  
  1509.  
  1510. <li class="post_category_setting field_setting">
  1511. <label for="field_post_category">
  1512. Post Category <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_post_category' title='&lt;h6&gt;Post Category&lt;/h6&gt;Select the category that will be used for the post that is created by the form entry.'><i class='fa fa-question-circle'></i></a> </label>
  1513. <select name='field_post_category' id='field_post_category' class='postform' >
  1514. <option class="level-0" value="123">Amazon Updates</option>
  1515. <option class="level-0" value="131">Category #2</option>
  1516. <option class="level-1" value="135">&nbsp;&nbsp;&nbsp;Sub Category 1.1</option>
  1517. <option class="level-2" value="138">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sub Category 2.1</option>
  1518. <option class="level-2" value="139">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sub Category 2.2</option>
  1519. <option class="level-2" value="140">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sub Category 2.3</option>
  1520. <option class="level-1" value="136">&nbsp;&nbsp;&nbsp;Sub Category 1.2</option>
  1521. <option class="level-1" value="137">&nbsp;&nbsp;&nbsp;Sub Category 1.3</option>
  1522. <option class="level-0" value="132">Category #3</option>
  1523. <option class="level-0" value="133">Category #4</option>
  1524. <option class="level-0" value="134">Category #5</option>
  1525. <option class="level-0" value="130">Classes</option>
  1526. <option class="level-1" value="169">&nbsp;&nbsp;&nbsp;Mandrake Academy</option>
  1527. <option class="level-0" value="44">Creative Guidance</option>
  1528. <option class="level-0" value="190">Fiction</option>
  1529. <option class="level-0" value="119">Get the Connection</option>
  1530. <option class="level-0" value="124">Member Updates</option>
  1531. <option class="level-0" value="115">Study Guides</option>
  1532. <option class="level-1" value="113">&nbsp;&nbsp;&nbsp;Astrology Fundamentals</option>
  1533. <option class="level-1" value="117">&nbsp;&nbsp;&nbsp;Free with Registration</option>
  1534. <option class="level-1" value="118">&nbsp;&nbsp;&nbsp;Premium Content</option>
  1535. <option class="level-1" value="111">&nbsp;&nbsp;&nbsp;Tarot Beyond the Basics</option>
  1536. <option class="level-1" value="110">&nbsp;&nbsp;&nbsp;Tarot Fundamentals</option>
  1537. <option class="level-1" value="112">&nbsp;&nbsp;&nbsp;Tarot Master Classes</option>
  1538. <option class="level-0" value="180">The Wanderers</option>
  1539. <option class="level-1" value="191">&nbsp;&nbsp;&nbsp;Fiction</option>
  1540. <option class="level-1" value="189">&nbsp;&nbsp;&nbsp;Flash Fiction</option>
  1541. <option class="level-1" value="192">&nbsp;&nbsp;&nbsp;Poetry</option>
  1542. <option class="level-0" value="141">Uncategorized</option>
  1543. <option class="level-0" value="121">Videos</option>
  1544. <option class="level-0" value="182">Wizards Magazine</option>
  1545. <option class="level-1" value="183">&nbsp;&nbsp;&nbsp;Fiction</option>
  1546. <option class="level-1" value="184">&nbsp;&nbsp;&nbsp;Poetry</option>
  1547. <option class="level-1" value="185">&nbsp;&nbsp;&nbsp;Screenwriting</option>
  1548. <option class="level-0" value="129">Writers Group</option>
  1549. <option class="level-0" value="114">Writing Prompts</option>
  1550. </select>
  1551. </li>
  1552.  
  1553.  
  1554. <li class="post_category_field_type_setting field_setting">
  1555. <label for="post_category_field_type">
  1556. Field Type <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_type' title='&lt;h6&gt;Field type&lt;/h6&gt;Select the type of field from the available form fields.'><i class='fa fa-question-circle'></i></a> </label>
  1557. <select id="post_category_field_type" onchange="jQuery('#field_settings').slideUp(function(){StartChangeInputType( jQuery('#post_category_field_type').val() );});">
  1558. <option value="select">Drop Down</option>
  1559. <option value="checkbox">Checkboxes</option>
  1560. <option value="radio">Radio Buttons</option>
  1561. <option value="multiselect">Multi Select</option>
  1562. </select>
  1563. </li>
  1564.  
  1565. <li class="post_category_checkbox_setting field_setting">
  1566. <label for="field_post_category">
  1567. Category <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_post_category_selection' title='&lt;h6&gt;Post Category&lt;/h6&gt;Select which categories are displayed. You can choose to display all of them or select individual ones.'><i class='fa fa-question-circle'></i></a> </label>
  1568.  
  1569. <input type="radio" id="gfield_category_all" name="gfield_category" value="all" onclick="ToggleCategory();" />
  1570. <label for="gfield_category_all" class="inline">
  1571. All Categories
  1572. </label>
  1573. &nbsp;&nbsp;
  1574. <input type="radio" id="gfield_category_select" name="gfield_category" value="select" onclick="ToggleCategory();" />
  1575. <label for="form_button_image" class="inline">
  1576. Select Categories </label>
  1577.  
  1578. <div id="gfield_settings_category_container">
  1579. <table cellpadding="0" cellspacing="5">
  1580.  
  1581. <tr class='author-self status-inherit' valign='top'>
  1582. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='123' name='Amazon Updates' onclick='SetSelectedCategories();' /></th>
  1583. <td class='gfield_category_cell'> Amazon Updates</td>
  1584. </tr>
  1585. <tr class='author-self status-inherit' valign='top'>
  1586. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='131' name='Category #2' onclick='SetSelectedCategories();' /></th>
  1587. <td class='gfield_category_cell'> Category #2</td>
  1588. </tr>
  1589. <tr class='author-self status-inherit' valign='top'>
  1590. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='135' name='Sub Category 1.1' onclick='SetSelectedCategories();' /></th>
  1591. <td class='gfield_category_cell'>&#8212; Sub Category 1.1</td>
  1592. </tr>
  1593. <tr class='author-self status-inherit' valign='top'>
  1594. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='138' name='Sub Category 2.1' onclick='SetSelectedCategories();' /></th>
  1595. <td class='gfield_category_cell'>&#8212; &#8212; Sub Category 2.1</td>
  1596. </tr>
  1597. <tr class='author-self status-inherit' valign='top'>
  1598. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='139' name='Sub Category 2.2' onclick='SetSelectedCategories();' /></th>
  1599. <td class='gfield_category_cell'>&#8212; &#8212; Sub Category 2.2</td>
  1600. </tr>
  1601. <tr class='author-self status-inherit' valign='top'>
  1602. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='140' name='Sub Category 2.3' onclick='SetSelectedCategories();' /></th>
  1603. <td class='gfield_category_cell'>&#8212; &#8212; Sub Category 2.3</td>
  1604. </tr>
  1605. <tr class='author-self status-inherit' valign='top'>
  1606. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='136' name='Sub Category 1.2' onclick='SetSelectedCategories();' /></th>
  1607. <td class='gfield_category_cell'>&#8212; Sub Category 1.2</td>
  1608. </tr>
  1609. <tr class='author-self status-inherit' valign='top'>
  1610. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='137' name='Sub Category 1.3' onclick='SetSelectedCategories();' /></th>
  1611. <td class='gfield_category_cell'>&#8212; Sub Category 1.3</td>
  1612. </tr>
  1613. <tr class='author-self status-inherit' valign='top'>
  1614. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='132' name='Category #3' onclick='SetSelectedCategories();' /></th>
  1615. <td class='gfield_category_cell'> Category #3</td>
  1616. </tr>
  1617. <tr class='author-self status-inherit' valign='top'>
  1618. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='133' name='Category #4' onclick='SetSelectedCategories();' /></th>
  1619. <td class='gfield_category_cell'> Category #4</td>
  1620. </tr>
  1621. <tr class='author-self status-inherit' valign='top'>
  1622. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='134' name='Category #5' onclick='SetSelectedCategories();' /></th>
  1623. <td class='gfield_category_cell'> Category #5</td>
  1624. </tr>
  1625. <tr class='author-self status-inherit' valign='top'>
  1626. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='130' name='Classes' onclick='SetSelectedCategories();' /></th>
  1627. <td class='gfield_category_cell'> Classes</td>
  1628. </tr>
  1629. <tr class='author-self status-inherit' valign='top'>
  1630. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='169' name='Mandrake Academy' onclick='SetSelectedCategories();' /></th>
  1631. <td class='gfield_category_cell'>&#8212; Mandrake Academy</td>
  1632. </tr>
  1633. <tr class='author-self status-inherit' valign='top'>
  1634. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='44' name='Creative Guidance' onclick='SetSelectedCategories();' /></th>
  1635. <td class='gfield_category_cell'> Creative Guidance</td>
  1636. </tr>
  1637. <tr class='author-self status-inherit' valign='top'>
  1638. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='190' name='Fiction' onclick='SetSelectedCategories();' /></th>
  1639. <td class='gfield_category_cell'> Fiction</td>
  1640. </tr>
  1641. <tr class='author-self status-inherit' valign='top'>
  1642. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='119' name='Get the Connection' onclick='SetSelectedCategories();' /></th>
  1643. <td class='gfield_category_cell'> Get the Connection</td>
  1644. </tr>
  1645. <tr class='author-self status-inherit' valign='top'>
  1646. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='124' name='Member Updates' onclick='SetSelectedCategories();' /></th>
  1647. <td class='gfield_category_cell'> Member Updates</td>
  1648. </tr>
  1649. <tr class='author-self status-inherit' valign='top'>
  1650. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='115' name='Study Guides' onclick='SetSelectedCategories();' /></th>
  1651. <td class='gfield_category_cell'> Study Guides</td>
  1652. </tr>
  1653. <tr class='author-self status-inherit' valign='top'>
  1654. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='113' name='Astrology Fundamentals' onclick='SetSelectedCategories();' /></th>
  1655. <td class='gfield_category_cell'>&#8212; Astrology Fundamentals</td>
  1656. </tr>
  1657. <tr class='author-self status-inherit' valign='top'>
  1658. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='117' name='Free with Registration' onclick='SetSelectedCategories();' /></th>
  1659. <td class='gfield_category_cell'>&#8212; Free with Registration</td>
  1660. </tr>
  1661. <tr class='author-self status-inherit' valign='top'>
  1662. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='118' name='Premium Content' onclick='SetSelectedCategories();' /></th>
  1663. <td class='gfield_category_cell'>&#8212; Premium Content</td>
  1664. </tr>
  1665. <tr class='author-self status-inherit' valign='top'>
  1666. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='111' name='Tarot Beyond the Basics' onclick='SetSelectedCategories();' /></th>
  1667. <td class='gfield_category_cell'>&#8212; Tarot Beyond the Basics</td>
  1668. </tr>
  1669. <tr class='author-self status-inherit' valign='top'>
  1670. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='110' name='Tarot Fundamentals' onclick='SetSelectedCategories();' /></th>
  1671. <td class='gfield_category_cell'>&#8212; Tarot Fundamentals</td>
  1672. </tr>
  1673. <tr class='author-self status-inherit' valign='top'>
  1674. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='112' name='Tarot Master Classes' onclick='SetSelectedCategories();' /></th>
  1675. <td class='gfield_category_cell'>&#8212; Tarot Master Classes</td>
  1676. </tr>
  1677. <tr class='author-self status-inherit' valign='top'>
  1678. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='180' name='The Wanderers' onclick='SetSelectedCategories();' /></th>
  1679. <td class='gfield_category_cell'> The Wanderers</td>
  1680. </tr>
  1681. <tr class='author-self status-inherit' valign='top'>
  1682. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='191' name='Fiction' onclick='SetSelectedCategories();' /></th>
  1683. <td class='gfield_category_cell'>&#8212; Fiction</td>
  1684. </tr>
  1685. <tr class='author-self status-inherit' valign='top'>
  1686. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='189' name='Flash Fiction' onclick='SetSelectedCategories();' /></th>
  1687. <td class='gfield_category_cell'>&#8212; Flash Fiction</td>
  1688. </tr>
  1689. <tr class='author-self status-inherit' valign='top'>
  1690. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='192' name='Poetry' onclick='SetSelectedCategories();' /></th>
  1691. <td class='gfield_category_cell'>&#8212; Poetry</td>
  1692. </tr>
  1693. <tr class='author-self status-inherit' valign='top'>
  1694. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='141' name='Uncategorized' onclick='SetSelectedCategories();' /></th>
  1695. <td class='gfield_category_cell'> Uncategorized</td>
  1696. </tr>
  1697. <tr class='author-self status-inherit' valign='top'>
  1698. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='121' name='Videos' onclick='SetSelectedCategories();' /></th>
  1699. <td class='gfield_category_cell'> Videos</td>
  1700. </tr>
  1701. <tr class='author-self status-inherit' valign='top'>
  1702. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='182' name='Wizards Magazine' onclick='SetSelectedCategories();' /></th>
  1703. <td class='gfield_category_cell'> Wizards Magazine</td>
  1704. </tr>
  1705. <tr class='author-self status-inherit' valign='top'>
  1706. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='183' name='Fiction' onclick='SetSelectedCategories();' /></th>
  1707. <td class='gfield_category_cell'>&#8212; Fiction</td>
  1708. </tr>
  1709. <tr class='author-self status-inherit' valign='top'>
  1710. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='184' name='Poetry' onclick='SetSelectedCategories();' /></th>
  1711. <td class='gfield_category_cell'>&#8212; Poetry</td>
  1712. </tr>
  1713. <tr class='author-self status-inherit' valign='top'>
  1714. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='185' name='Screenwriting' onclick='SetSelectedCategories();' /></th>
  1715. <td class='gfield_category_cell'>&#8212; Screenwriting</td>
  1716. </tr>
  1717. <tr class='author-self status-inherit' valign='top'>
  1718. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='129' name='Writers Group' onclick='SetSelectedCategories();' /></th>
  1719. <td class='gfield_category_cell'> Writers Group</td>
  1720. </tr>
  1721. <tr class='author-self status-inherit' valign='top'>
  1722. <th scope='row' class='check-column'><input type='checkbox' class='gfield_category_checkbox' value='114' name='Writing Prompts' onclick='SetSelectedCategories();' /></th>
  1723. <td class='gfield_category_cell'> Writing Prompts</td>
  1724. </tr> </table>
  1725. </div>
  1726. </li>
  1727.  
  1728. <li class="post_category_initial_item_setting field_setting">
  1729. <input type="checkbox" id="gfield_post_category_initial_item_enabled" onclick="TogglePostCategoryInitialItem(); SetCategoryInitialItem();" />
  1730. <label for="gfield_post_category_initial_item_enabled" class="inline">
  1731. Display placeholder </label>
  1732. </li>
  1733. <li id="gfield_post_category_initial_item_container">
  1734. <label for="field_post_category_initial_item">
  1735. Placeholder Label </label>
  1736. <input type="text" id="field_post_category_initial_item" onchange="SetCategoryInitialItem();" class="fieldwidth-3" size="35" />
  1737. </li>
  1738. <li class="post_content_template_setting field_setting">
  1739. <input type="checkbox" id="gfield_post_content_enabled" onclick="TogglePostContentTemplate();" />
  1740. <label for="gfield_post_content_enabled" class="inline">
  1741. Create content template <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_post_content_template_enable' title='&lt;h6&gt;Post Content Template&lt;/h6&gt;Check this option to format and insert merge tags into the Post Content.'><i class='fa fa-question-circle'></i></a> </label>
  1742.  
  1743. <div id="gfield_post_content_container">
  1744. <div>
  1745.  
  1746. <select id="field_post_content_template_variable_select" onchange="InsertPostContentVariable('field_post_content_template', '');" class="gform_content_template_merge_tags gform_merge_tags">
  1747. <option value=''>Insert Merge Tag</option>
  1748.  
  1749. <optgroup label="Required form fields">
  1750.  
  1751. <option value="{Would you like to share your work?:12}">Would you like to share your work?</option>
  1752. <option value="{Give your piece a title:7}">Give your piece a title</option>
  1753. <option value="{Include a byline (Prefix):8.2}">Include a byline (Prefix)</option>
  1754. <option value="{Include a byline (First):8.3}">Include a byline (First)</option>
  1755. <option value="{Include a byline (Middle):8.4}">Include a byline (Middle)</option>
  1756. <option value="{Include a byline (Last):8.6}">Include a byline (Last)</option>
  1757. <option value="{Include a byline (Suffix):8.8}">Include a byline (Suffix)</option>
  1758. <option value="{Your contact information:6}">Your contact information</option>
  1759. </optgroup>
  1760. <optgroup label="Optional form fields">
  1761.  
  1762. <option value="{Start your story here:1}">Start your story here</option>
  1763. <option value="{Free publicity:10}">Free publicity</option>
  1764. </optgroup>
  1765. <optgroup label="Other">
  1766.  
  1767. <option value="{ip}">User IP Address</option>
  1768. <option value="{date_mdy}">Date (mm/dd/yyyy)</option>
  1769. <option value="{date_dmy}">Date (dd/mm/yyyy)</option>
  1770. <option value="{embed_post:ID}">Embed Post/Page Id</option>
  1771. <option value="{embed_post:post_title}">Embed Post/Page Title</option>
  1772. <option value="{embed_url}">Embed URL</option>
  1773. <option value="{entry_id}">Entry Id</option>
  1774. <option value="{entry_url}">Entry URL</option>
  1775. <option value="{form_id}">Form Id</option>
  1776. <option value="{form_title}">Form Title</option>
  1777. <option value="{user_agent}">HTTP User Agent</option>
  1778. <option value="{referer}">HTTP Referer URL</option>
  1779. <option value="{post_id}">Post Id</option>
  1780. <option value="{post_edit_url}">Post Edit URL</option>
  1781. <option value="{user:display_name}">User Display Name</option>
  1782. <option value="{user:user_email}">User Email</option>
  1783. <option value="{user:user_login}">User Login</option>
  1784. </optgroup>
  1785.  
  1786. </select>
  1787.  
  1788. &nbsp;&nbsp;
  1789. <select id="field_post_content_template_image_size_select" onchange="InsertPostImageVariable('field_post_content_template', 'field_post_content_template'); SetCustomFieldTemplate();" style="display:none;">
  1790. <option value="">Select image size</option>
  1791. <option value="thumbnail">Thumbnail</option>
  1792. <option value="thumbnail:left">Thumbnail - Left Aligned</option>
  1793. <option value="thumbnail:center">Thumbnail - Centered</option>
  1794. <option value="thumbnail:right">Thumbnail - Right Aligned</option>
  1795.  
  1796. <option value="medium">Medium</option>
  1797. <option value="medium:left">Medium - Left Aligned</option>
  1798. <option value="medium:center">Medium - Centered</option>
  1799. <option value="medium:right">Medium - Right Aligned</option>
  1800.  
  1801. <option value="large">Large</option>
  1802. <option value="large:left">Large - Left Aligned</option>
  1803. <option value="large:center">Large - Centered</option>
  1804. <option value="large:right">Large - Right Aligned</option>
  1805.  
  1806. <option value="full">Full Size</option>
  1807. <option value="full:left">Full Size - Left Aligned</option>
  1808. <option value="full:center">Full Size - Centered</option>
  1809. <option value="full:right">Full Size - Right Aligned</option>
  1810. </select>
  1811. </div>
  1812. <textarea id="field_post_content_template" class="fieldwidth-3 fieldheight-1"></textarea>
  1813. </div>
  1814. </li>
  1815. <li class="post_title_template_setting field_setting">
  1816. <input type="checkbox" id="gfield_post_title_enabled" onclick="TogglePostTitleTemplate();" />
  1817. <label for="gfield_post_title_enabled" class="inline">
  1818. Create content template <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_post_title_template_enable' title='&lt;h6&gt;Post Title Template&lt;/h6&gt;Check this option to format and insert merge tags into the Post Title.'><i class='fa fa-question-circle'></i></a> </label>
  1819.  
  1820. <div id="gfield_post_title_container">
  1821. <input type="text" id="field_post_title_template" class="fieldwidth-3 merge-tag-support mt-position-right mt-hide_all_fields mt-exclude-post_image-fileupload" />
  1822. </div>
  1823. </li>
  1824. <li class="customfield_content_template_setting field_setting">
  1825. <input type="checkbox" id="gfield_customfield_content_enabled" onclick="ToggleCustomFieldTemplate(); SetCustomFieldTemplate();" />
  1826. <label for="gfield_customfield_content_enabled" class="inline">
  1827. Create content template </label>
  1828.  
  1829. <div id="gfield_customfield_content_container">
  1830. <div>
  1831.  
  1832. <select id="field_customfield_content_template_variable_select" onchange="InsertPostContentVariable('field_customfield_content_template', 'SetCustomFieldTemplate');" class="gform_content_template_merge_tags gform_merge_tags">
  1833. <option value=''>Insert Merge Tag</option>
  1834.  
  1835. <optgroup label="Required form fields">
  1836.  
  1837. <option value="{Would you like to share your work?:12}">Would you like to share your work?</option>
  1838. <option value="{Give your piece a title:7}">Give your piece a title</option>
  1839. <option value="{Include a byline (Prefix):8.2}">Include a byline (Prefix)</option>
  1840. <option value="{Include a byline (First):8.3}">Include a byline (First)</option>
  1841. <option value="{Include a byline (Middle):8.4}">Include a byline (Middle)</option>
  1842. <option value="{Include a byline (Last):8.6}">Include a byline (Last)</option>
  1843. <option value="{Include a byline (Suffix):8.8}">Include a byline (Suffix)</option>
  1844. <option value="{Your contact information:6}">Your contact information</option>
  1845. </optgroup>
  1846. <optgroup label="Optional form fields">
  1847.  
  1848. <option value="{Start your story here:1}">Start your story here</option>
  1849. <option value="{Free publicity:10}">Free publicity</option>
  1850. </optgroup>
  1851. <optgroup label="Other">
  1852.  
  1853. <option value="{ip}">User IP Address</option>
  1854. <option value="{date_mdy}">Date (mm/dd/yyyy)</option>
  1855. <option value="{date_dmy}">Date (dd/mm/yyyy)</option>
  1856. <option value="{embed_post:ID}">Embed Post/Page Id</option>
  1857. <option value="{embed_post:post_title}">Embed Post/Page Title</option>
  1858. <option value="{embed_url}">Embed URL</option>
  1859. <option value="{entry_id}">Entry Id</option>
  1860. <option value="{entry_url}">Entry URL</option>
  1861. <option value="{form_id}">Form Id</option>
  1862. <option value="{form_title}">Form Title</option>
  1863. <option value="{user_agent}">HTTP User Agent</option>
  1864. <option value="{referer}">HTTP Referer URL</option>
  1865. <option value="{post_id}">Post Id</option>
  1866. <option value="{post_edit_url}">Post Edit URL</option>
  1867. <option value="{user:display_name}">User Display Name</option>
  1868. <option value="{user:user_email}">User Email</option>
  1869. <option value="{user:user_login}">User Login</option>
  1870. </optgroup>
  1871.  
  1872. </select>
  1873.  
  1874. &nbsp;&nbsp;
  1875. <select id="field_customfield_content_template_image_size_select" onchange="InsertPostImageVariable('field_customfield_content_template', 'field_customfield_content_template'); SetCustomFieldTemplate();" style="display:none;">
  1876. <option value="">Select image size</option>
  1877. <option value="thumbnail">Thumbnail</option>
  1878. <option value="thumbnail:left">Thumbnail - Left Aligned</option>
  1879. <option value="thumbnail:center">Thumbnail - Centered</option>
  1880. <option value="thumbnail:right">Thumbnail - Right Aligned</option>
  1881.  
  1882. <option value="medium">Medium</option>
  1883. <option value="medium:left">Medium - Left Aligned</option>
  1884. <option value="medium:center">Medium - Centered</option>
  1885. <option value="medium:right">Medium - Right Aligned</option>
  1886.  
  1887. <option value="large">Large</option>
  1888. <option value="large:left">Large - Left Aligned</option>
  1889. <option value="large:center">Large - Centered</option>
  1890. <option value="large:right">Large - Right Aligned</option>
  1891.  
  1892. <option value="full">Full Size</option>
  1893. <option value="full:left">Full Size - Left Aligned</option>
  1894. <option value="full:center">Full Size - Centered</option>
  1895. <option value="full:right">Full Size - Right Aligned</option>
  1896. </select>
  1897. </div>
  1898. <textarea id="field_customfield_content_template" class="fieldwidth-3 fieldheight-1"></textarea>
  1899. </div>
  1900. </li>
  1901. <li class="post_image_setting field_setting">
  1902. <label>Image Metadata <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_image_meta' title='&lt;h6&gt;Image Meta&lt;/h6&gt;Select one or more image metadata field to be displayed along with the image upload field. They enable users to enter additional information about the uploaded image.'><i class='fa fa-question-circle'></i></a></label>
  1903. <input type="checkbox" id="gfield_display_title" onclick="SetPostImageMeta();" />
  1904. <label for="gfield_display_title" class="inline">
  1905. Title </label>
  1906. <br />
  1907. <input type="checkbox" id="gfield_display_caption" onclick="SetPostImageMeta();" />
  1908. <label for="gfield_display_caption" class="inline">
  1909. Caption </label>
  1910. <br />
  1911. <input type="checkbox" id="gfield_display_description" onclick="SetPostImageMeta();" />
  1912. <label for="gfield_display_description" class="inline">
  1913. Description </label>
  1914. </li>
  1915.  
  1916.  
  1917. <li class="post_image_featured_image field_setting">
  1918. <input type="checkbox" id="gfield_featured_image" onclick="SetFeaturedImage();" />
  1919. <label for="gfield_featured_image" class="inline">Set as Featured Image <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_featured_image' title='&lt;h6&gt;Set as Featured Image&lt;/h6&gt;Check this option to set this image as the post&#039;s Featured Image.'><i class='fa fa-question-circle'></i></a></label>
  1920. </li>
  1921.  
  1922. <li class="address_setting field_setting">
  1923. <label for="field_address_type">
  1924. Address Type <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_address_type' title='&lt;h6&gt;Address Type&lt;/h6&gt;Select the type of address you would like to use.'><i class='fa fa-question-circle'></i></a> </label>
  1925. <select id="field_address_type" onchange="ChangeAddressType();">
  1926. <option value="international">International</option>
  1927. <option value="us">United States</option>
  1928. <option value="canadian">Canadian</option>
  1929. </select>
  1930.  
  1931. <div class="custom_inputs_sub_setting gfield_sub_setting">
  1932. <label for="field_address_fields" class="inline">
  1933. Address Fields <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_address_fields' title='&lt;h6&gt;Address Fields&lt;/h6&gt;Select the fields you&#039;d like to use in this Address Field and customize the Sub-Labels by entering new ones.'><i class='fa fa-question-circle'></i></a> </label>
  1934.  
  1935. <div id="field_address_fields_container" style="padding-top:10px;">
  1936. <!-- content dynamically created from js.php -->
  1937. </div>
  1938. </div>
  1939.  
  1940. <div id="address_type_container_international" class="gfield_sub_setting gfield_address_type_container">
  1941. <input type="hidden" id="field_address_country_international" value="" />
  1942. <input type="hidden" id="field_address_zip_label_international" value="ZIP / Postal Code" />
  1943. <input type="hidden" id="field_address_state_label_international" value="State / Province / Region" />
  1944. <input type="hidden" id="field_address_has_states_international" value="" />
  1945.  
  1946.  
  1947. <label for="field_address_default_country_international">
  1948. Default Country <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_address_default_country' title='&lt;h6&gt;Default Country&lt;/h6&gt;Select the country you would like to be selected by default when the form gets displayed.'><i class='fa fa-question-circle'></i></a> </label>
  1949. <select id="field_address_default_country_international" class="field_address_default_country" onchange="SetAddressProperties();">
  1950. <option value='' selected='selected'></option><option value='Afghanistan' >Afghanistan</option><option value='Albania' >Albania</option><option value='Algeria' >Algeria</option><option value='American Samoa' >American Samoa</option><option value='Andorra' >Andorra</option><option value='Angola' >Angola</option><option value='Antigua and Barbuda' >Antigua and Barbuda</option><option value='Argentina' >Argentina</option><option value='Armenia' >Armenia</option><option value='Australia' >Australia</option><option value='Austria' >Austria</option><option value='Azerbaijan' >Azerbaijan</option><option value='Bahamas' >Bahamas</option><option value='Bahrain' >Bahrain</option><option value='Bangladesh' >Bangladesh</option><option value='Barbados' >Barbados</option><option value='Belarus' >Belarus</option><option value='Belgium' >Belgium</option><option value='Belize' >Belize</option><option value='Benin' >Benin</option><option value='Bermuda' >Bermuda</option><option value='Bhutan' >Bhutan</option><option value='Bolivia' >Bolivia</option><option value='Bosnia and Herzegovina' >Bosnia and Herzegovina</option><option value='Botswana' >Botswana</option><option value='Brazil' >Brazil</option><option value='Brunei' >Brunei</option><option value='Bulgaria' >Bulgaria</option><option value='Burkina Faso' >Burkina Faso</option><option value='Burundi' >Burundi</option><option value='Cambodia' >Cambodia</option><option value='Cameroon' >Cameroon</option><option value='Canada' >Canada</option><option value='Cape Verde' >Cape Verde</option><option value='Cayman Islands' >Cayman Islands</option><option value='Central African Republic' >Central African Republic</option><option value='Chad' >Chad</option><option value='Chile' >Chile</option><option value='China' >China</option><option value='Colombia' >Colombia</option><option value='Comoros' >Comoros</option><option value='Congo, Democratic Republic of the' >Congo, Democratic Republic of the</option><option value='Congo, Republic of the' >Congo, Republic of the</option><option value='Costa Rica' >Costa Rica</option><option value='Côte d&#039;Ivoire' >Côte d&#039;Ivoire</option><option value='Croatia' >Croatia</option><option value='Cuba' >Cuba</option><option value='Cyprus' >Cyprus</option><option value='Czech Republic' >Czech Republic</option><option value='Denmark' >Denmark</option><option value='Djibouti' >Djibouti</option><option value='Dominica' >Dominica</option><option value='Dominican Republic' >Dominican Republic</option><option value='East Timor' >East Timor</option><option value='Ecuador' >Ecuador</option><option value='Egypt' >Egypt</option><option value='El Salvador' >El Salvador</option><option value='Equatorial Guinea' >Equatorial Guinea</option><option value='Eritrea' >Eritrea</option><option value='Estonia' >Estonia</option><option value='Ethiopia' >Ethiopia</option><option value='Faroe Islands' >Faroe Islands</option><option value='Fiji' >Fiji</option><option value='Finland' >Finland</option><option value='France' >France</option><option value='French Polynesia' >French Polynesia</option><option value='Gabon' >Gabon</option><option value='Gambia' >Gambia</option><option value='Georgia' >Georgia</option><option value='Germany' >Germany</option><option value='Ghana' >Ghana</option><option value='Greece' >Greece</option><option value='Greenland' >Greenland</option><option value='Grenada' >Grenada</option><option value='Guam' >Guam</option><option value='Guatemala' >Guatemala</option><option value='Guinea' >Guinea</option><option value='Guinea-Bissau' >Guinea-Bissau</option><option value='Guyana' >Guyana</option><option value='Haiti' >Haiti</option><option value='Honduras' >Honduras</option><option value='Hong Kong' >Hong Kong</option><option value='Hungary' >Hungary</option><option value='Iceland' >Iceland</option><option value='India' >India</option><option value='Indonesia' >Indonesia</option><option value='Iran' >Iran</option><option value='Iraq' >Iraq</option><option value='Ireland' >Ireland</option><option value='Israel' >Israel</option><option value='Italy' >Italy</option><option value='Jamaica' >Jamaica</option><option value='Japan' >Japan</option><option value='Jordan' >Jordan</option><option value='Kazakhstan' >Kazakhstan</option><option value='Kenya' >Kenya</option><option value='Kiribati' >Kiribati</option><option value='North Korea' >North Korea</option><option value='South Korea' >South Korea</option><option value='Kosovo' >Kosovo</option><option value='Kuwait' >Kuwait</option><option value='Kyrgyzstan' >Kyrgyzstan</option><option value='Laos' >Laos</option><option value='Latvia' >Latvia</option><option value='Lebanon' >Lebanon</option><option value='Lesotho' >Lesotho</option><option value='Liberia' >Liberia</option><option value='Libya' >Libya</option><option value='Liechtenstein' >Liechtenstein</option><option value='Lithuania' >Lithuania</option><option value='Luxembourg' >Luxembourg</option><option value='Macedonia' >Macedonia</option><option value='Madagascar' >Madagascar</option><option value='Malawi' >Malawi</option><option value='Malaysia' >Malaysia</option><option value='Maldives' >Maldives</option><option value='Mali' >Mali</option><option value='Malta' >Malta</option><option value='Marshall Islands' >Marshall Islands</option><option value='Mauritania' >Mauritania</option><option value='Mauritius' >Mauritius</option><option value='Mexico' >Mexico</option><option value='Micronesia' >Micronesia</option><option value='Moldova' >Moldova</option><option value='Monaco' >Monaco</option><option value='Mongolia' >Mongolia</option><option value='Montenegro' >Montenegro</option><option value='Morocco' >Morocco</option><option value='Mozambique' >Mozambique</option><option value='Myanmar' >Myanmar</option><option value='Namibia' >Namibia</option><option value='Nauru' >Nauru</option><option value='Nepal' >Nepal</option><option value='Netherlands' >Netherlands</option><option value='New Zealand' >New Zealand</option><option value='Nicaragua' >Nicaragua</option><option value='Niger' >Niger</option><option value='Nigeria' >Nigeria</option><option value='Northern Mariana Islands' >Northern Mariana Islands</option><option value='Norway' >Norway</option><option value='Oman' >Oman</option><option value='Pakistan' >Pakistan</option><option value='Palau' >Palau</option><option value='Palestine, State of' >Palestine, State of</option><option value='Panama' >Panama</option><option value='Papua New Guinea' >Papua New Guinea</option><option value='Paraguay' >Paraguay</option><option value='Peru' >Peru</option><option value='Philippines' >Philippines</option><option value='Poland' >Poland</option><option value='Portugal' >Portugal</option><option value='Puerto Rico' >Puerto Rico</option><option value='Qatar' >Qatar</option><option value='Romania' >Romania</option><option value='Russia' >Russia</option><option value='Rwanda' >Rwanda</option><option value='Saint Kitts and Nevis' >Saint Kitts and Nevis</option><option value='Saint Lucia' >Saint Lucia</option><option value='Saint Vincent and the Grenadines' >Saint Vincent and the Grenadines</option><option value='Samoa' >Samoa</option><option value='San Marino' >San Marino</option><option value='Sao Tome and Principe' >Sao Tome and Principe</option><option value='Saudi Arabia' >Saudi Arabia</option><option value='Senegal' >Senegal</option><option value='Serbia' >Serbia</option><option value='Seychelles' >Seychelles</option><option value='Sierra Leone' >Sierra Leone</option><option value='Singapore' >Singapore</option><option value='Sint Maarten' >Sint Maarten</option><option value='Slovakia' >Slovakia</option><option value='Slovenia' >Slovenia</option><option value='Solomon Islands' >Solomon Islands</option><option value='Somalia' >Somalia</option><option value='South Africa' >South Africa</option><option value='Spain' >Spain</option><option value='Sri Lanka' >Sri Lanka</option><option value='Sudan' >Sudan</option><option value='Sudan, South' >Sudan, South</option><option value='Suriname' >Suriname</option><option value='Swaziland' >Swaziland</option><option value='Sweden' >Sweden</option><option value='Switzerland' >Switzerland</option><option value='Syria' >Syria</option><option value='Taiwan' >Taiwan</option><option value='Tajikistan' >Tajikistan</option><option value='Tanzania' >Tanzania</option><option value='Thailand' >Thailand</option><option value='Togo' >Togo</option><option value='Tonga' >Tonga</option><option value='Trinidad and Tobago' >Trinidad and Tobago</option><option value='Tunisia' >Tunisia</option><option value='Turkey' >Turkey</option><option value='Turkmenistan' >Turkmenistan</option><option value='Tuvalu' >Tuvalu</option><option value='Uganda' >Uganda</option><option value='Ukraine' >Ukraine</option><option value='United Arab Emirates' >United Arab Emirates</option><option value='United Kingdom' >United Kingdom</option><option value='United States' >United States</option><option value='Uruguay' >Uruguay</option><option value='Uzbekistan' >Uzbekistan</option><option value='Vanuatu' >Vanuatu</option><option value='Vatican City' >Vatican City</option><option value='Venezuela' >Venezuela</option><option value='Vietnam' >Vietnam</option><option value='Virgin Islands, British' >Virgin Islands, British</option><option value='Virgin Islands, U.S.' >Virgin Islands, U.S.</option><option value='Yemen' >Yemen</option><option value='Zambia' >Zambia</option><option value='Zimbabwe' >Zimbabwe</option> </select>
  1951.  
  1952. </div>
  1953. <div id="address_type_container_us" class="gfield_sub_setting gfield_address_type_container">
  1954. <input type="hidden" id="field_address_country_us" value="United States" />
  1955. <input type="hidden" id="field_address_zip_label_us" value="ZIP Code" />
  1956. <input type="hidden" id="field_address_state_label_us" value="State" />
  1957. <input type="hidden" id="field_address_has_states_us" value="1" />
  1958.  
  1959. <label for="field_address_default_state_us">
  1960. Default State <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_address_default_state_us' title='&lt;h6&gt;Default State&lt;/h6&gt;Select the state you would like to be selected by default when the form gets displayed.'><i class='fa fa-question-circle'></i></a> </label>
  1961.  
  1962. <select id="field_address_default_state_us" class="field_address_default_state" onchange="SetAddressProperties();">
  1963. <option value='' selected='selected'></option><option value='Alabama' >Alabama</option><option value='Alaska' >Alaska</option><option value='Arizona' >Arizona</option><option value='Arkansas' >Arkansas</option><option value='California' >California</option><option value='Colorado' >Colorado</option><option value='Connecticut' >Connecticut</option><option value='Delaware' >Delaware</option><option value='District of Columbia' >District of Columbia</option><option value='Florida' >Florida</option><option value='Georgia' >Georgia</option><option value='Hawaii' >Hawaii</option><option value='Idaho' >Idaho</option><option value='Illinois' >Illinois</option><option value='Indiana' >Indiana</option><option value='Iowa' >Iowa</option><option value='Kansas' >Kansas</option><option value='Kentucky' >Kentucky</option><option value='Louisiana' >Louisiana</option><option value='Maine' >Maine</option><option value='Maryland' >Maryland</option><option value='Massachusetts' >Massachusetts</option><option value='Michigan' >Michigan</option><option value='Minnesota' >Minnesota</option><option value='Mississippi' >Mississippi</option><option value='Missouri' >Missouri</option><option value='Montana' >Montana</option><option value='Nebraska' >Nebraska</option><option value='Nevada' >Nevada</option><option value='New Hampshire' >New Hampshire</option><option value='New Jersey' >New Jersey</option><option value='New Mexico' >New Mexico</option><option value='New York' >New York</option><option value='North Carolina' >North Carolina</option><option value='North Dakota' >North Dakota</option><option value='Ohio' >Ohio</option><option value='Oklahoma' >Oklahoma</option><option value='Oregon' >Oregon</option><option value='Pennsylvania' >Pennsylvania</option><option value='Rhode Island' >Rhode Island</option><option value='South Carolina' >South Carolina</option><option value='South Dakota' >South Dakota</option><option value='Tennessee' >Tennessee</option><option value='Texas' >Texas</option><option value='Utah' >Utah</option><option value='Vermont' >Vermont</option><option value='Virginia' >Virginia</option><option value='Washington' >Washington</option><option value='West Virginia' >West Virginia</option><option value='Wisconsin' >Wisconsin</option><option value='Wyoming' >Wyoming</option><option value='Armed Forces Americas' >Armed Forces Americas</option><option value='Armed Forces Europe' >Armed Forces Europe</option><option value='Armed Forces Pacific' >Armed Forces Pacific</option> </select>
  1964.  
  1965. </div>
  1966. <div id="address_type_container_canadian" class="gfield_sub_setting gfield_address_type_container">
  1967. <input type="hidden" id="field_address_country_canadian" value="Canada" />
  1968. <input type="hidden" id="field_address_zip_label_canadian" value="Postal Code" />
  1969. <input type="hidden" id="field_address_state_label_canadian" value="Province" />
  1970. <input type="hidden" id="field_address_has_states_canadian" value="1" />
  1971.  
  1972. <label for="field_address_default_state_canadian">
  1973. Default Province <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_address_default_state_canadian' title='&lt;h6&gt;Default Province&lt;/h6&gt;Select the province you would like to be selected by default when the form gets displayed.'><i class='fa fa-question-circle'></i></a> </label>
  1974.  
  1975. <select id="field_address_default_state_canadian" class="field_address_default_state" onchange="SetAddressProperties();">
  1976. <option value='' selected='selected'></option><option value='Alberta' >Alberta</option><option value='British Columbia' >British Columbia</option><option value='Manitoba' >Manitoba</option><option value='New Brunswick' >New Brunswick</option><option value='Newfoundland &amp; Labrador' >Newfoundland &amp; Labrador</option><option value='Northwest Territories' >Northwest Territories</option><option value='Nova Scotia' >Nova Scotia</option><option value='Nunavut' >Nunavut</option><option value='Ontario' >Ontario</option><option value='Prince Edward Island' >Prince Edward Island</option><option value='Quebec' >Quebec</option><option value='Saskatchewan' >Saskatchewan</option><option value='Yukon' >Yukon</option> </select>
  1977.  
  1978. </div>
  1979. </li>
  1980. <li class="name_format_setting field_setting">
  1981. <label for="field_name_format">
  1982. Name Format <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_name_format' title='&lt;h6&gt;Field Name Format&lt;/h6&gt;Select the format you would like to use for the Name field. There are 3 options, Normal which includes First and Last Name, Extended which adds Prefix and Suffix, or Simple which is a single input field.'><i class='fa fa-question-circle'></i></a> </label>
  1983. <select id="field_name_format" onchange="StartChangeNameFormat(jQuery(this).val());">
  1984. <option value="extended">Extended</option>
  1985. <option value="advanced">Advanced</option>
  1986. </select>
  1987. </li>
  1988. <li class="name_setting field_setting">
  1989. <div class="custom_inputs_setting gfield_sub_setting">
  1990. <label for="field_name_fields" class="inline">
  1991. Name Fields <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_name_fields' title='&lt;h6&gt;Name Fields&lt;/h6&gt;Select the fields you&#039;d like to use in this Name field and customize the Sub-Labels by entering new ones.'><i class='fa fa-question-circle'></i></a> </label>
  1992.  
  1993. <div id="field_name_fields_container" style="padding-top:10px;">
  1994. <!-- content dynamically created from js.php -->
  1995. </div>
  1996. </div>
  1997.  
  1998. </li>
  1999. <li class="date_input_type_setting field_setting">
  2000. <label for="field_date_input_type">
  2001. Date Input Type <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_date_input_type' title='&lt;h6&gt;Date Input Type&lt;/h6&gt;Select the type of inputs you would like to use for the date field. Date Picker will let users select a date from a calendar. Date Field will let users free type the date.'><i class='fa fa-question-circle'></i></a> </label>
  2002. <select id="field_date_input_type" onchange="SetDateInputType(jQuery(this).val());">
  2003. <option value="datefield">Date Field</option>
  2004. <option value="datepicker">Date Picker</option>
  2005. <option value="datedropdown">Date Drop Down</option>
  2006. </select>
  2007.  
  2008. <div id="date_picker_container">
  2009.  
  2010. <input type="radio" id="gsetting_icon_none" name="gsetting_icon" value="none" onclick="SetCalendarIconType(this.value);" />
  2011. <label for="gsetting_icon_none" class="inline">
  2012. No Icon </label>
  2013. &nbsp;&nbsp;
  2014. <input type="radio" id="gsetting_icon_calendar" name="gsetting_icon" value="calendar" onclick="SetCalendarIconType(this.value);" />
  2015. <label for="gsetting_icon_calendar" class="inline">
  2016. Calendar Icon </label>
  2017. &nbsp;&nbsp;
  2018. <input type="radio" id="gsetting_icon_custom" name="gsetting_icon" value="custom" onclick="SetCalendarIconType(this.value);" />
  2019. <label for="gsetting_icon_custom" class="inline">
  2020. Custom Icon </label>
  2021.  
  2022. <div id="gfield_icon_url_container">
  2023. <label for="gfield_calendar_icon_url" class="inline">
  2024. Image Path: </label>
  2025. <input type="text" id="gfield_calendar_icon_url" size="45" />
  2026.  
  2027. <div class="instruction">Preview this form to see your custom icon.</div>
  2028. </div>
  2029. </div>
  2030. </li>
  2031. <li class="date_format_setting field_setting">
  2032. <label for="field_date_format">
  2033. Date Format <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_date_format' title='&lt;h6&gt;Field Date Format&lt;/h6&gt;Select the format you would like to use for the date input. Available options are MM/DD/YYYY and DD/MM/YYYY.'><i class='fa fa-question-circle'></i></a> </label>
  2034. <select id="field_date_format" onchange="SetDateFormat(jQuery(this).val());">
  2035. <option value="mdy">mm/dd/yyyy</option>
  2036. <option value="dmy">dd/mm/yyyy</option>
  2037. <option value="dmy_dash">dd-mm-yyyy</option>
  2038. <option value="dmy_dot">dd.mm.yyyy</option>
  2039. <option value="ymd_slash">yyyy/mm/dd</option>
  2040. <option value="ymd_dash">yyyy-mm-dd</option>
  2041. <option value="ymd_dot">yyyy.mm.dd</option>
  2042. </select>
  2043. </li>
  2044. <li class="customize_inputs_setting field_setting">
  2045. <label for="field_enable_customize_inputs" class="inline">
  2046. Customize Fields </label>
  2047. <div id="field_customize_inputs_container" style="padding-top:10px;">
  2048. <!-- content dynamically created from js.php -->
  2049. </div>
  2050. </li>
  2051. <li class="file_extensions_setting field_setting">
  2052. <label for="field_file_extension">
  2053. Allowed file extensions <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_fileupload_allowed_extensions' title='&lt;h6&gt;Allowed File Extensions&lt;/h6&gt;Enter the allowed file extensions for file uploads. This will limit the type of files a user may upload.'><i class='fa fa-question-circle'></i></a> </label>
  2054. <input type="text" id="field_file_extension" size="40" />
  2055.  
  2056. <div>
  2057. <small>Separated with commas (i.e. jpg, gif, png, pdf)</small>
  2058. </div>
  2059. </li>
  2060. <li class="multiple_files_setting field_setting">
  2061. <input type="checkbox" id="field_multiple_files" onclick="ToggleMultiFile();" />
  2062. <label for="field_multiple_files" class="inline">
  2063. Enable Multi-File Upload <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_multiple_files' title='&lt;h6&gt;Enable Multi-File Upload&lt;/h6&gt;Select this option to enable multiple files to be uploaded for this field.'><i class='fa fa-question-circle'></i></a> </label>
  2064.  
  2065. <div id="gform_multiple_files_options">
  2066. <br />
  2067.  
  2068. <div>
  2069. <label for="field_max_files">
  2070. Maximum Number of Files <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_max_files' title='&lt;h6&gt;Maximum Number of Files&lt;/h6&gt;Specify the maximum number of files that can be uploaded using this field. Leave blank for unlimited. Note that the actual number of files permitted may be limited by this server&#039;s specifications and configuration.'><i class='fa fa-question-circle'></i></a> </label>
  2071. <input type="text" id="field_max_files" size="10" />
  2072. </div>
  2073. <br />
  2074.  
  2075. </div>
  2076. </li>
  2077. <li class="file_size_setting field_setting">
  2078. <label for="field_max_file_size">
  2079. Maximum File Size <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_max_file_size' title='&lt;h6&gt;Maximum File Size&lt;/h6&gt;Specify the maximum file size in megabytes allowed for each of the files.'><i class='fa fa-question-circle'></i></a> </label>
  2080. <input type="text" id="field_max_file_size" size="10" placeholder="64MB" />
  2081.  
  2082. <div>
  2083. <small>Maximum allowed on this server: 64MB</small>
  2084. </div>
  2085. </li>
  2086.  
  2087. <li class="columns_setting field_setting">
  2088.  
  2089. <input type="checkbox" id="field_columns_enabled" onclick="SetFieldProperty('enableColumns', this.checked); ToggleColumns();" />
  2090. <label for="field_columns_enabled" class="inline">Enable multiple columns</label>
  2091. <br />
  2092.  
  2093. <div id="gfield_settings_columns_container">
  2094. <ul id="field_columns"></ul>
  2095. </div>
  2096. </li>
  2097.  
  2098. <li class="maxrows_setting field_setting">
  2099. <label for="field_maxrows">
  2100. Maximum Rows <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_maxrows' title='&lt;h6&gt;Maximum Rows&lt;/h6&gt;Enter the maximum number of rows that users are allowed to add.'><i class='fa fa-question-circle'></i></a> </label>
  2101. <input type="text" id="field_maxrows" />
  2102. </li>
  2103.  
  2104.  
  2105. <li class="time_format_setting field_setting">
  2106. <label for="field_time_format">
  2107. Time Format <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_time_format' title='&lt;h6&gt;Time Format&lt;/h6&gt;Select the format you would like to use for the time field. Available options are 12 hour (i.e. 8:30 pm) and 24 hour (i.e. 20:30).'><i class='fa fa-question-circle'></i></a> </label>
  2108. <select id="field_time_format" onchange="SetTimeFormat(this.value);">
  2109. <option value="12">12 hour</option>
  2110. <option value="24">24 hour</option>
  2111. </select>
  2112.  
  2113. </li>
  2114.  
  2115. <li class="phone_format_setting field_setting">
  2116. <label for="field_phone_format">
  2117. Phone Format <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_phone_format' title='&lt;h6&gt;Phone Number Format&lt;/h6&gt;Select the format you would like to use for the phone input. Available options are domestic US/CANADA style phone number and international long format phone number.'><i class='fa fa-question-circle'></i></a> </label>
  2118. <select id="field_phone_format" onchange="SetFieldPhoneFormat(jQuery(this).val());">
  2119. <option value="standard">(###) ###-####</option>
  2120. <option value="international">International</option>
  2121. </select>
  2122. </li>
  2123. <li class="choices_setting field_setting">
  2124.  
  2125. <div style="float:right;">
  2126. <input type="checkbox" id="field_choice_values_enabled" onclick="SetFieldProperty('enableChoiceValue', this.checked); ToggleChoiceValue(); SetFieldChoices();" />
  2127. <label for="field_choice_values_enabled" class="inline gfield_value_label">show values</label>
  2128. </div>
  2129.  
  2130. Choices <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_choices' title='&lt;h6&gt;Field Choices&lt;/h6&gt;Add Choices to this field. You can mark each choice as checked by default by using the radio/checkbox fields on the left.'><i class='fa fa-question-circle'></i></a> <br />
  2131.  
  2132. <div id="gfield_settings_choices_container">
  2133. <label class="gfield_choice_header_label">Label</label><label class="gfield_choice_header_value">Value</label><label class="gfield_choice_header_price">Price</label>
  2134. <ul id="field_choices"></ul>
  2135. </div>
  2136.  
  2137. <input type='button' value='Bulk Add / Predefined Choices' onclick="tb_show('Bulk Add / Predefined Choices', '#TB_inline?height=400&amp;width=600&amp;inlineId=gfield_bulk_add', '');" class="button" />
  2138.  
  2139. <div id="gfield_bulk_add" style="display:none;">
  2140. <div>
  2141.  
  2142. <div class="panel-instructions">Select a category and customize the predefined choices or paste your own list to bulk add choices.</div>
  2143.  
  2144. <div class="bulk-left-panel">
  2145. <ul id="bulk_items">
  2146. <li>
  2147. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Countries');"
  2148. class="bulk-choice">Countries</a>
  2149. <li>
  2150. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('U.S. States');"
  2151. class="bulk-choice">U.S. States</a>
  2152. <li>
  2153. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Canadian Province/Territory');"
  2154. class="bulk-choice">Canadian Province/Territory</a>
  2155. <li>
  2156. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Continents');"
  2157. class="bulk-choice">Continents</a>
  2158. <li>
  2159. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Gender');"
  2160. class="bulk-choice">Gender</a>
  2161. <li>
  2162. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Age');"
  2163. class="bulk-choice">Age</a>
  2164. <li>
  2165. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Marital Status');"
  2166. class="bulk-choice">Marital Status</a>
  2167. <li>
  2168. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Employment');"
  2169. class="bulk-choice">Employment</a>
  2170. <li>
  2171. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Job Type');"
  2172. class="bulk-choice">Job Type</a>
  2173. <li>
  2174. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Industry');"
  2175. class="bulk-choice">Industry</a>
  2176. <li>
  2177. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Income');"
  2178. class="bulk-choice">Income</a>
  2179. <li>
  2180. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Education');"
  2181. class="bulk-choice">Education</a>
  2182. <li>
  2183. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Days of the Week');"
  2184. class="bulk-choice">Days of the Week</a>
  2185. <li>
  2186. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Months of the Year');"
  2187. class="bulk-choice">Months of the Year</a>
  2188. <li>
  2189. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('How Often');"
  2190. class="bulk-choice">How Often</a>
  2191. <li>
  2192. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('How Long');"
  2193. class="bulk-choice">How Long</a>
  2194. <li>
  2195. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Satisfaction');"
  2196. class="bulk-choice">Satisfaction</a>
  2197. <li>
  2198. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Importance');"
  2199. class="bulk-choice">Importance</a>
  2200. <li>
  2201. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Agreement');"
  2202. class="bulk-choice">Agreement</a>
  2203. <li>
  2204. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Comparison');"
  2205. class="bulk-choice">Comparison</a>
  2206. <li>
  2207. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Would You');"
  2208. class="bulk-choice">Would You</a>
  2209. <li>
  2210. <a href="javascript:void(0);" onclick="SelectPredefinedChoice('Size');"
  2211. class="bulk-choice">Size</a>
  2212. </ul>
  2213. </div>
  2214. <div class="bulk-arrow-mid"></div>
  2215. <textarea id="gfield_bulk_add_input"></textarea>
  2216. <br style="clear:both;" />
  2217.  
  2218. <div class="panel-buttons" style="">
  2219. <input type="button" onclick="InsertBulkChoices(jQuery('#gfield_bulk_add_input').val().split('\n')); tb_remove();" class="button-primary" value="Insert Choices" />&nbsp;
  2220. <input type="button" onclick="tb_remove();" class="button" value="Cancel" />
  2221. </div>
  2222.  
  2223. <div class="panel-custom" style="">
  2224. <a href="javascript:void(0);" onclick="LoadCustomChoicesPanel(true, 'slow');" id="bulk_save_as">Save as new custom choice</a>
  2225.  
  2226. <div id="bulk_custom_edit" style="display:none;">
  2227. Save as <input type="text" id="custom_choice_name" value="Enter name" onfocus="if(this.value == 'enter name') this.value='';">&nbsp;&nbsp;
  2228. <a href="javascript:void(0);" onclick="SaveCustomChoices();" class="button" id="bulk_save_button">Save</a>&nbsp;
  2229. <a href="javascript:void(0);" onclick="CloseCustomChoicesPanel('slow');" id="bulk_cancel_link">Cancel</a>
  2230. <a href="javascript:void(0);" onclick="DeleteCustomChoice();" id="bulk_delete_link">Delete</a>
  2231. </div>
  2232. <div id="bulk_custom_message" class="alert_yellow" style="display:none; margin-top:8px; padding: 8px;">
  2233. <!--Message will be added via javascript-->
  2234. </div>
  2235. </div>
  2236.  
  2237. <script type="text/javascript">
  2238. var gform_selected_custom_choice = '';
  2239. var gform_custom_choices = [];
  2240. var gform_predefined_choices = {"Countries":["Afghanistan","Albania","Algeria","American Samoa","Andorra","Angola","Antigua and Barbuda","Argentina","Armenia","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia and Herzegovina","Botswana","Brazil","Brunei","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Colombia","Comoros","Congo, Democratic Republic of the","Congo, Republic of the","Costa Rica","C\u00f4te d&#039;Ivoire","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","East Timor","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Faroe Islands","Fiji","Finland","France","French Polynesia","Gabon","Gambia","Georgia","Germany","Ghana","Greece","Greenland","Grenada","Guam","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kosovo","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Mauritania","Mauritius","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montenegro","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Zealand","Nicaragua","Niger","Nigeria","Northern Mariana Islands","Norway","Oman","Pakistan","Palau","Palestine, State of","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Poland","Portugal","Puerto Rico","Qatar","Romania","Russia","Rwanda","Saint Kitts and Nevis","Saint Lucia","Saint Vincent and the Grenadines","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","Spain","Sri Lanka","Sudan","Sudan, South","Suriname","Swaziland","Sweden","Switzerland","Syria","Taiwan","Tajikistan","Tanzania","Thailand","Togo","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States","Uruguay","Uzbekistan","Vanuatu","Vatican City","Venezuela","Vietnam","Virgin Islands, British","Virgin Islands, U.S.","Yemen","Zambia","Zimbabwe"],"U.S. States":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming","Armed Forces Americas","Armed Forces Europe","Armed Forces Pacific"],"Canadian Province\/Territory":["Alberta","British Columbia","Manitoba","New Brunswick","Newfoundland &amp; Labrador","Northwest Territories","Nova Scotia","Nunavut","Ontario","Prince Edward Island","Quebec","Saskatchewan","Yukon"],"Continents":["Africa","Antarctica","Asia","Australia","Europe","North America","South America"],"Gender":["Male","Female","Prefer Not to Answer"],"Age":["Under 18","18-24","25-34","35-44","45-54","55-64","65 or Above","Prefer Not to Answer"],"Marital Status":["Single","Married","Divorced","Widowed"],"Employment":["Employed Full-Time","Employed Part-Time","Self-employed","Not employed but looking for work","Not employed and not looking for work","Homemaker","Retired","Student","Prefer Not to Answer"],"Job Type":["Full-Time","Part-Time","Per Diem","Employee","Temporary","Contract","Intern","Seasonal"],"Industry":["Accounting\/Finance","Advertising\/Public Relations","Aerospace\/Aviation","Arts\/Entertainment\/Publishing","Automotive","Banking\/Mortgage","Business Development","Business Opportunity","Clerical\/Administrative","Construction\/Facilities","Consumer Goods","Customer Service","Education\/Training","Energy\/Utilities","Engineering","Government\/Military","Green","Healthcare","Hospitality\/Travel","Human Resources","Installation\/Maintenance","Insurance","Internet","Job Search Aids","Law Enforcement\/Security","Legal","Management\/Executive","Manufacturing\/Operations","Marketing","Non-Profit\/Volunteer","Pharmaceutical\/Biotech","Professional Services","QA\/Quality Control","Real Estate","Restaurant\/Food Service","Retail","Sales","Science\/Research","Skilled Labor","Technology","Telecommunications","Transportation\/Logistics","Other"],"Income":["Under $20,000","$20,000 - $30,000","$30,000 - $40,000","$40,000 - $50,000","$50,000 - $75,000","$75,000 - $100,000","$100,000 - $150,000","$150,000 or more","Prefer Not to Answer"],"Education":["High School","Associate Degree","Bachelor's Degree","Graduate of Professional Degree","Some College","Other","Prefer Not to Answer"],"Days of the Week":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"Months of the Year":["January","February","March","April","May","June","July","August","September","October","November","December"],"How Often":["Everyday","Once a week","2 to 3 times a week","Once a month"," 2 to 3 times a month","Less than once a month"],"How Long":["Less than a month","1-6 months","1-3 years","Over 3 Years","Never used"],"Satisfaction":["Very Satisfied","Satisfied","Neutral","Unsatisfied","Very Unsatisfied"],"Importance":["Very Important","Important","Somewhat Important","Not Important"],"Agreement":["Strongly Agree","Agree","Disagree","Strongly Disagree"],"Comparison":["Much Better","Somewhat Better","About the Same","Somewhat Worse","Much Worse"],"Would You":["Definitely","Probably","Not Sure","Probably Not","Definitely Not"],"Size":["Extra Small","Small","Medium","Large","Extra Large"]};
  2241. </script>
  2242.  
  2243. </div>
  2244. </div>
  2245. </li>
  2246.  
  2247. <li class="other_choice_setting field_setting">
  2248.  
  2249. <input type="checkbox" id="field_other_choice" onclick="var value = jQuery(this).is(':checked'); SetFieldProperty('enableOtherChoice', value); UpdateFieldChoices(GetInputType(field));" />
  2250. <label for="field_other_choice" class="inline">
  2251. Enable &quot;other&quot; choice <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_other_choice' title='&lt;h6&gt;&quot;Other&quot; Choice&lt;/h6&gt;Check this option to add a text input as the final choice of your radio button field. This allows the user to specify a value that is not a predefined choice.'><i class='fa fa-question-circle'></i></a> </label>
  2252.  
  2253. </li>
  2254.  
  2255.  
  2256. <li class="email_confirm_setting field_setting">
  2257. <input type="checkbox" id="gfield_email_confirm_enabled" onclick="SetEmailConfirmation(this.checked);" />
  2258. <label for="gfield_email_confirm_enabled" class="inline">
  2259. Enable Email Confirmation </label>
  2260. </li>
  2261. <li class="password_strength_setting field_setting">
  2262. <input type="checkbox" id="gfield_password_strength_enabled" onclick="TogglePasswordStrength(); SetPasswordStrength(this.checked);" />
  2263. <label for="gfield_password_strength_enabled" class="inline">
  2264. Enable Password Strength </label>
  2265. </li>
  2266.  
  2267.  
  2268. <li id="gfield_min_strength_container">
  2269. <label for="gfield_min_strength">
  2270. Minimum Strength </label>
  2271. <select id="gfield_min_strength" onchange="SetFieldProperty('minPasswordStrength', jQuery(this).val());">
  2272. <option value="">None</option>
  2273. <option value="short">Short</option>
  2274. <option value="bad">Bad</option>
  2275. <option value="good">Good</option>
  2276. <option value="strong">Strong</option>
  2277. </select>
  2278. </li>
  2279.  
  2280.  
  2281. <li class="number_format_setting field_setting">
  2282. <label for="field_number_format">
  2283. Number Format <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_number_format' title='&lt;h6&gt;Number Format&lt;/h6&gt;Select the format of numbers that are allowed in this field. You have the option to use a comma or a dot as the decimal separator.'><i class='fa fa-question-circle'></i></a> </label>
  2284. <select id="field_number_format" onchange="SetFieldProperty('numberFormat', this.value);jQuery('.field_calculation_rounding').toggle(this.value != 'currency');">
  2285. <option value="decimal_dot">9,999.99</option>
  2286. <option value="decimal_comma">9.999,99</option>
  2287. <option value="currency">Currency</option>
  2288. </select>
  2289.  
  2290. </li>
  2291.  
  2292.  
  2293. <li class="sub_labels_setting field_setting">
  2294. <label for="field_sub_labels">
  2295. Sub-Labels <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_sub_labels' title='&lt;h6&gt;Sub-Labels&lt;/h6&gt;Enter values in this setting to override the Sub-Label for each field.'><i class='fa fa-question-circle'></i></a> </label>
  2296.  
  2297. <div id="field_sub_labels_container">
  2298. <!-- content dynamically created from js.php -->
  2299. </div>
  2300. </li>
  2301.  
  2302.  
  2303.  
  2304.  
  2305. <li class="credit_card_setting field_setting">
  2306. <label>
  2307. Supported Credit Cards </label>
  2308. <ul>
  2309.  
  2310. <li>
  2311. <input type="checkbox" id="field_credit_card_amex" value="amex" onclick="SetCardType(this, this.value);" />
  2312. <label for="field_credit_card_amex" class="inline">American Express</label>
  2313. </li>
  2314.  
  2315.  
  2316. <li>
  2317. <input type="checkbox" id="field_credit_card_discover" value="discover" onclick="SetCardType(this, this.value);" />
  2318. <label for="field_credit_card_discover" class="inline">Discover</label>
  2319. </li>
  2320.  
  2321.  
  2322. <li>
  2323. <input type="checkbox" id="field_credit_card_mastercard" value="mastercard" onclick="SetCardType(this, this.value);" />
  2324. <label for="field_credit_card_mastercard" class="inline">MasterCard</label>
  2325. </li>
  2326.  
  2327.  
  2328. <li>
  2329. <input type="checkbox" id="field_credit_card_visa" value="visa" onclick="SetCardType(this, this.value);" />
  2330. <label for="field_credit_card_visa" class="inline">Visa</label>
  2331. </li>
  2332.  
  2333.  
  2334. <li>
  2335. <input type="checkbox" id="field_credit_card_jcb" value="jcb" onclick="SetCardType(this, this.value);" />
  2336. <label for="field_credit_card_jcb" class="inline">JCB</label>
  2337. </li>
  2338.  
  2339.  
  2340. <li>
  2341. <input type="checkbox" id="field_credit_card_maestro" value="maestro" onclick="SetCardType(this, this.value);" />
  2342. <label for="field_credit_card_maestro" class="inline">Maestro</label>
  2343. </li>
  2344.  
  2345. </ul>
  2346. </li>
  2347. <li class="credit_card_style_setting field_setting">
  2348. <label for="credit_card_style">
  2349. Card Icon Style <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_card_style' title='&lt;h6&gt;Credit Card Icon Style&lt;/h6&gt;Select the style you would like to use for the credit card icons.'><i class='fa fa-question-circle'></i></a> </label>
  2350. <select id="credit_card_style" onchange="SetFieldProperty('creditCardStyle', this.value);">
  2351. <option value="style1">Standard</option>
  2352. <option value="style2">3D</option>
  2353. </select>
  2354. </li>
  2355.  
  2356.  
  2357. <li class="input_mask_setting field_setting">
  2358.  
  2359. <input type="checkbox" id="field_input_mask" onclick="ToggleInputMask();" />
  2360. <label for="field_input_mask" class="inline">
  2361. Input Mask <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_mask' title='&lt;h6&gt;Input Mask&lt;/h6&gt;Input masks provide a visual guide allowing users to more easily enter data in a specific format such as dates and phone numbers.'><i class='fa fa-question-circle'></i></a> </label><br />
  2362.  
  2363. <div id="gform_input_mask">
  2364.  
  2365. <br />
  2366.  
  2367. <div style="width:100px; float:left;">
  2368. <input type="radio" name="field_mask_option" id="field_mask_standard" size="10" onclick="ToggleInputMaskOptions();" />
  2369. <label for="field_mask_standard" class="inline">
  2370. Standard </label>
  2371. </div>
  2372. <div style="width:100px; float:left;">
  2373. <input type="radio" name="field_mask_option" id="field_mask_custom" size="10" onclick="ToggleInputMaskOptions();" />
  2374. <label for="field_mask_custom" class="inline">
  2375. Custom </label>
  2376. </div>
  2377.  
  2378. <div class="clear"></div>
  2379.  
  2380. <input type="text" id="field_mask_text" size="35" />
  2381.  
  2382. <p class="mask_text_description" style="margin:5px 0 0;">
  2383. Enter a custom mask.
  2384. <a href="javascript:void(0);" onclick="tb_show('Custom Mask Instructions', '#TB_inline?width=350&amp;inlineId=custom_mask_instructions', '');">Help</a>
  2385. </p>
  2386.  
  2387. <div id="custom_mask_instructions" style="display:none;">
  2388. <div class="custom_mask_instructions">
  2389.  
  2390. <h4>Usage</h4>
  2391. <ul class="description-list">
  2392. <li>Use a &#039;9&#039; to indicate a numerical character.</li>
  2393. <li>Use a lower case &#039;a&#039; to indicate an alphabetical character.</li>
  2394. <li>Use an asterisk &#039;*&#039; to indicate any alphanumeric character.</li>
  2395. <li>Use a question mark &#039;?&#039; to indicate optional characters. Note: All characters after the question mark will be optional.</li>
  2396. <li>All other characters are literal values and will be displayed automatically.</li>
  2397. </ul>
  2398.  
  2399. <h4>Examples</h4>
  2400. <ul class="examples-list">
  2401. <li>
  2402. <h5>Date</h5>
  2403. <span class="label">Mask</span> <code>99/99/9999</code><br />
  2404. <span class="label">Valid Input</span>
  2405. <code>10/21/2011</code>
  2406. </li>
  2407. <li>
  2408. <h5>Social Security Number</h5>
  2409. <span class="label">Mask</span>
  2410. <code>999-99-9999</code><br />
  2411. <span class="label">Valid Input</span>
  2412. <code>987-65-4329</code>
  2413. </li>
  2414. <li>
  2415. <h5>Course Code</h5>
  2416. <span class="label">Mask</span>
  2417. <code>aaa 999</code><br />
  2418. <span class="label">Valid Input</span>
  2419. <code>BIO 101</code>
  2420. </li>
  2421. <li>
  2422. <h5>License Key</h5>
  2423. <span class="label">Mask</span>
  2424. <code>***-***-***</code><br />
  2425. <span class="label">Valid Input</span>
  2426. <code>a9a-f0c-28Q</code>
  2427. </li>
  2428. <li>
  2429. <h5>Zip Code w/ Optional Plus Four</h5>
  2430. <span class="label">Mask</span>
  2431. <code>99999?-9999</code><br />
  2432. <span class="label">Valid Input</span>
  2433. <code>23462</code> or <code>23462-4062</code>
  2434. </li>
  2435. </ul>
  2436.  
  2437. </div>
  2438. </div>
  2439.  
  2440. <select id="field_mask_select" onchange="SetFieldProperty('inputMaskValue', jQuery(this).val());">
  2441. <option value="">Select a Mask</option>
  2442. <option value="(999) 999-9999">US Phone</option>
  2443. <option value="(999) 999-9999? x99999">US Phone + Ext</option>
  2444. <option value="99/99/9999">Date</option>
  2445. <option value="99-9999999">Tax ID</option>
  2446. <option value="999-99-9999">SSN</option>
  2447. <option value="99999">Zip Code</option>
  2448. <option value="99999?-9999">Full Zip Code</option>
  2449. </select>
  2450.  
  2451. </div>
  2452.  
  2453. </li>
  2454.  
  2455.  
  2456. <li class="maxlen_setting field_setting">
  2457. <label for="field_maxlen">
  2458. Maximum Characters <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_maxlength' title='&lt;h6&gt;Maximum Characters&lt;/h6&gt;Enter the maximum number of characters that this field is allowed to have.'><i class='fa fa-question-circle'></i></a> </label>
  2459. <input type="text" id="field_maxlen" /></input>
  2460. </li>
  2461.  
  2462. <li class="range_setting field_setting">
  2463. <div style="clear:both;">Range <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_number_range' title='&lt;h6&gt;Number Range&lt;/h6&gt;Enter the minimum and maximum values for this form field. This will require that the value entered by the user must fall within this range.'><i class='fa fa-question-circle'></i></a> </div>
  2464. <div style="width:90px; float:left;">
  2465. <input type="text" id="field_range_min" size="10" />
  2466. <label for="field_range_min">
  2467. Min </label>
  2468. </div>
  2469. <div style="width:90px; float:left;">
  2470. <input type="text" id="field_range_max" size="10" />
  2471. <label for="field_range_max">
  2472. Max </label>
  2473.  
  2474. </div>
  2475. <br class="clear" />
  2476. </li>
  2477.  
  2478.  
  2479. <li class="calculation_setting field_setting">
  2480.  
  2481. <div class="field_enable_calculation">
  2482. <input type="checkbox" id="field_enable_calculation" onclick="ToggleCalculationOptions(this.checked, field);" />
  2483. <label for="field_enable_calculation" class="inline">
  2484. Enable Calculation <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_enable_calculation' title='&lt;h6&gt;Enable Calculation&lt;/h6&gt;Enabling calculations will allow the value of this field to be dynamically calculated based on a mathematical formula.'><i class='fa fa-question-circle'></i></a> </label>
  2485. </div>
  2486.  
  2487. <div id="calculation_options" style="display:none;margin-top:10px;">
  2488.  
  2489. <label for="field_calculation_formula">
  2490. Formula <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_calculation_formula' title='&lt;h6&gt;Formula&lt;/h6&gt;Specify a mathematical formula. The result of this formula will be dynamically populated as the value for this field.'><i class='fa fa-question-circle'></i></a> </label>
  2491.  
  2492. <div>
  2493.  
  2494. <select id="field_calculation_formula_variable_select" onchange="InsertVariable('field_calculation_formula', 'FormulaContentCallback');" class="gform_merge_tags">
  2495. <option value=''>Insert Merge Tag</option>
  2496. <optgroup label="Allowable form fields">
  2497.  
  2498. <option value='{Would you like to share your work?:12}'>Would you like to share your work?</option>
  2499.  
  2500. </optgroup>
  2501.  
  2502.  
  2503. </select>
  2504.  
  2505. <div class="gf_calculation_buttons">
  2506. <input type="button" value=" + " onclick="InsertVariable('field_calculation_formula', 'FormulaContentCallback', this.value);" />
  2507. <input type="button" value=" - " onclick="InsertVariable('field_calculation_formula', 'FormulaContentCallback', this.value);" />
  2508. <input type="button" value=" / " onclick="InsertVariable('field_calculation_formula', 'FormulaContentCallback', this.value);" />
  2509. <input type="button" value=" * " onclick="InsertVariable('field_calculation_formula', 'FormulaContentCallback', this.value);" />
  2510. <input type="button" value=" ( " onclick="InsertVariable('field_calculation_formula', 'FormulaContentCallback', this.value);" />
  2511. <input type="button" value=" ) " onclick="InsertVariable('field_calculation_formula', 'FormulaContentCallback', this.value);" />
  2512. <input type="button" value="." onclick="InsertVariable('field_calculation_formula', 'FormulaContentCallback', this.value);" />
  2513. </div>
  2514. </div>
  2515. <textarea id="field_calculation_formula" class="fieldwidth-3 fieldheight-2"></textarea>
  2516. <br />
  2517. <a href="javascript:void(0)" onclick="var field = GetSelectedField(); alert(IsValidFormula(field.calculationFormula) ? 'The formula appears to be valid.' : 'There appears to be a problem with the formula.');">Validate Formula</a>
  2518.  
  2519. <div class="field_calculation_rounding">
  2520. <label for="field_calculation_rounding" style="margin-top:10px;">
  2521. Rounding <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_calculation_rounding' title='&lt;h6&gt;Rounding&lt;/h6&gt;Specify how many decimal places the number should be rounded to.'><i class='fa fa-question-circle'></i></a> </label>
  2522. <select id="field_calculation_rounding" onchange="SetFieldProperty('calculationRounding', this.value);">
  2523. <option value="0">0</option>
  2524. <option value="1">1</option>
  2525. <option value="2">2</option>
  2526. <option value="3">3</option>
  2527. <option value="4">4</option>
  2528. <option value="norounding">Do not round</option>
  2529. </select>
  2530. </div>
  2531.  
  2532. </div>
  2533.  
  2534. <br class="clear" />
  2535.  
  2536. </li>
  2537.  
  2538.  
  2539. <li class="rules_setting field_setting">
  2540. Rules<br />
  2541. <input type="checkbox" id="field_required" onclick="SetFieldRequired(this.checked);" />
  2542. <label for="field_required" class="inline">
  2543. Required <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_required' title='&lt;h6&gt;Required Field&lt;/h6&gt;Select this option to make the form field required. A required field will prevent the form from being submitted if it is not filled out or selected.'><i class='fa fa-question-circle'></i></a> </label><br />
  2544.  
  2545. <div class="duplicate_setting field_setting">
  2546. <input type="checkbox" id="field_no_duplicates" onclick="SetFieldProperty('noDuplicates', this.checked);" />
  2547. <label for="field_no_duplicates" class="inline">
  2548. No Duplicates <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_no_duplicate' title='&lt;h6&gt;No Duplicates&lt;/h6&gt;Select this option to limit user input to unique values only. This will require that a value entered in a field does not currently exist in the entry database for that field.'><i class='fa fa-question-circle'></i></a> </label>
  2549. </div>
  2550. </li>
  2551.  
  2552. </ul>
  2553. </div>
  2554. <div id="gform_tab_3">
  2555. <ul>
  2556. <li class="placeholder_setting field_setting">
  2557. <label for="field_placeholder">
  2558. Placeholder <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_placeholder' title='&lt;h6&gt;Placeholder&lt;/h6&gt;The Placeholder will not be submitted along with the form. Use the Placeholder to give a hint at the expected value or format.'><i class='fa fa-question-circle'></i></a> </label>
  2559. <input type="text" id="field_placeholder" class="field_placeholder fieldwidth-2 merge-tag-support mt-position-right mt-prepopulate" />
  2560. </li>
  2561. <li class="placeholder_textarea_setting field_setting">
  2562. <label for="field_placeholder_textarea">
  2563. Placeholder <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_placeholder' title='&lt;h6&gt;Placeholder&lt;/h6&gt;The Placeholder will not be submitted along with the form. Use the Placeholder to give a hint at the expected value or format.'><i class='fa fa-question-circle'></i></a> </label>
  2564. <textarea id="field_placeholder_textarea" class="field_placeholder fieldwidth-3 merge-tag-support mt-position-right mt-prepopulate"></textarea>
  2565. </li>
  2566.  
  2567. <li class="input_placeholders_setting field_setting">
  2568. <label>
  2569. Placeholders <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_input_placeholders' title='&lt;h6&gt;Placeholders&lt;/h6&gt;Placeholders will not be submitted along with the form. Use Placeholders to give a hint at the expected value or format.'><i class='fa fa-question-circle'></i></a> </label>
  2570.  
  2571. <div id="field_input_placeholders_container">
  2572. <!-- content dynamically created from js.php -->
  2573. </div>
  2574. </li>
  2575.  
  2576. <li class="label_placement_setting field_setting">
  2577. <div id="field_description_placement_container" style="display:none; padding-top:10px;">
  2578. <label for="field_description_placement">
  2579. Description Placement <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_description_placement' title='&lt;h6&gt;Description Placement&lt;/h6&gt;Select the description placement. Descriptions can be placed above the field inputs or below the field inputs.'><i class='fa fa-question-circle'></i></a> </label>
  2580. <select id="field_description_placement"
  2581. onchange="SetFieldDescriptionPlacement(jQuery(this).val());">
  2582. <option
  2583. value="">Use Form Setting (Above inputs)</option>
  2584. <option value="below">Below inputs</option>
  2585. <option value="above">Above inputs</option>
  2586. </select>
  2587. </div>
  2588. </li>
  2589. <li class="sub_label_placement_setting field_setting">
  2590. <label for="field_sub_label_placement">
  2591. Sub-Label Placement <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_sub_label_placement' title='&lt;h6&gt;Sub-Label Placement&lt;/h6&gt;Select the sub-label placement. Sub-labels can be placed above the field inputs or below the field inputs.'><i class='fa fa-question-circle'></i></a> </label>
  2592. <select id="field_sub_label_placement"
  2593. onchange="SetFieldSubLabelPlacement(jQuery(this).val());">
  2594. <option
  2595. value="">Use Form Setting (Above inputs)</option>
  2596. <option value="below">Below inputs</option>
  2597. <option value="above">Above inputs</option>
  2598.  
  2599. </select>
  2600. </li>
  2601.  
  2602.  
  2603. <li class="error_message_setting field_setting">
  2604. <label for="field_error_message">
  2605. Custom Validation Message <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_validation_message' title='&lt;h6&gt;Validation Message&lt;/h6&gt;If you would like to override the default error validation for a field, enter it here. This message will be displayed if there is an error with this field when the user submits the form.'><i class='fa fa-question-circle'></i></a> </label>
  2606. <input type="text" id="field_error_message" class="fieldwidth-2" />
  2607. </li>
  2608.  
  2609.  
  2610. <li class="css_class_setting field_setting">
  2611. <label for="field_css_class">
  2612. Custom CSS Class <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_css_class' title='&lt;h6&gt;CSS Class Name&lt;/h6&gt;Enter the CSS class name you would like to use in order to override the default styles for this field.'><i class='fa fa-question-circle'></i></a> </label>
  2613. <input type="text" id="field_css_class" size="30" />
  2614. </li>
  2615.  
  2616.  
  2617. <li class="enable_enhanced_ui_setting field_setting">
  2618. <input type="checkbox" id="gfield_enable_enhanced_ui" onclick="SetFieldProperty('enableEnhancedUI', jQuery(this).is(':checked') ? 1 : 0);" />
  2619. <label for="gfield_enable_enhanced_ui" class="inline">
  2620. Enable enhanced user interface <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_enable_enhanced_ui' title='&lt;h6&gt;Enable Enhanced UI&lt;/h6&gt;By selecting this option, the &lt;a href=&#039;http://harvesthq.github.com/chosen/&#039; target=&#039;_blank&#039;&gt;Chosen&lt;/a&gt; jQuery script will be applied to this field, enabling search capabilities to Drop Down fields and a more user-friendly interface for Multi Select fields.'><i class='fa fa-question-circle'></i></a> </label>
  2621. </li>
  2622.  
  2623.  
  2624. <li class="size_setting field_setting">
  2625. <label for="field_size">
  2626. Field Size <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_size' title='&lt;h6&gt;Field Size&lt;/h6&gt;Select a form field size from the available options. This will set the width of the field.'><i class='fa fa-question-circle'></i></a> </label>
  2627. <select id="field_size" onchange="SetFieldSize(jQuery(this).val());">
  2628. <option value="small">Small</option>
  2629. <option value="medium">Medium</option>
  2630. <option value="large">Large</option>
  2631. </select>
  2632. </li>
  2633. </ul>
  2634. </div>
  2635.  
  2636. <div id="gform_tab_2">
  2637. <ul>
  2638. <li class="admin_label_setting field_setting">
  2639. <label for="field_admin_label">
  2640. Admin Field Label <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_admin_label' title='&lt;h6&gt;Admin Label&lt;/h6&gt;Enter the admin label of the form field. Entering a value in this field will override the Field Label when displayed in the Gravity Forms administration tool.'><i class='fa fa-question-circle'></i></a> </label>
  2641. <input type="text" id="field_admin_label" size="35" />
  2642. </li>
  2643. <li class="default_value_setting field_setting">
  2644. <label for="field_default_value">
  2645. Default Value <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_default_value' title='&lt;h6&gt;Default Value&lt;/h6&gt;If you would like to pre-populate the value of a field, enter it here.'><i class='fa fa-question-circle'></i></a> </label>
  2646. <input type="text" id="field_default_value" class="field_default_value fieldwidth-2 merge-tag-support mt-position-right mt-prepopulate" />
  2647. </li>
  2648. <li class="default_value_textarea_setting field_setting">
  2649. <label for="field_default_value_textarea">
  2650. Default Value <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_default_value' title='&lt;h6&gt;Default Value&lt;/h6&gt;If you would like to pre-populate the value of a field, enter it here.'><i class='fa fa-question-circle'></i></a> </label>
  2651. <textarea id="field_default_value_textarea" class="field_default_value fieldwidth-3 merge-tag-support mt-position-right mt-prepopulate"></textarea>
  2652. </li>
  2653. <li class="name_prefix_choices_setting field_setting" style="display:none;">
  2654. Prefix Choices <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_name_prefix_choices' title='&lt;h6&gt;Name Prefix Choices&lt;/h6&gt;Add Choices to this field. You can mark a choice as selected by default by using the radio buttons on the left.'><i class='fa fa-question-circle'></i></a> <br />
  2655.  
  2656. <div id="gfield_settings_prefix_input_choices_container" class="gfield_settings_input_choices_container">
  2657. <label class="gfield_choice_header_label">Label</label><label class="gfield_choice_header_value">Value</label>
  2658. <ul id="field_prefix_choices" class="field_input_choices">
  2659. <!-- content dynamically created from js.php -->
  2660. </ul>
  2661. </div>
  2662. </li>
  2663. <li class="default_input_values_setting field_setting">
  2664. <label>
  2665. Default Values <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_default_input_values' title='&lt;h6&gt;Default Values&lt;/h6&gt;If you would like to pre-populate the value of a field, select this option.'><i class='fa fa-question-circle'></i></a> </label>
  2666.  
  2667. <div id="field_default_input_values_container">
  2668. <!-- content dynamically created from js.php -->
  2669. </div>
  2670. </li>
  2671.  
  2672. <li class="copy_values_option field_setting">
  2673. <input type="checkbox" id="field_enable_copy_values_option" />
  2674. <label for="field_enable_copy_values_option" class="inline">
  2675. Display option to use the values submitted in different field <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_enable_copy_values_option' title='&lt;h6&gt;Use Values Submitted in a Different Field&lt;/h6&gt;Activate this option to allow users to skip this field and submit the values entered in the associated field. For example, this is useful for shipping and billing address fields.'><i class='fa fa-question-circle'></i></a> </label>
  2676.  
  2677. <div id="field_copy_values_disabled" style="display:none;padding-top: 10px;">
  2678. <span class="instruction" style="margin-left:0">
  2679. To activate this option, please add a field to be used as the source. </span>
  2680. </div>
  2681. <div id="field_copy_values_container" style="display:none;" class="gfield_sub_setting">
  2682. <label for="field_copy_values_option_label">
  2683. Option Label <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_copy_values_option_label' title='&lt;h6&gt;Option Label&lt;/h6&gt;Enter the label to be displayed next to the check box. For example, &quot;same as shipping address&quot;.'><i class='fa fa-question-circle'></i></a> </label>
  2684. <input id="field_copy_values_option_label" type="text" class="fieldwidth-2" />
  2685. <label for="field_copy_values_option_field" style="padding-top: 10px;">
  2686. Source Field <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_copy_values_option_field' title='&lt;h6&gt;Source Field&lt;/h6&gt;Select the field to be used as the source for the values for this field.'><i class='fa fa-question-circle'></i></a> </label>
  2687. <select id="field_copy_values_option_field">
  2688. <!-- content dynamically created -->
  2689. </select>
  2690.  
  2691. <div style="padding-top: 10px;">
  2692. <input type="checkbox" id="field_copy_values_option_default" />
  2693. <label for="field_copy_values_option_default" class="inline">
  2694. Activated by default <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_copy_values_option_default' title='&lt;h6&gt;Activated by Default&lt;/h6&gt;Select this setting to display the option as activated by default when the form first loads.'><i class='fa fa-question-circle'></i></a> </label>
  2695. </div>
  2696. </div>
  2697. </li>
  2698.  
  2699.  
  2700. <li class="credit_card_icon_style_setting field_setting">
  2701. <label>
  2702. Credit Card Icon Style </label>
  2703. <ul>
  2704. <li>
  2705. <input type="checkbox" id="field_credit_card_amex" value="amex" onclick="SetCardType(this, this.value);" />
  2706. <label for="field_credit_card_amex" class="inline">American Express</label>
  2707. </li>
  2708.  
  2709. <li>
  2710. <input type="checkbox" id="field_credit_card_discover" value="discover" onclick="SetCardType(this, this.value);" />
  2711. <label for="field_credit_card_discover" class="inline">Discover</label>
  2712. </li>
  2713.  
  2714. <li>
  2715. <input type="checkbox" id="field_credit_card_mastercard" value="mastercard" onclick="SetCardType(this, this.value);" />
  2716. <label for="field_credit_card_mastercard" class="inline">MasterCard</label>
  2717. </li>
  2718.  
  2719. <li>
  2720. <input type="checkbox" id="field_credit_card_visa" value="visa" onclick="SetCardType(this, this.value);" />
  2721. <label for="field_credit_card_visa" class="inline">Visa</label>
  2722. </li>
  2723.  
  2724. <li>
  2725. <input type="checkbox" id="field_credit_card_jcb" value="jcb" onclick="SetCardType(this, this.value);" />
  2726. <label for="field_credit_card_jcb" class="inline">JCB</label>
  2727. </li>
  2728.  
  2729. <li>
  2730. <input type="checkbox" id="field_credit_card_maestro" value="maestro" onclick="SetCardType(this, this.value);" />
  2731. <label for="field_credit_card_maestro" class="inline">Maestro</label>
  2732. </li>
  2733.  
  2734. </ul>
  2735. </li>
  2736.  
  2737. <li class="captcha_language_setting field_setting">
  2738. <label for="field_captcha_language">
  2739. Language <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_recaptcha_language' title='&lt;h6&gt;reCaptcha Language&lt;/h6&gt;Select the language you would like to use for the reCAPTCHA display from the available options.'><i class='fa fa-question-circle'></i></a> </label>
  2740. <select id="field_captcha_language" onchange="SetFieldProperty('captchaLanguage', this.value);">
  2741. <option value="en">English</option>
  2742. <option value="nl">Dutch</option>
  2743. <option value="fr">French</option>
  2744. <option value="de">German</option>
  2745. <option value="pt">Portuguese</option>
  2746. <option value="ru">Russian</option>
  2747. <option value="es">Spanish</option>
  2748. <option value="tr">Turkish</option>
  2749. </select>
  2750. </li>
  2751. <li class="add_icon_url_setting field_setting">
  2752. <label for="field_add_icon_url">
  2753. Add Icon URL <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_add_icon_url' title='&lt;h6&gt;Add Icon URL&lt;/h6&gt;Enter the URL of a custom image to replace the default &#039;add item&#039; icon.'><i class='fa fa-question-circle'></i></a> </label>
  2754. <input type="text" id="field_add_icon_url" class="fieldwidth-2" />
  2755. </li>
  2756. <li class="delete_icon_url_setting field_setting">
  2757. <label for="field_delete_icon_url">
  2758. Delete Icon URL <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_delete_icon_url' title='&lt;h6&gt;Delete Icon URL&lt;/h6&gt;Enter the URL of a custom image to replace the default &#039;delete item&#039; icon.'><i class='fa fa-question-circle'></i></a> </label>
  2759. <input type="text" id="field_delete_icon_url" class="fieldwidth-2" />
  2760. </li>
  2761. <li class="password_field_setting field_setting">
  2762. <input type="checkbox" id="field_password" onclick="SetPasswordProperty(this.checked);" />
  2763. <label for="field_password" class="inline">Enable Password Input</label>
  2764. </li>
  2765.  
  2766. <li class="force_ssl_field_setting field_setting">
  2767. <input type="checkbox" id="field_force_ssl" onclick="SetFieldProperty('forceSSL', this.checked);" />
  2768. <label for="field_force_ssl" class="inline">Force SSL<a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_force_ssl' title='&lt;h6&gt;Force SSL&lt;/h6&gt;Check this box to prevent this field from being displayed in a non-secure page (i.e. not https://). It will redirect the page to the same URL, but starting with https:// instead. This option requires a properly configured SSL certificate.'><i class='fa fa-question-circle'></i></a></label>
  2769. </li>
  2770.  
  2771. <li class="visibility_setting field_setting">
  2772. <label>Visibility <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_visibility' title='&lt;h6&gt;Visibility&lt;/h6&gt;Select the visibility for this field. Field visibility set to Everyone will be visible by the user submitting the form. Form field visibility set to Admin Only will only be visible within the Gravity Forms administration tool.&lt;br /&gt;&lt;br /&gt;Setting a field to Admin Only is useful for creating fields that can be used to set a status or priority level on submitted entries.'><i class='fa fa-question-circle'></i></a></label>
  2773.  
  2774. <div>
  2775. <input type="radio" name="field_visibility" id="field_visibility_everyone" size="10" onclick="SetFieldAdminOnly(!this.checked);" />
  2776. <label for="field_visibility_everyone" class="inline">
  2777. Everyone </label>
  2778. &nbsp;&nbsp;
  2779. <input type="radio" name="field_visibility" id="field_visibility_admin" size="10" onclick="SetFieldAdminOnly(this.checked);" />
  2780. <label for="field_visibility_admin" class="inline">
  2781. Admin Only </label>
  2782. </div>
  2783. <br class="clear" />
  2784. </li>
  2785. <li class="prepopulate_field_setting field_setting">
  2786. <input type="checkbox" id="field_prepopulate" onclick="SetFieldProperty('allowsPrepopulate', this.checked); ToggleInputName()" />
  2787. <label for="field_prepopulate" class="inline">Allow field to be populated dynamically <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_prepopulate' title='&lt;h6&gt;Incoming Field Data&lt;/h6&gt;Check this option to enable data to be passed to the form and pre-populate this field dynamically. Data can be passed via Query Strings, Shortcode and/or Hooks.'><i class='fa fa-question-circle'></i></a></label>
  2788. <br />
  2789.  
  2790. <div id="field_input_name_container" style="display:none; padding-top:10px;">
  2791. <!-- content dynamically created from js.php -->
  2792. </div>
  2793. </li>
  2794. <li class="conditional_logic_field_setting field_setting">
  2795. <input type="checkbox" id="field_conditional_logic" onclick="SetFieldProperty('conditionalLogic', this.checked ? new ConditionalLogic() : null); ToggleConditionalLogic(false, 'field');" />
  2796. <label for="field_conditional_logic" class="inline">Enable Conditional Logic <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_field_conditional_logic' title='&lt;h6&gt;Conditional Logic&lt;/h6&gt;Create rules to dynamically display or hide this field based on values from another field.'><i class='fa fa-question-circle'></i></a></label>
  2797. <br />
  2798.  
  2799. <div id="field_conditional_logic_container" style="display:none; padding-top:10px;">
  2800. <!-- content dynamically created from js.php -->
  2801. </div>
  2802. </li>
  2803.  
  2804. <li class="conditional_logic_page_setting field_setting">
  2805. <input type="checkbox" id="page_conditional_logic" onclick="SetFieldProperty('conditionalLogic', this.checked ? new ConditionalLogic() : null); ToggleConditionalLogic(false, 'page');" />
  2806. <label for="page_conditional_logic" class="inline">Enable Page Conditional Logic <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_page_conditional_logic' title='&lt;h6&gt;Page Conditional Logic&lt;/h6&gt;Create rules to dynamically display or hide this page based on values from another field.'><i class='fa fa-question-circle'></i></a></label>
  2807. <br />
  2808.  
  2809. <div id="page_conditional_logic_container" style="display:none; padding-top:10px;">
  2810. <!-- content dynamically created from js.php -->
  2811. </div>
  2812. </li>
  2813.  
  2814. <li class="conditional_logic_nextbutton_setting field_setting">
  2815. <input type="checkbox" id="next_button_conditional_logic" onclick="SetNextButtonConditionalLogic(this.checked); ToggleConditionalLogic(false, 'next_button');" />
  2816. <label for="next_button_conditional_logic" class="inline">Enable Next Button Conditional Logic <a href='#' onclick='return false;' class='gf_tooltip tooltip tooltip_form_nextbutton_conditional_logic' title='&lt;h6&gt;Next Button Conditional Logic&lt;/h6&gt;Create rules to dynamically display or hide the page&#039;s Next Button based on values from another field.'><i class='fa fa-question-circle'></i></a></label>
  2817. <br />
  2818.  
  2819. <div id="next_button_conditional_logic_container" style="display:none; padding-top:10px;">
  2820. <!-- content dynamically created from js.php -->
  2821. </div>
  2822. </li>
  2823.  
  2824. </ul>
  2825. </div>
  2826.  
  2827.  
  2828. </div>
  2829. </td>
  2830. <td valign="top" align="right">
  2831. <div id="add_fields">
  2832. <div id="floatMenu">
  2833.  
  2834. <!-- begin add button boxes -->
  2835. <ul id="sidebarmenu1" class="menu collapsible expandfirst">
  2836.  
  2837. <li id="add_standard_fields" class="add_field_button_container">
  2838. <div class="button-title-link gf_button_title_active">
  2839. <div class="add-buttons-title">Standard Fields <a href='#' onclick='return false;' class='gf_tooltip tooltip_bottomleft tooltip_form_standard_fields' title='&lt;h6&gt;Standard Fields&lt;/h6&gt;Standard Fields provide basic form functionality.'><i class='fa fa-question-circle'></i></a></div>
  2840. </div>
  2841. <ul>
  2842. <li class="add-buttons">
  2843. <ol class="field_type">
  2844. <li><input type="button" class="button" data-type="text" value="Single Line Text"/></li><li><input type="button" class="button" data-type="textarea" value="Paragraph Text"/></li><li><input type="button" class="button" data-type="select" value="Drop Down"/></li><li><input type="button" class="button" data-type="multiselect" value="Multi Select"/></li><li><input type="button" class="button" data-type="number" value="Number"/></li><li><input type="button" class="button" data-type="checkbox" value="Checkboxes"/></li><li><input type="button" class="button" data-type="radio" value="Radio Buttons"/></li><li><input type="button" class="button" data-type="hidden" value="Hidden"/></li><li><input type="button" class="button" data-type="html" value="HTML"/></li><li><input type="button" class="button" data-type="section" value="Section"/></li><li><input type="button" class="button" data-type="page" value="Page"/></li> </ol>
  2845. </li>
  2846. </ul>
  2847. </li>
  2848. <li id="add_advanced_fields" class="add_field_button_container">
  2849. <div class="button-title-link ">
  2850. <div class="add-buttons-title">Advanced Fields <a href='#' onclick='return false;' class='gf_tooltip tooltip_left tooltip_form_advanced_fields' title='&lt;h6&gt;Advanced Fields&lt;/h6&gt;Advanced Fields are for specific uses. They enable advanced formatting of regularly used fields such as Name, Email, Address, etc.'><i class='fa fa-question-circle'></i></a></div>
  2851. </div>
  2852. <ul>
  2853. <li class="add-buttons">
  2854. <ol class="field_type">
  2855. <li><input type="button" class="button" data-type="name" value="Name"/></li><li><input type="button" class="button" data-type="date" value="Date"/></li><li><input type="button" class="button" data-type="time" value="Time"/></li><li><input type="button" class="button" data-type="phone" value="Phone"/></li><li><input type="button" class="button" data-type="address" value="Address"/></li><li><input type="button" class="button" data-type="website" value="Website"/></li><li><input type="button" class="button" data-type="email" value="Email"/></li><li><input type="button" class="button" data-type="fileupload" value="File Upload"/></li><li><input type="button" class="button" data-type="captcha" value="CAPTCHA"/></li><li><input type="button" class="button" data-type="list" value="List"/></li> </ol>
  2856. </li>
  2857. </ul>
  2858. </li>
  2859. <li id="add_post_fields" class="add_field_button_container">
  2860. <div class="button-title-link ">
  2861. <div class="add-buttons-title">Post Fields <a href='#' onclick='return false;' class='gf_tooltip tooltip_left tooltip_form_post_fields' title='&lt;h6&gt;Post Fields&lt;/h6&gt;Post Fields allow you to add fields to your form that create Post Drafts in WordPress from the submitted data.'><i class='fa fa-question-circle'></i></a></div>
  2862. </div>
  2863. <ul>
  2864. <li class="add-buttons">
  2865. <ol class="field_type">
  2866. <li><input type="button" class="button" data-type="post_title" value="Title"/></li><li><input type="button" class="button" data-type="post_content" value="Body"/></li><li><input type="button" class="button" data-type="post_excerpt" value="Excerpt"/></li><li><input type="button" class="button" data-type="post_tags" value="Tags"/></li><li><input type="button" class="button" data-type="post_category" value="Category"/></li><li><input type="button" class="button" data-type="post_image" value="Post Image"/></li><li><input type="button" class="button" data-type="post_custom_field" value="Custom Field"/></li> </ol>
  2867. </li>
  2868. </ul>
  2869. </li>
  2870. <li id="add_pricing_fields" class="add_field_button_container">
  2871. <div class="button-title-link ">
  2872. <div class="add-buttons-title">Pricing Fields <a href='#' onclick='return false;' class='gf_tooltip tooltip_left tooltip_form_pricing_fields' title='&lt;h6&gt;Pricing Fields&lt;/h6&gt;Pricing fields allow you to add fields to your form that calculate pricing for selling goods and services.'><i class='fa fa-question-circle'></i></a></div>
  2873. </div>
  2874. <ul>
  2875. <li class="add-buttons">
  2876. <ol class="field_type">
  2877. <li><input type="button" class="button" data-type="product" value="Product"/></li><li><input type="button" class="button" data-type="quantity" value="Quantity"/></li><li><input type="button" class="button" data-type="option" value="Option"/></li><li><input type="button" class="button" data-type="shipping" value="Shipping"/></li><li><input type="button" class="button" data-type="total" value="Total"/></li> </ol>
  2878. </li>
  2879. </ul>
  2880. </li>
  2881. </ul>
  2882. <br style="clear:both;" />
  2883. <!--end add button boxes -->
  2884.  
  2885. <a class="submitdelete" title="Move this form to the trash" onclick="if(confirm('Would you like to move this form to the trash? \'Cancel\' to stop. \'OK\' to continue')){ gf_vars.isFormTrash = true; jQuery('#form_trash')[0].submit();} else{return false;}">Move to Trash</a><input type="button" class="button button-large button-primary update-form" value="Update Form" onclick="SaveForm(0);" />
  2886. <span id="please_wait_container" style="display:none;"><i class='gficon-gravityforms-spinner-icon gficon-spin'></i></span>
  2887.  
  2888. <div class="updated_base" id="after_update_dialog" style="display:none;">
  2889. <strong>Form updated successfully. &nbsp;<a title="Preview this form" href="http://creativeguidance.com/?gf_page=preview&id=6" target="_blank">Preview</a></strong>
  2890. </div>
  2891. <div class="error_base" id="after_update_error_dialog" style="padding:10px 10px 16px 10px; display:none;">
  2892. There was an error while saving your form. Please <a href="http://www.gravityhelp.com">contact our support team</a>. </div>
  2893.  
  2894. <!-- this field allows us to force onblur events for field setting inputs that are otherwise not triggered
  2895. when closing the field settings UI -->
  2896. <input type="text" id="gform_force_focus" style="position:absolute;left:-9999em;" />
  2897.  
  2898. <form method="post" id="gform_update">
  2899. <input type="hidden" id="gforms_update_form" name="gforms_update_form" value="770e828692" /><input type="hidden" name="_wp_http_referer" value="/wp-admin/admin.php?page=gf_edit_forms&amp;id=6" /> <input type="hidden" id="gform_meta" name="gform_meta" />
  2900. </form>
  2901.  
  2902. </div>
  2903. </div>
  2904. </td>
  2905. </tr>
  2906. </table>
  2907.  
  2908. </div>
  2909.  
  2910. <!-- // including form setting hooks as a temporary fix to prevent issues where users using the "gform_before_update" hook are expecting
  2911. form settings to be included on the form editor page -->
  2912. <div style="display:none;">
  2913. <!--form settings-->
  2914.  
  2915. <!--advanced settings-->
  2916. </div>
  2917.  
  2918. <script type="text/javascript">fieldSettings = {"address":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .admin_label_setting, .label_placement_setting, .sub_label_placement_setting, .default_input_values_setting, .input_placeholders_setting, .address_setting, .rules_setting, .copy_values_option, .description_setting, .visibility_setting, .css_class_setting","calculation":".disable_quantity_setting, .rules_setting, .duplicate_setting, .calculation_setting, .conditional_logic_field_setting","captcha":".captcha_type_setting, .captcha_size_setting, .captcha_fg_setting, .captcha_bg_setting, .captcha_language_setting, .captcha_theme_setting, .conditional_logic_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .description_setting, .css_class_setting","checkbox":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .choices_setting, .rules_setting, .visibility_setting, .description_setting, .css_class_setting","creditcard":".conditional_logic_field_setting, .force_ssl_field_setting, .credit_card_style_setting, .error_message_setting, .label_setting, .label_placement_setting, .sub_labels_setting, .sub_label_placement_setting, .label_placement_setting, .admin_label_setting, .rules_setting, .description_setting, .css_class_setting, .credit_card_setting, .input_placeholders_setting","date":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .sub_label_placement_setting, .admin_label_setting, .rules_setting, .date_input_type_setting, .visibility_setting, .duplicate_setting, .date_format_setting, .default_value_setting, .placeholder_setting, .description_setting, .css_class_setting","donation":".conditional_logic_field_setting, .donation_field_type_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .admin_label_setting, .label_placement_setting, .rules_setting, .default_value_setting, .placeholder_setting, .description_setting, .css_class_setting","email":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .email_confirm_setting, .admin_label_setting, .size_setting, .rules_setting, .visibility_setting, .duplicate_setting, .default_value_setting, .placeholder_setting, .description_setting, .css_class_setting","fileupload":".conditional_logic_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .rules_setting, .file_extensions_setting, .file_size_setting, .multiple_files_setting, .visibility_setting, .description_setting, .css_class_setting","hidden":".prepopulate_field_setting, .label_setting, .default_value_setting","hiddenproduct":".base_price_setting","html":".content_setting, .disable_margins_setting, .conditional_logic_field_setting, .label_setting, .css_class_setting","list":".columns_setting, .maxrows_setting, .add_icon_url_setting, .delete_icon_url_setting, .conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .rules_setting, .visibility_setting, .description_setting, .css_class_setting","multiselect":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .enable_enhanced_ui_setting, .label_setting, .label_placement_setting, .admin_label_setting, .size_setting, .choices_setting, .rules_setting, .visibility_setting, .description_setting, .css_class_setting","name":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .admin_label_setting, .label_placement_setting, .sub_label_placement_setting, .default_input_values_setting, .input_placeholders_setting, .name_setting, .rules_setting, .visibility_setting, .description_setting, .css_class_setting","number":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .size_setting, .number_format_setting, .range_setting, .rules_setting, .visibility_setting, .duplicate_setting, .default_value_setting, .placeholder_setting, .description_setting, .css_class_setting, .calculation_setting","option":".product_field_setting, .option_field_type_setting, .conditional_logic_field_setting, .prepopulate_field_setting, .label_setting, .admin_label_setting, .label_placement_setting, .default_value_setting, .placeholder_setting, .description_setting, .css_class_setting","page":".next_button_setting, .previous_button_setting, .css_class_setting, .conditional_logic_page_setting, .conditional_logic_nextbutton_setting","password":".conditional_logic_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .rules_setting, .input_placeholders_setting, .sub_labels_setting, .sub_label_placement_setting, .description_setting, .css_class_setting, .password_strength_setting","phone":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .size_setting, .rules_setting, .visibility_setting, .duplicate_setting, .default_value_setting, .placeholder_setting, .description_setting, .phone_format_setting, .css_class_setting","post_category":".post_category_checkbox_setting, .post_category_initial_item_setting, .post_category_field_type_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .size_setting, .rules_setting, .visibility_setting, .duplicate_setting, .description_setting, .css_class_setting, .conditional_logic_field_setting","post_content":".post_content_template_setting, .post_status_setting, .post_category_setting, .post_author_setting, .post_format_setting, .conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .size_setting, .maxlen_setting, .rules_setting, .visibility_setting, .default_value_textarea_setting, .placeholder_textarea_setting, .description_setting, .css_class_setting","post_custom_field":".post_custom_field_type_setting, .post_custom_field_setting, .conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .size_setting, .rules_setting, .visibility_setting, .duplicate_setting, .description_setting, .css_class_setting","post_excerpt":".post_status_setting, .post_category_setting, .post_author_setting, .conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .size_setting, .maxlen_setting, .rules_setting, .visibility_setting, .default_value_textarea_setting, .placeholder_textarea_setting, .description_setting, .css_class_setting","post_image":".conditional_logic_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .post_image_setting, .rules_setting, .description_setting, .css_class_setting, .post_image_featured_image","post_tags":".post_tag_type_setting, .conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .size_setting, .rules_setting, .default_value_setting, .visibility_setting, .description_setting, .css_class_setting, .placeholder_setting","post_title":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .post_title_template_setting, .post_status_setting, .post_category_setting, .size_setting, .rules_setting, .visibility_setting, .default_value_setting, .placeholder_setting, .description_setting, .css_class_setting, .post_author_setting, .post_format_setting","price":".rules_setting, .conditional_logic_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .placeholder_setting, .size_setting, .duplicate_setting","product":".product_field_type_setting, .prepopulate_field_setting, .label_setting, .admin_label_setting, .label_placement_setting, .description_setting, .css_class_setting","quantity":".product_field_setting, .quantity_field_type_setting, .conditional_logic_field_setting, .prepopulate_field_setting, .label_setting, .admin_label_setting, .label_placement_setting, .default_value_setting, .placeholder_setting, .description_setting, .css_class_setting","radio":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .choices_setting, .rules_setting, .visibility_setting, .duplicate_setting, .description_setting, .css_class_setting, .other_choice_setting","section":".conditional_logic_field_setting, .label_setting, .description_setting, .visibility_setting, .css_class_setting","select":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .enable_enhanced_ui_setting, .label_setting, .label_placement_setting, .admin_label_setting, .size_setting, .choices_setting, .rules_setting, .placeholder_setting, .default_value_setting, .visibility_setting, .duplicate_setting, .description_setting, .css_class_setting","shipping":".shipping_field_type_setting, .conditional_logic_field_setting, .prepopulate_field_setting, .label_setting, .admin_label_setting, .label_placement_setting, .description_setting, .css_class_setting","singleproduct":".base_price_setting, .disable_quantity_setting, .conditional_logic_field_setting, .error_message_setting, .label_setting, .rules_setting, .duplicate_setting","singleshipping":".base_price_setting","text":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .size_setting, .input_mask_setting, .maxlen_setting, .password_field_setting, .rules_setting, .visibility_setting, .duplicate_setting, .default_value_setting, .placeholder_setting, .description_setting, .css_class_setting","textarea":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .maxlen_setting, .size_setting, .rules_setting, .visibility_setting, .duplicate_setting, .default_value_textarea_setting, .placeholder_textarea_setting, .description_setting, .css_class_setting","time":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .sub_labels_setting, .label_placement_setting, .sub_label_placement_setting, .admin_label_setting, .time_format_setting, .rules_setting, .visibility_setting, .duplicate_setting, .default_input_values_setting, .input_placeholders_setting, .description_setting, .css_class_setting","total":".conditional_logic_field_setting, .label_setting, .admin_label_setting, .label_placement_setting, .description_setting, .css_class_setting","website":".conditional_logic_field_setting, .prepopulate_field_setting, .error_message_setting, .label_setting, .label_placement_setting, .admin_label_setting, .size_setting, .rules_setting, .visibility_setting, .duplicate_setting, .default_value_setting, .placeholder_setting, .description_setting, .css_class_setting"};
  2919. function GetConditionalLogicFields(){return ["checkbox","email","hidden","multiselect","number","phone","post_content","post_custom_field","post_excerpt","post_tags","post_title","radio","select","text","textarea","website"];}
  2920. </script>
  2921. <script type="text/javascript">
  2922. var gforms_dragging = 0;
  2923. var gforms_original_json;
  2924.  
  2925. function DeleteCustomChoice() {
  2926. if (!confirm("Delete this custom choice list? 'OK' to delete, 'Cancel' to abort."))
  2927. return;
  2928.  
  2929. //Sending AJAX request
  2930. jQuery.post( ajaxurl, {action: "gf_delete_custom_choice", name: gform_selected_custom_choice, gf_delete_custom_choice: "a6e6b11dd2"});
  2931.  
  2932. //Updating UI
  2933. delete gform_custom_choices[gform_selected_custom_choice];
  2934. gform_selected_custom_choice = '';
  2935.  
  2936. CloseCustomChoicesPanel();
  2937. jQuery("#gfield_bulk_add_input").val('');
  2938. InitBulkCustomPanel();
  2939. LoadCustomChoices();
  2940. DisplayCustomMessage("Item has been deleted.");
  2941. }
  2942.  
  2943. function SaveCustomChoices() {
  2944.  
  2945. var name = jQuery('#custom_choice_name').val();
  2946. if (name.length == 0) {
  2947. alert("Please enter name.");
  2948. return;
  2949. }
  2950. else if (gform_custom_choices[name] && name != gform_selected_custom_choice) {
  2951. alert("This custom choice name is already in use. Please enter another name.");
  2952. return;
  2953. }
  2954.  
  2955. var choices = jQuery('#gfield_bulk_add_input').val().split('\n');
  2956.  
  2957. //Sending AJAX request
  2958. jQuery.post(ajaxurl, {action: "gf_save_custom_choice", previous_name: gform_selected_custom_choice, new_name: name, choices: jQuery.toJSON(choices), gf_save_custom_choice: "7e0b46ce6f"});
  2959.  
  2960. //deleting existing custom choice
  2961. if (gform_selected_custom_choice.length > 0)
  2962. delete gform_custom_choices[gform_selected_custom_choice];
  2963.  
  2964. //saving new custom choice
  2965. gform_custom_choices[name] = choices;
  2966.  
  2967. InitBulkCustomPanel();
  2968. LoadCustomChoices();
  2969.  
  2970. DisplayCustomMessage("Item has been saved.");
  2971. }
  2972.  
  2973. function InitializeFormConditionalLogic() {
  2974. var canHaveConditionalLogic = GetFirstRuleField() > 0;
  2975. if (canHaveConditionalLogic) {
  2976. jQuery("#form_button_conditional_logic").prop("disabled", false).prop("checked", form.button.conditionalLogic ? true : false);
  2977. ToggleConditionalLogic(true, "form_button");
  2978. }
  2979. else {
  2980. jQuery("#form_button_conditional_logic").prop("disabled", false).prop("checked", false);
  2981. jQuery("#form_button_conditional_logic_container").show().html("<span class='instruction' style='margin-left:0'>" + "To use conditional logic, please create a field that supports conditional logic." + "</span>");
  2982. }
  2983. }
  2984.  
  2985. function InitPaginationOptions(isInit) {
  2986. var speed = isInit ? "" : "slow";
  2987.  
  2988. var pages = GetFieldsByType(["page"]);
  2989. pages.push(new Array());
  2990. var str = "<ul class='gform_page_names'>";
  2991.  
  2992. var pageNameFields = jQuery(".gform_page_names input");
  2993. for (var i = 0; i < pages.length; i++) {
  2994. var pageName = form["pagination"] && form["pagination"]["pages"] && form["pagination"]["pages"][i] ? form["pagination"]["pages"][i].replace("'", "&#39") : "";
  2995. if (pageNameFields.length > i && pageNameFields[i].value)
  2996. pageName = pageNameFields[i].value;
  2997.  
  2998. str += "<li><label class='inline' for='gform_pagename_" + i + "' >" + "Page" + " " + (i + 1) + "</label> <input type='text' class='fieldwidth-4' id='gform_pagename_" + i + "' value='" + pageName + "' /></li>";
  2999. }
  3000. str += "</ul>";
  3001.  
  3002. jQuery("#page_names_container").html(str);
  3003.  
  3004. if (jQuery("#pagination_type_none").is(":checked")) {
  3005. jQuery(".gform_page_names input").val("");
  3006. jQuery("#percentage_confirmation_page_name").val("");
  3007. jQuery("#percentage_confirmation_display").prop("checked", false);
  3008.  
  3009. jQuery("#page_names_setting").hide(speed);
  3010. jQuery("#percentage_style_setting").hide(speed);
  3011. jQuery("#percentage_confirmation_display_setting").hide(speed);
  3012. }
  3013. else if (jQuery("#pagination_type_percentage").is(":checked")) {
  3014. var style = form["pagination"] && form["pagination"]["style"] ? form["pagination"]["style"] : "blue";
  3015. jQuery("#percentage_style").val(style);
  3016.  
  3017. if (style == "custom" && form["pagination"]["backgroundColor"]) {
  3018. jQuery("#percentage_style_custom_bgcolor").val(form["pagination"]["backgroundColor"]);
  3019. SetColorPickerColor("percentage_style_custom_bgcolor", form["pagination"]["backgroundColor"], "");
  3020. }
  3021. if (style == "custom" && form["pagination"]["color"]) {
  3022. jQuery("#percentage_style_custom_color").val(form["pagination"]["color"]);
  3023. SetColorPickerColor("percentage_style_custom_color", form["pagination"]["color"], "");
  3024. }
  3025.  
  3026. jQuery("#page_names_setting").show(speed);
  3027. jQuery("#percentage_style_setting").show(speed);
  3028. jQuery("#percentage_confirmation_display_setting").show(speed);
  3029. jQuery("#percentage_confirmation_page_name_setting").show(speed);
  3030.  
  3031. jQuery("#percentage_confirmation_display").prop("checked", form["pagination"] && form["pagination"]["display_progressbar_on_confirmation"] ? true : false);
  3032. //set default text to Completed when displaying progress bar on confirmation is NOT checked
  3033. var completion_text = form["pagination"] && form["pagination"]["display_progressbar_on_confirmation"] ? form["pagination"]["progressbar_completion_text"] : "Completed";
  3034. jQuery("#percentage_confirmation_page_name").val(completion_text);
  3035. }
  3036. else {
  3037. jQuery("#percentage_style_setting").hide(speed);
  3038. jQuery("#page_names_setting").show(speed);
  3039. jQuery("#percentage_confirmation_display_setting").hide(speed);
  3040. jQuery("#percentage_confirmation_page_name_setting").hide(speed);
  3041. jQuery("percentage_confirmation_page_name").val("");
  3042. jQuery("#percentage_confirmation_display").prop("checked", false);
  3043. }
  3044.  
  3045. TogglePercentageStyle(isInit);
  3046. TogglePercentageConfirmationText(isInit);
  3047. }
  3048.  
  3049. function ShowSettings(element_id) {
  3050. jQuery(".field_selected .field_edit_icon, .field_selected .form_edit_icon").removeClass("edit_icon_collapsed").addClass("edit_icon_expanded").html('<i class="fa fa-caret-up fa-lg"></i>');
  3051. jQuery("#" + element_id).slideDown();
  3052. }
  3053.  
  3054. function HideSettings(element_id) {
  3055. jQuery(".field_edit_icon, .form_edit_icon").removeClass("edit_icon_expanded").addClass("edit_icon_collapsed").html('<i class="fa fa-caret-down fa-lg"></i>');
  3056. jQuery("#" + element_id).hide();
  3057. }
  3058.  
  3059. function TogglePostCategoryInitialItem(isInit) {
  3060. var speed = isInit ? "" : "slow";
  3061.  
  3062. if (jQuery("#gfield_post_category_initial_item_enabled").is(":checked")) {
  3063. jQuery("#gfield_post_category_initial_item_container").show(speed);
  3064.  
  3065. if (!isInit) {
  3066. jQuery("#field_post_category_initial_item").val("Select a category");
  3067. }
  3068. }
  3069. else {
  3070. jQuery("#gfield_post_category_initial_item_container").hide(speed);
  3071. jQuery("#field_post_category_initial_item").val('');
  3072. }
  3073.  
  3074. }
  3075.  
  3076. function CreateInputNames(field) {
  3077. var field_str = "", id, value, inputs;
  3078.  
  3079. var inputType = GetInputType(field);
  3080. var legacy = jQuery.inArray(inputType, ['date', 'email', 'time', 'password'])>-1;
  3081. inputs = !legacy ? field['inputs'] : null;
  3082.  
  3083. if (!inputs || GetInputType(field) == "checkbox") {
  3084. field_str = "<label for='field_input_name' class='inline'>" + "Parameter Name:" + "&nbsp;</label>";
  3085. field_str += "<input type='text' value='" + field["inputName"] + "' id='field_input_name' />";
  3086. }
  3087. else {
  3088. var priceId = field['id'] + 0.2;
  3089. field_str = "<table><tr><td><strong>Field</strong></td><td><strong>" + "Parameter Name" + "</strong></td></tr>";
  3090. for (var i = 0; i < field["inputs"].length; i++) {
  3091. id = field["inputs"][i]["id"];
  3092.  
  3093. if (inputType == 'calculation' && id == priceId) {
  3094. continue;
  3095. }
  3096.  
  3097. field_str += "<tr class='field_input_name_row' data-input_id='" + id + "' ><td><label for='field_input_" + id + "' class='inline'>" + field["inputs"][i]["label"] + "</label></td>";
  3098. value = typeof field["inputs"][i]["name"] != 'undefined' ? field["inputs"][i]["name"] : '';
  3099. field_str += "<td><input class='field_input_name' type='text' value='" + value + "' id='field_input_" + id + "' /></td></tr>";
  3100. }
  3101. }
  3102.  
  3103. jQuery("#field_input_name_container").html(field_str);
  3104. }
  3105.  
  3106. function CreateDefaultValuesUI(field) {
  3107. var field_str, defaultValue, inputName, inputId, id, inputs;
  3108.  
  3109. if (!field['inputs']) {
  3110. field_str = "<label for='field_single_default_value' class='inline'>" + "Default Value:" + "&nbsp;</label>";
  3111. defaultValue = typeof field["defaultValue"] != 'undefined' ? field["defaultValue"] : '';
  3112. field_str += "<input type='text' value='" + defaultValue + "' id='field_single_default_value'/>";
  3113. } else {
  3114. field_str = "<table class='default_input_values'><tr><td><strong>Field</strong></td><td><strong>" + "Default Value" + "</strong></td></tr>";
  3115. for (var i = 0; i < field["inputs"].length; i++) {
  3116. id = field["inputs"][i]["id"];
  3117. inputName = 'input_' + id.toString();
  3118. inputId = inputName.replace('.', '_');
  3119. if (!document.getElementById(inputId) && jQuery('[name="' + inputName + '"]').length == 0) {
  3120. continue;
  3121. }
  3122. field_str += "<tr class='default_input_value_row' data-input_id='" + id + "' id='input_default_value_row_" + inputId + "'><td><label for='field_default_value_" + id + "' class='inline'>" + field["inputs"][i]["label"] + "</label></td>";
  3123. defaultValue = typeof field["inputs"][i]["defaultValue"] != 'undefined' ? field["inputs"][i]["defaultValue"] : '';
  3124. field_str += "<td><input class='default_input_value' type='text' value='" + defaultValue + "' id='field_default_value_" + id + "' /></td></tr>";
  3125. }
  3126. }
  3127. jQuery("#field_default_input_values_container").html(field_str);
  3128. }
  3129.  
  3130. function CreatePlaceholdersUI(field) {
  3131. var field_str, placeholder, inputName, inputId, id;
  3132.  
  3133. if (!field["inputs"]) {
  3134. field_str = "<label for='field_single_placeholder' class='inline'>" + "Placeholder:" + "&nbsp;</label>";
  3135. placeholder = typeof field["placeholder"] != 'undefined' ? field["placeholder"] : '';
  3136. field_str += "<input type='text' value='" + placeholder + "' id='field_single_placeholder' />";
  3137. } else {
  3138. field_str = "<table class='input_placeholders'><tr><td><strong>Field</strong></td><td><strong>" + "Placeholder" + "</strong></td></tr>";
  3139. for (var i = 0; i < field["inputs"].length; i++) {
  3140. id = field["inputs"][i]["id"];
  3141. inputName = 'input_' + id.toString();
  3142. inputId = inputName.replace('.', '_');
  3143. if (!document.getElementById(inputId) && jQuery('[name="' + inputName + '"]').length == 0) {
  3144. continue;
  3145. }
  3146. field_str += "<tr class='input_placeholder_row' data-input_id='" + id + "' id='input_placeholder_row_" + inputId + "'><td><label for='field_placeholder_" + id + "' class='inline'>" + field["inputs"][i]["label"] + "</label></td>";
  3147. placeholder = typeof field["inputs"][i]["placeholder"] != 'undefined' ? field["inputs"][i]["placeholder"] : '';
  3148. placeholder = placeholder.replace(/'/g, "&#039;");
  3149. field_str += "<td><input class='input_placeholder' type='text' value='" + placeholder + "' id='field_placeholder_" + id + "' /></td></tr>";
  3150. }
  3151. }
  3152.  
  3153. jQuery("#field_input_placeholders_container").html(field_str);
  3154. }
  3155.  
  3156. function GetCustomizeInputsUI(field, showInputSwitches) {
  3157. if (typeof showInputSwitches == 'undefined') {
  3158. showInputSwitches = true;
  3159. }
  3160. var imagesUrl = 'http://creativeguidance.com/wp-content/plugins/gravityforms/images/';
  3161. var html, customLabel, isHidden, title, img, input, inputId, id, inputName, defaultLabel, placeholder;
  3162.  
  3163. if (!field['inputs']) {
  3164. html = "<label for='field_single_input' class='inline'>" + "Sub-Label:" + "&nbsp;</label>";
  3165. customLabel = typeof field["customInputLabel"] != 'undefined' ? field["customInputLabel"] : '';
  3166. html += "<input type='text' value='" + customLabel + "' id='field_single_custom_label' />";
  3167. } else {
  3168. html = "<table class='field_custom_inputs_ui'><tr>";
  3169. if (showInputSwitches) {
  3170. html += "<td></td>";
  3171. }
  3172. html += "<td><strong>Field</strong></td><td><strong>" + "Custom Sub-Label" + "</strong></td></tr>";
  3173. for (var i = 0; i < field["inputs"].length; i++) {
  3174. input = field["inputs"][i];
  3175. id = input.id;
  3176. inputName = 'input_' + id.toString();
  3177. inputId = inputName.replace('.', '_');
  3178. if (jQuery('label[for="' + inputId + '"]').length == 0) {
  3179. continue;
  3180. }
  3181. isHidden = typeof input.isHidden != 'undefined' && input.isHidden ? true : false;
  3182. title = isHidden ? "Inactive" : "Active";
  3183. img = isHidden ? 'active0.png' : 'active1.png';
  3184. html += "<tr data-input_id='" + id + "' class='field_custom_input_row field_custom_input_row_" + inputId + "'>";
  3185. if (showInputSwitches) {
  3186. html += "<td><img data-input_id='" + input.id + "' title='" + title + "' alt='" + title + "' class='input_active_icon' src='" + imagesUrl + img + "'/></td>";
  3187. }
  3188. if (isHidden) {
  3189. jQuery("#input_" + inputId + "_container").toggle(!isHidden);
  3190. }
  3191. defaultLabel = typeof input.defaultLabel != 'undefined' ? input.defaultLabel : input.label;
  3192. defaultLabel = defaultLabel.replace(/'/g, "&#039;");
  3193. html += "<td><label id='field_custom_input_default_label_" + inputId + "' for='field_custom_input_label_" + input.id + "' class='inline'>" + defaultLabel + "</label></td>";
  3194. customLabel = typeof input.customLabel != 'undefined' ? input.customLabel : '';
  3195. customLabel = customLabel.replace(/'/g, "&#039;");
  3196. html += "<td><input class='field_custom_input_default_label' type='text' placeholder='" + defaultLabel + "' value='" + customLabel + "' id='field_custom_input_label_" + input.id + "' /></td></tr>";
  3197. }
  3198. }
  3199.  
  3200. return html;
  3201. }
  3202.  
  3203. function CreateCustomizeInputsUI(field) {
  3204. var field_str = GetCustomizeInputsUI(field);
  3205. jQuery("#field_customize_inputs_container").html(field_str);
  3206. }
  3207.  
  3208. function CreateInputLabelsUI(field) {
  3209. var field_str = GetCustomizeInputsUI(field, false);
  3210. jQuery("#field_sub_labels_container").html(field_str);
  3211. }
  3212.  
  3213. function SetCopyValuesOptionProperties(isEnabled) {
  3214. var defaultLabel = "Same as previous";
  3215. SetFieldProperty('enableCopyValuesOption', isEnabled == true ? 1 : 0);
  3216. SetFieldProperty('copyValuesOptionDefault', 0);
  3217. SetFieldProperty('copyValuesOptionLabel', defaultLabel);
  3218. var sourceFieldId = jQuery('#field_copy_values_option_field').val();
  3219. SetFieldProperty('copyValuesOptionField', sourceFieldId);
  3220. }
  3221.  
  3222. function ToggleCopyValuesOption(isInit) {
  3223. var speed = isInit ? "" : "slow";
  3224.  
  3225. if (jQuery('#field_enable_copy_values_option').prop('checked')) {
  3226. jQuery('#field_copy_values_container').show(speed);
  3227. var field = GetSelectedField();
  3228. jQuery('#field_copy_values_option_label').val(field.copyValuesOptionLabel);
  3229. jQuery('.field_selected .copy_values_option_label').html(field.copyValuesOptionLabel);
  3230. jQuery('.field_selected .copy_values_option_container').show();
  3231. } else {
  3232. jQuery('#field_copy_values_container').hide(speed);
  3233. jQuery('#field_copy_values_option_default').prop('checked', false);
  3234. jQuery('.field_selected .copy_values_option_container').hide();
  3235. }
  3236. }
  3237.  
  3238. function ToggleInputHidden(img, inputId) {
  3239. var isHidden = img.src.indexOf("active0.png") >= 0;
  3240. if (isHidden) {
  3241. img.src = img.src.replace("active0.png", "active1.png");
  3242. jQuery(img).attr('title', "Active").attr('alt', "Active");
  3243. }
  3244. else {
  3245. img.src = img.src.replace("active1.png", "active0.png");
  3246. jQuery(img).attr('title', "Inactive").attr('alt', "Inactive");
  3247. }
  3248. SetInputHidden(!isHidden, inputId);
  3249.  
  3250. return true;
  3251. }
  3252.  
  3253.  
  3254. function SetProductField(field) {
  3255. var product_field_container = jQuery(".product_field_setting");
  3256.  
  3257. //ignore product field if it is not configured for the current field
  3258. if (!product_field_container.is(":visible"))
  3259. return;
  3260.  
  3261. var productFields = new Array();
  3262. for (var i = 0; i < form["fields"].length; i++) {
  3263. if (form["fields"][i]["type"] == "product")
  3264. productFields.push(form["fields"][i]);
  3265. }
  3266.  
  3267. jQuery("#gform_no_product_field_message").remove();
  3268. if (productFields.length < 1) {
  3269. jQuery("#product_field").hide().after("<div id='gform_no_product_field_message'>" + "This field is not associated with a product. Please add a Product Field to the form." + "</div>");
  3270. }
  3271. else {
  3272. var product_field = jQuery("#product_field");
  3273. product_field.show();
  3274. product_field.html("");
  3275. var is_selected = false;
  3276. for (var i = 0; i < productFields.length; i++) {
  3277. selected = "";
  3278. if (productFields[i]["id"] == field["productField"]) {
  3279. selected = "selected='selected'";
  3280. is_selected = true;
  3281. }
  3282. product_field.append("<option value='" + productFields[i]["id"] + "' " + selected + ">" + productFields[i]["label"] + "</option>");
  3283. }
  3284.  
  3285. //Adds existing product field if it is not found in the list (to prevent confusion)
  3286. if (!is_selected && field["productField"] != "") {
  3287. product_field.append("<option value='" + field["productField"] + "' selected='selected'>[" + "Deleted Field" + "]</option>");
  3288. }
  3289.  
  3290. }
  3291. }
  3292.  
  3293. function LoadFieldConditionalLogic(isEnabled, objectType) {
  3294. var obj = GetConditionalObject(objectType);
  3295. if (isEnabled) {
  3296. jQuery("#" + objectType + "_conditional_logic").prop("checked", obj.conditionalLogic ? true : false);
  3297. jQuery("#" + objectType + "_conditional_logic").prop("disabled", false);
  3298. ToggleConditionalLogic(true, objectType);
  3299.  
  3300.  
  3301. }
  3302. else {
  3303. jQuery("#" + objectType + "_conditional_logic").prop("disabled", true).prop("checked", false);
  3304. jQuery("#" + objectType + "_conditional_logic_container").show().html("<span class='instruction' style='margin-left:0'>" + "To use conditional logic, please create a field that supports conditional logic." + "</span>");
  3305. }
  3306. }
  3307.  
  3308. function GetCurrentCurrency() {
  3309. var currency = new Currency({"name":"U.S. Dollar","symbol_left":"$","symbol_right":"","symbol_padding":"","thousand_separator":",","decimal_separator":".","decimals":2});
  3310. return currency;
  3311. }
  3312.  
  3313. function ToggleColumns(isInit) {
  3314. var speed = isInit ? "" : "slow";
  3315. var field = GetSelectedField();
  3316.  
  3317. if (jQuery('#field_columns_enabled').is(":checked")) {
  3318. jQuery('#gfield_settings_columns_container').show(speed);
  3319.  
  3320. if (!field.choices)
  3321. field.choices = new Array(new Choice("Column 1"), new Choice("Column 2"), new Choice("Column 3"));
  3322.  
  3323. LoadFieldChoices(field, true);
  3324. }
  3325. else {
  3326. field.choices = null;
  3327. jQuery('#gfield_settings_columns_container').hide(speed);
  3328. }
  3329.  
  3330. UpdateFieldChoices(GetInputType(field));
  3331.  
  3332. }
  3333.  
  3334. function DuplicateTitleMessage() {
  3335. jQuery("#please_wait_container").hide();
  3336. alert("The form title you have entered is already taken. Please enter a unique form title");
  3337. }
  3338.  
  3339. function ValidateForm() {
  3340. var error = "";
  3341. if (jQuery.trim(form.title).length == 0) {
  3342. error = "Please enter a Title for this form. When adding the form to a page or post, you will have the option to hide the title.";
  3343. }
  3344. else {
  3345. var last_page_break = -1;
  3346. var has_option = false;
  3347. var has_product = false;
  3348. for (var i = 0; i < form["fields"].length; i++) {
  3349. var field = form["fields"][i];
  3350. switch (field["type"]) {
  3351. case "page" :
  3352. if (i == last_page_break + 1 || i == form["fields"].length - 1)
  3353. error = "Your form currently has one ore more pages without any fields in it. Blank pages are a result of Page Breaks that are positioned as the first or last field in the form or right after to each other. Please adjust your Page Breaks and try again.";
  3354.  
  3355. last_page_break = i;
  3356. break;
  3357.  
  3358. case "product" :
  3359. has_product = true;
  3360. if (jQuery.trim(field["label"]).length == 0)
  3361. error = "Your form currently has a product field with a blank label.\nPlease enter a label for all product fields.";
  3362. break;
  3363.  
  3364. case "option" :
  3365. has_option = true;
  3366. break;
  3367. }
  3368. }
  3369. if (has_option && !has_product) {
  3370. error = "Your form currently has an option field without a product field.\nYou must add a product field to your form.";
  3371. }
  3372. }
  3373. if (error) {
  3374. jQuery("#please_wait_container").hide();
  3375. alert(error);
  3376. return false;
  3377. }
  3378. return true;
  3379. }
  3380.  
  3381. function SaveForm(isNew) {
  3382.  
  3383. UpdateFormObject();
  3384.  
  3385. if (!ValidateForm()) {
  3386. return false;
  3387. }
  3388.  
  3389. // remove data that is no longer stored in the form object (as of 1.7)
  3390. delete form.notification;
  3391. delete form.autoResponder;
  3392. delete form.notifications;
  3393. delete form.confirmation;
  3394. delete form.confirmations;
  3395.  
  3396. //updating original json. used when verifying if there has been any changes unsaved changed before leaving the page
  3397. var form_json = jQuery.toJSON(form);
  3398. gforms_original_json = form_json;
  3399.  
  3400. if (!isNew) {
  3401. jQuery("#gform_meta").val(form_json);
  3402. jQuery("#gform_update").submit();
  3403. }
  3404. else {
  3405. jQuery("#please_wait_container").show();
  3406. var mysack = new sack("http://creativeguidance.com/wp-admin/admin-ajax.php");
  3407. mysack.execute = 1;
  3408. mysack.method = 'POST';
  3409. mysack.setVar("action", "rg_save_form");
  3410. mysack.setVar("rg_save_form", "d048c856c8");
  3411. mysack.setVar("id", form.id);
  3412. mysack.setVar("form", form_json);
  3413. mysack.onError = function () {
  3414. alert("Ajax error while saving form")
  3415. };
  3416. mysack.runAJAX();
  3417. }
  3418.  
  3419. return true;
  3420. }
  3421.  
  3422. function DeleteField(fieldId) {
  3423.  
  3424. if (form.id == 0 || confirm("Warning! Deleting this field will also delete all entry data associated with it. 'Cancel' to stop. 'OK' to delete")) {
  3425.  
  3426. jQuery('#gform_fields li#field_' + fieldId).addClass('gform_pending_delete');
  3427. var mysack = new sack("http://creativeguidance.com/wp-admin/admin-ajax.php");
  3428. mysack.execute = 1;
  3429. mysack.method = 'POST';
  3430. mysack.setVar("action", "rg_delete_field");
  3431. mysack.setVar("rg_delete_field", "74933820f2");
  3432. mysack.setVar("form_id", form.id);
  3433. mysack.setVar("field_id", fieldId);
  3434. mysack.onError = function () {
  3435. alert("Ajax error while deleting field.")
  3436. };
  3437. mysack.runAJAX();
  3438.  
  3439. return true;
  3440. }
  3441. }
  3442.  
  3443. function SetDefaultValues( field, index ) {
  3444.  
  3445. var inputType = GetInputType(field);
  3446. switch (inputType) {
  3447.  
  3448. case "post_category" :
  3449. field.label = "Post Category";
  3450. field.inputs = null;
  3451. field.choices = new Array();
  3452. field.displayAllCategories = true;
  3453. field.inputType = 'select';
  3454. break;
  3455.  
  3456. case "section" :
  3457. field.label = "Section Break";
  3458. field.inputs = null;
  3459. field["displayOnly"] = true;
  3460. break;
  3461.  
  3462. case "page" :
  3463. field.label = "";
  3464. field.inputs = null;
  3465. field["displayOnly"] = true;
  3466. field["nextButton"] = new Button();
  3467. field["nextButton"]["text"] = "Next";
  3468. field["previousButton"] = new Button();
  3469. field["previousButton"]["text"] = "Previous";
  3470. break;
  3471.  
  3472. case "html" :
  3473. field.label = "HTML Block";
  3474. field.inputs = null;
  3475. field["displayOnly"] = true;
  3476. break;
  3477.  
  3478. case "list" :
  3479. if (!field.label)
  3480. field.label = "List";
  3481.  
  3482. field.inputs = null;
  3483.  
  3484. break;
  3485.  
  3486. case "name" :
  3487. if (!field.label){
  3488. field.label = "Name";
  3489. }
  3490.  
  3491. field.id = parseFloat(field.id);
  3492. field.nameFormat = "advanced";
  3493. field.inputs = GetAdvancedNameFieldInputs(field, true, true, true);
  3494.  
  3495. break;
  3496.  
  3497. case "checkbox" :
  3498. if (!field.label)
  3499. field.label = "Untitled";
  3500.  
  3501. if (!field.choices)
  3502. field.choices = new Array(new Choice("First Choice"), new Choice("Second Choice"), new Choice("Third Choice"));
  3503.  
  3504. field.inputs = new Array();
  3505. for (var i = 1; i <= field.choices.length; i++) {
  3506. field.inputs.push(new Input(field.id + (i / 10), field.choices[i - 1].text));
  3507. }
  3508.  
  3509. break;
  3510. case "radio" :
  3511. if (!field.label)
  3512. field.label = "Untitled";
  3513.  
  3514. field.inputs = null;
  3515. if (!field.choices) {
  3516. field.choices = field["enablePrice"] ? new Array(new Choice("First Choice", "", "0.00"), new Choice("Second Choice", "", "0.00"), new Choice("Third Choice", "", "0.00"))
  3517. : new Array(new Choice("First Choice"), new Choice("Second Choice"), new Choice("Third Choice"));
  3518. }
  3519. break;
  3520.  
  3521. case "multiselect" :
  3522. case "select" :
  3523. if (!field.label)
  3524. field.label = "Untitled";
  3525.  
  3526. field.inputs = null;
  3527. if (!field.choices) {
  3528. field.choices = field["enablePrice"] ? new Array(new Choice("First Choice", "", "0.00"), new Choice("Second Choice", "", "0.00"), new Choice("Third Choice", "", "0.00"))
  3529. : new Array(new Choice("First Choice"), new Choice("Second Choice"), new Choice("Third Choice"));
  3530. }
  3531. break;
  3532. case "address" :
  3533.  
  3534. if (!field.label)
  3535. field.label = "Address";
  3536. field.inputs = [new Input(field.id + 0.1, "Street Address"), new Input(field.id + 0.2, "Address Line 2"), new Input(field.id + 0.3, "City"),
  3537. new Input(field.id + 0.4, "State \/ Province"), new Input(field.id + 0.5, "ZIP \/ Postal Code"), new Input(field.id + 0.6, "Country")];
  3538. break;
  3539. case "creditcard" :
  3540.  
  3541. if (!field.label)
  3542. field.label = "Credit Card";
  3543. var ccNumber, ccExpirationMonth, ccExpirationYear, ccSecruityCode, ccCardType, ccName;
  3544.  
  3545. ccNumber = new Input(field.id + ".1", "Card Number");
  3546. ccExpirationMonth = new Input(field.id + ".2_month", "Expiration Month");
  3547. ccExpirationMonth.defaultLabel = "Expiration Date";
  3548. ccExpirationYear = new Input(field.id + ".2_year", "Expiration Year");
  3549. ccSecruityCode = new Input(field.id + ".3", "Security Code");
  3550. ccCardType = new Input(field.id + ".4", "Card Type");
  3551. ccName = new Input(field.id + ".5", "Cardholder Name");
  3552. field.inputs = [ccNumber, ccExpirationMonth, ccExpirationYear, ccSecruityCode, ccCardType, ccName];
  3553. break;
  3554. case "email" :
  3555. field.inputs = GetEmailFieldInputs(field);
  3556.  
  3557. if (!field.label)
  3558. field.label = "Email";
  3559.  
  3560. break;
  3561. case "number" :
  3562. field.inputs = null;
  3563.  
  3564. if (!field.label)
  3565. field.label = "Number";
  3566.  
  3567. if (!field.numberFormat)
  3568. field.numberFormat = "decimal_dot";
  3569.  
  3570. break;
  3571. case "phone" :
  3572. field.inputs = null;
  3573. if (!field.label)
  3574. field.label = "Phone";
  3575. field.phoneFormat = "standard";
  3576. break;
  3577. case "date" :
  3578. field.inputs = GetDateFieldInputs(field);
  3579. if (!field.label)
  3580. field.label = "Date";
  3581. break;
  3582. case "time" :
  3583. field.inputs = GetTimeFieldInputs(field);
  3584. if (!field.label)
  3585. field.label = "Time";
  3586. break;
  3587. case "website" :
  3588. field.inputs = null;
  3589. if (!field.label)
  3590. field.label = "Website";
  3591. if (!field.placeholder)
  3592. field.placeholder = 'http://';
  3593. break;
  3594. case "password" :
  3595. field.inputs = GetPasswordFieldInputs(field);
  3596. field["displayOnly"] = true;
  3597. if (!field.label)
  3598. field.label = "Password";
  3599. break;
  3600. case "fileupload" :
  3601. field.inputs = null;
  3602. if (!field.label)
  3603. field.label = "File";
  3604. break;
  3605. case "hidden" :
  3606. field.inputs = null;
  3607. if (!field.label)
  3608. field.label = "Hidden Field";
  3609. break;
  3610. case "post_title" :
  3611. field.inputs = null;
  3612. field.label = "Post Title";
  3613. break;
  3614. case "post_content" :
  3615. field.inputs = null;
  3616. field.label = "Post Body";
  3617. break;
  3618. case "post_excerpt" :
  3619. field.inputs = null;
  3620. field.label = "Post Excerpt";
  3621. field.size = "small";
  3622. break;
  3623. case "post_tags" :
  3624. field.inputs = null;
  3625. field.label = "Post Tags";
  3626. field.size = "large";
  3627. break;
  3628. case "post_custom_field" :
  3629. field.inputs = null;
  3630. if (!field.inputType)
  3631. field.inputType = "text";
  3632. field.label = "Post Custom Field";
  3633. break;
  3634. case "post_image" :
  3635. field.label = "Post Image";
  3636. field.inputs = null;
  3637. field["allowedExtensions"] = "jpg, jpeg, png, gif";
  3638. break;
  3639. case "captcha" :
  3640. field.inputs = null;
  3641. field["displayOnly"] = true;
  3642.  
  3643. field.label = "Captcha";
  3644.  
  3645. break;
  3646. case "calculation" :
  3647. field.enableCalculation = true;
  3648. case "singleproduct" :
  3649. case "product" :
  3650. case "hiddenproduct" :
  3651. field.label = "Product Name";
  3652. field.inputs = null;
  3653.  
  3654. if (!field.inputType)
  3655. field.inputType = "singleproduct";
  3656.  
  3657. if (field.inputType == "singleproduct" || field.inputType == "hiddenproduct" || field.inputType == "calculation") {
  3658. //convert field id to a number so it isn't treated as a string
  3659. //caused concatenation below instead of addition
  3660. field_id = parseFloat(field.id);
  3661. field.inputs = [new Input(field_id + 0.1, "Name"), new Input(field_id + 0.2, "Price"), new Input(field_id + 0.3, "Quantity")];
  3662. field.enablePrice = null;
  3663. }
  3664.  
  3665. productDependentFields = GetFieldsByType(["option", "quantity"]);
  3666. for (var i = 0; i < productDependentFields.length; i++) {
  3667. if (!productDependentFields[i]["productField"])
  3668. productDependentFields[i]["productField"] = field.id;
  3669. }
  3670. break;
  3671. case "singleshipping" :
  3672. case "shipping" :
  3673. field.label = "Shipping";
  3674. field.inputs = null;
  3675.  
  3676. if (!field.inputType)
  3677. field.inputType = "singleshipping";
  3678.  
  3679. if (field.inputType == "singleshipping")
  3680. field.enablePrice = null;
  3681.  
  3682. break;
  3683. case "total" :
  3684. field.label = "Total";
  3685. field.inputs = null;
  3686.  
  3687. break;
  3688.  
  3689. case "option" :
  3690. field.label = "Option";
  3691.  
  3692. if (!field.inputType)
  3693. field.inputType = "select";
  3694.  
  3695. if (!field.choices) {
  3696. field.choices = new Array(new Choice("First Option", "", "0.00"), new Choice("Second Option", "", "0.00"), new Choice("Third Option", "", "0.00"));
  3697. }
  3698. field["enablePrice"] = true;
  3699.  
  3700. productFields = GetFieldsByType(["product"]);
  3701. if (productFields.length > 0)
  3702. field["productField"] = productFields[0]["id"];
  3703.  
  3704. break;
  3705. case "donation" :
  3706.  
  3707. field.label = "Donation";
  3708.  
  3709. if (!field.inputType)
  3710. field.inputType = "donation";
  3711.  
  3712.  
  3713. field.inputs = null;
  3714. field.enablePrice = null;
  3715.  
  3716. break;
  3717.  
  3718. case "price" :
  3719.  
  3720. field.label = "Price";
  3721.  
  3722. if (!field.inputType)
  3723. field.inputType = "price";
  3724.  
  3725. field.inputs = null;
  3726. field["enablePrice"] = null;
  3727.  
  3728. break;
  3729.  
  3730. case "quantity" :
  3731. field.label = "Quantity";
  3732.  
  3733. if (!field.inputType)
  3734. field.inputType = "number";
  3735.  
  3736. productFields = GetFieldsByType(["product"]);
  3737. if (productFields.length > 0)
  3738. field["productField"] = productFields[0]["id"];
  3739.  
  3740. if (!field.numberFormat)
  3741. field.numberFormat = "decimal_dot";
  3742.  
  3743. break;
  3744.  
  3745.  
  3746. default :
  3747. field.inputs = null;
  3748. if (!field.label)
  3749. field.label = "Untitled";
  3750. break;
  3751. break;
  3752. }
  3753.  
  3754. if (window["SetDefaultValues_" + inputType])
  3755. field = window["SetDefaultValues_" + inputType](field);
  3756. }
  3757.  
  3758. function GetAdvancedNameFieldInputs(field, prefixHidden, middleHidden, suffixHidden) {
  3759. var prefixInput = new Input(field.id + '.2', "Prefix");
  3760. prefixInput.choices = GetDefaultPrefixChoices();
  3761. prefixInput.isHidden = prefixHidden;
  3762.  
  3763. var firstInput = new Input(field.id + '.3', "First");
  3764.  
  3765. /**
  3766. * Allows for modification for the middle name input for the Name Field in a form
  3767. *
  3768. * @param int The ID for the field
  3769. * @oaram string The Label for the input
  3770. */
  3771. var middleInput = new Input(field.id + '.4', "Middle");
  3772. middleInput.isHidden = middleHidden;
  3773.  
  3774. var lastInput = new Input(field.id + '.6', "Last");
  3775. var suffixInput = new Input(field.id + '.8', "Suffix");
  3776. suffixInput.isHidden = suffixHidden;
  3777. prefixInput.inputType = 'radio';
  3778.  
  3779. return [prefixInput, firstInput, middleInput, lastInput, suffixInput];
  3780. }
  3781.  
  3782. function GetDateFieldInputs(field) {
  3783. if (typeof field.dateType == 'undefined' || field.dateType == 'datepicker' || field.dateType == '') {
  3784. return null;
  3785. }
  3786.  
  3787. var inputs, day, month, year;
  3788.  
  3789. switch (field.dateType) {
  3790. case 'datefield' :
  3791. month = new Input(field.id + '.1', "MM");
  3792. day = new Input(field.id + '.2', "DD");
  3793. year = new Input(field.id + '.3', "YYYY");
  3794. break;
  3795. case 'datedropdown' :
  3796. month = new Input(field.id + '.1', "Month");
  3797. month.placeholder = "Month";
  3798. day = new Input(field.id + '.2', "Day");
  3799. day.placeholder = "Day";
  3800. year = new Input(field.id + '.3', "Year");
  3801. year.placeholder = "Year";
  3802. break;
  3803. default:
  3804. }
  3805.  
  3806. inputs = [month, day, year];
  3807.  
  3808. return inputs;
  3809. }
  3810.  
  3811. function GetTimeFieldInputs(field) {
  3812. var min, hour, ampm;
  3813.  
  3814. hour = new Input(field.id + '.1', "HH");
  3815. min = new Input(field.id + '.2', "MM");
  3816. ampm = new Input(field.id + '.3', "AM\/PM");
  3817.  
  3818. return [hour, min, ampm];
  3819. }
  3820.  
  3821. function GetEmailFieldInputs(field) {
  3822.  
  3823. if (typeof field.emailConfirmEnabled == 'undefined' || field.emailConfirmEnabled == false) {
  3824. return null;
  3825. }
  3826.  
  3827. var email, confirmation;
  3828.  
  3829. email = new Input(field.id, "Enter Email");
  3830. confirmation = new Input(field.id + '.2', "Confirm Email");
  3831.  
  3832. return [email, confirmation];
  3833. }
  3834.  
  3835. function GetPasswordFieldInputs(field) {
  3836.  
  3837. var password, confirmation;
  3838.  
  3839. password = new Input(field.id, "Enter Password");
  3840. confirmation = new Input(field.id + '.2', "Confirm Password");
  3841.  
  3842. return [password, confirmation];
  3843. }
  3844.  
  3845.  
  3846. function UpgradeCreditCardField(field) {
  3847. var legacyExpirationInput = GetInput(field, field.id + ".2");
  3848.  
  3849. if (legacyExpirationInput) {
  3850. var monthInput = new Input(field.id + ".2_month", "Expiration Month");
  3851. monthInput.defaultLabel = "Expiration Date";
  3852. var yearInput = new Input(field.id + ".2_year", "Expiration Year");
  3853. field.inputs.splice(1, 1, monthInput, yearInput);
  3854. var nameInput = GetInput(field, field.id + ".5");
  3855. nameInput.label = "Cardholder Name";
  3856. }
  3857.  
  3858. return field;
  3859. }
  3860.  
  3861. function GetDefaultPrefixChoices() {
  3862. return new Array(new Choice("Mr."), new Choice("Mrs."), new Choice("Miss"), new Choice("Ms."), new Choice("Dr."), new Choice("Prof."), new Choice("Rev."));
  3863. }
  3864.  
  3865. function CreateField( id, type, index ) {
  3866. var field = new Field(id, type);
  3867. SetDefaultValues( field, index );
  3868.  
  3869. if (field.type == "captcha") {
  3870. }
  3871. return field;
  3872. }
  3873.  
  3874. function CanFieldBeAdded(type) {
  3875. switch (type) {
  3876. case "captcha" :
  3877. if (GetFieldsByType(["captcha"]).length > 0) {
  3878. alert("Only one reCAPTCHA field can be added to the form");
  3879. return false;
  3880. }
  3881. break;
  3882.  
  3883. case "shipping" :
  3884. if (GetFieldsByType(["shipping"]).length > 0) {
  3885. alert("Only one Shipping field can be added to the form");
  3886. return false;
  3887. }
  3888. break;
  3889.  
  3890. case "post_content" :
  3891. if (GetFieldsByType(["post_content"]).length > 0) {
  3892. alert("Only one Post Content field can be added to the form");
  3893. return false;
  3894. }
  3895. break;
  3896. case "post_title" :
  3897. if (GetFieldsByType(["post_title"]).length > 0) {
  3898. alert("Only one Post Title field can be added to the form");
  3899. return false;
  3900. }
  3901. break;
  3902. case "post_excerpt" :
  3903. if (GetFieldsByType(["post_excerpt"]).length > 0) {
  3904. alert("Only one Post Excerpt field can be added to the form");
  3905. return false;
  3906. }
  3907. break;
  3908. case "creditcard" :
  3909. if (GetFieldsByType(["creditcard"]).length > 0) {
  3910. alert("Only one credit card field can be added to the form");
  3911. return false;
  3912. }
  3913. break;
  3914. case "quantity" :
  3915. case "option" :
  3916. if (GetFieldsByType(["product"]).length <= 0) {
  3917. alert("You must add a product field to the form first");
  3918. return false;
  3919. }
  3920. break;
  3921. default :
  3922. return gform.applyFilters('gform_form_editor_can_field_be_added', true, type);
  3923. }
  3924.  
  3925. return true;
  3926. }
  3927.  
  3928. function StartAddField(type, index) {
  3929.  
  3930. if (!CanFieldBeAdded(type)) {
  3931. jQuery('#gform_adding_field_spinner').remove();
  3932. return;
  3933. }
  3934.  
  3935. if (gf_vars["currentlyAddingField"] == true)
  3936. return;
  3937.  
  3938. gf_vars["currentlyAddingField"] = true;
  3939.  
  3940. var nextId = GetNextFieldId();
  3941. var field = CreateField( nextId, type, index );
  3942.  
  3943. var mysack = new sack("http://creativeguidance.com/wp-admin/admin-ajax.php?id=" + form.id);
  3944. mysack.execute = 1;
  3945. mysack.method = 'POST';
  3946. mysack.setVar("action", "rg_add_field");
  3947. mysack.setVar("rg_add_field", "d2d9fcaf86");
  3948. mysack.setVar("index", index);
  3949. mysack.setVar("field", jQuery.toJSON(field));
  3950. mysack.onError = function () {
  3951. alert("Ajax error while adding field")
  3952. };
  3953. mysack.runAJAX();
  3954.  
  3955. return true;
  3956. }
  3957.  
  3958. function DuplicateField(field, sourceFieldId) {
  3959.  
  3960. jQuery.post(ajaxurl + "?id=" + form.id, {
  3961. action : "rg_duplicate_field",
  3962. rg_duplicate_field: "8dbf425169",
  3963. field : jQuery.toJSON(field),
  3964. source_field_id : sourceFieldId},
  3965. function (data) {
  3966. data = jQuery.evalJSON(data);
  3967. EndDuplicateField(data["field"], data["fieldString"], data["sourceFieldId"]);
  3968. }
  3969. );
  3970.  
  3971. return true;
  3972. }
  3973.  
  3974. function RefreshSelectedFieldPreview(callback) {
  3975. if (!field)
  3976. field = GetSelectedField();
  3977. var fieldId = field.id,
  3978. data = {'action': 'rg_refresh_field_preview', 'rg_refresh_field_preview': '70e9dc7b0e', 'field': jQuery.toJSON(field), 'formId': form.id};
  3979.  
  3980. jQuery.post(ajaxurl, data,
  3981. function (data) {
  3982. jQuery('.field_selected').children().not('#field_settings').remove();
  3983. jQuery("#field_" + fieldId).prepend(data.fieldString);
  3984.  
  3985. SetFieldLabel(field.label);
  3986. SetFieldSize(field.size);
  3987. SetFieldDefaultValue(field.defaultValue);
  3988. SetFieldDescription(field.description);
  3989. SetFieldRequired(field.isRequired);
  3990. InitializeFields();
  3991. if (field["type"] == "address") {
  3992. SetAddressType(false);
  3993. }
  3994. if (callback) {
  3995. callback();
  3996. }
  3997. }, 'json'
  3998. );
  3999.  
  4000. }
  4001.  
  4002. function StartChangeInputType(type, field) {
  4003. if (type == "")
  4004. return;
  4005.  
  4006. jQuery("#field_settings").insertBefore("#gform_fields");
  4007.  
  4008. if (!field)
  4009. field = GetSelectedField();
  4010.  
  4011. field["inputType"] = type;
  4012. SetDefaultValues(field);
  4013.  
  4014. var mysack = new sack("http://creativeguidance.com/wp-admin/admin-ajax.php?id=" + form.id);
  4015. mysack.execute = 1;
  4016. mysack.method = 'POST';
  4017. mysack.setVar("action", "rg_change_input_type");
  4018. mysack.setVar("rg_change_input_type", "39d32b4586");
  4019. mysack.setVar("field", jQuery.toJSON(field));
  4020. mysack.onError = function () {
  4021. alert("Ajax error while changing input type")
  4022. };
  4023. mysack.runAJAX();
  4024.  
  4025. return true;
  4026. }
  4027.  
  4028. function GetFieldChoices(field) {
  4029. if (field.choices == undefined)
  4030. return "";
  4031.  
  4032. var currency = GetCurrentCurrency();
  4033. var str = "";
  4034. for (var i = 0; i < field.choices.length; i++) {
  4035.  
  4036. var checked = field.choices[i].isSelected ? "checked" : "";
  4037. var inputType = GetInputType(field);
  4038. var type = inputType == 'checkbox' ? 'checkbox' : 'radio';
  4039.  
  4040. var value = field.enableChoiceValue ? String(field.choices[i].value) : field.choices[i].text;
  4041. var price = field.choices[i].price ? currency.toMoney(field.choices[i].price) : "";
  4042. if (!price){
  4043. price = "";
  4044. }
  4045.  
  4046.  
  4047. str += "<li class='field-choice-row' data-input_type='" + inputType + "' data-index='" + i + "'>";
  4048. str += "<i class='fa fa-sort field-choice-handle'></i> ";
  4049. str += "<input type='" + type + "' class='gfield_choice_" + type + "' name='choice_selected' id='" + inputType + "_choice_selected_" + i + "' " + checked + " onclick=\"SetFieldChoice('" + inputType + "', " + i + ");\" /> ";
  4050. str += "<input type='text' id='" + inputType + "_choice_text_" + i + "' value=\"" + field.choices[i].text.replace(/"/g, "&quot;") + "\" class='field-choice-input field-choice-text' />";
  4051. str += "<input type='text' id='" + inputType + "_choice_value_" + i + "' value=\"" + value.replace(/"/g, "&quot;") + "\" class='field-choice-input field-choice-value' />";
  4052. str += "<input type='text' id='" + inputType + "_choice_price_" + i + "' value=\"" + price.replace(/"/g, "&quot;") + "\" class='field-choice-input field-choice-price' />";
  4053.  
  4054. if (window["gform_append_field_choice_option_" + field.type])
  4055. str += window["gform_append_field_choice_option_" + field.type](field, i);
  4056.  
  4057. str += gform.applyFilters('gform_append_field_choice_option', '', field, i);
  4058.  
  4059. str += "<a class='gf_insert_field_choice' onclick=\"InsertFieldChoice(" + (i + 1) + ");\"><i class='gficon-add'></i></a>";
  4060.  
  4061.  
  4062. if (field.choices.length > 1)
  4063. str += "<a class='gf_delete_field_choice' onclick=\"DeleteFieldChoice(" + i + ");\"><i class='gficon-subtract'></i></a>";
  4064.  
  4065. str += "</li>";
  4066.  
  4067. }
  4068. return str;
  4069. }
  4070.  
  4071. function GetInputChoices(input) {
  4072. if (input.choices == undefined)
  4073. return "";
  4074.  
  4075. var str = "";
  4076. var inputId = input.id.toString();
  4077. for (var i = 0; i < input.choices.length; i++) {
  4078.  
  4079. var checked = input.choices[i].isSelected ? "checked" : "";
  4080. var inputType = GetInputType(input);
  4081. var type = inputType == 'checkbox' ? 'checkbox' : 'radio';
  4082.  
  4083. var value = input.enableChoiceValue ? String(input.choices[i].value) : input.choices[i].text;
  4084.  
  4085. str += "<li class='field-choice-row' data-index='" + i + "' data-input_id='" + inputId + "'>";
  4086. str += "<i class='fa fa-sort field-choice-handle'></i> ";
  4087. str += "<input type='" + type + "' class='field-input-choice-" + inputId.replace('.', '_') + " gfield_choice_" + type + "' name='choice_selected' id='" + inputType + "_choice_selected_" + i + "' " + checked + " /> ";
  4088. str += "<input type='text' id='" + inputType + "_choice_text_" + i + "' value=\"" + input.choices[i].text.replace(/"/g, "&quot;") + "\" class='field-choice-input field-choice-text' />";
  4089. str += "<input type='text' id='" + inputType + "_choice_value_" + i + "' value=\"" + value.replace(/"/g, "&quot;") + "\" class='field-choice-input field-choice-value' />";
  4090.  
  4091. str += "<a class='gf_insert_field_choice field-input-insert-choice'><i class='gficon-add'></i></a>";
  4092.  
  4093. if (input.choices.length > 1)
  4094. str += "<a class='gf_delete_field_choice field-input-delete-choice'><i class='gficon-subtract'></i></a>";
  4095.  
  4096. str += "</li>";
  4097.  
  4098. }
  4099. return str;
  4100. }
  4101.  
  4102. function GetCaptchaUrl(pos) {
  4103. if (pos == undefined)
  4104. pos = "";
  4105.  
  4106. var field = GetSelectedField();
  4107. var size = field.simpleCaptchaSize == undefined ? "medium" : field.simpleCaptchaSize;
  4108. var fg = field.simpleCaptchaFontColor == undefined ? "" : field.simpleCaptchaFontColor;
  4109. var bg = field.simpleCaptchaBackgroundColor == undefined ? "" : field.simpleCaptchaBackgroundColor;
  4110.  
  4111. var url = "http://creativeguidance.com/wp-admin/admin-ajax.php?action=rg_captcha_image" + "&type=" + field.captchaType + "&pos=" + pos + "&size=" + size + "&fg=" + fg.replace("#", "%23") + "&bg=" + bg.replace("#", "%23");
  4112. return url;
  4113. }
  4114.  
  4115. function SetFieldPhoneFormat(phoneFormat) {
  4116. var instruction = phoneFormat == "standard" ? "Phone format:" + " (###) ###-####" : "";
  4117. var display = phoneFormat == "standard" ? "block" : "none";
  4118.  
  4119. jQuery(".field_selected .instruction").css('display', display).html(instruction);
  4120.  
  4121. SetFieldProperty('phoneFormat', phoneFormat);
  4122. }
  4123.  
  4124. function LoadMessageVariables() {
  4125. var options = "<option>" + "Select a field" + "</option><option value='{form_title}'>" + "Form Title" + "</option><option value='{date_mdy}'>" + "Date" + " (mm/dd/yyyy)</option><option value='{date_dmy}'>" + "Date" + " (dd/mm/yyyy)</option><option value='{ip}'>" + "User IP Address" + "</option><option value='{all_fields}'>" + "All Submitted Fields" + "</option>";
  4126.  
  4127. for (var i = 0; i < form.fields.length; i++)
  4128. options += "<option value='{" + form.fields[i].label + ":" + form.fields[i].id + "}'>" + form.fields[i].label + "</option>";
  4129.  
  4130. jQuery("#form_autoresponder_variable").html(options);
  4131. }
  4132.  
  4133. </script>
  4134.  
  4135. <script type='text/javascript' src='http://creativeguidance.com/wp-content/plugins/gravityforms/js/form_editor.min.js?ver=1.9.15'></script>
  4136.  
  4137. <script>
  4138. // handles when the field is opened in the form editor
  4139. jQuery(document).bind("gform_load_field_settings", function (event, field, form) {
  4140. var field_type = field['type'];
  4141. if ('post_content' == field_type || 'textarea' == field_type || ('post_custom_field' == field_type && 'textarea' == field['inputType'])) {
  4142.  
  4143. var $wysiwyg_container = jQuery(".wysiwyg_field_setting_wysiwyg_ckeditor");
  4144.  
  4145. $wysiwyg_container.show();
  4146.  
  4147. var enable_wysiwyg_ckeditor = (typeof field['enable_wysiwyg_ckeditor'] != 'undefined' && field['enable_wysiwyg_ckeditor'] != '') ? field['enable_wysiwyg_ckeditor'] : false;
  4148.  
  4149. if (enable_wysiwyg_ckeditor != false) {
  4150. //check the checkbox if previously checked
  4151. $wysiwyg_container.find("input:checkbox").attr("checked", "checked");
  4152. } else {
  4153. $wysiwyg_container.find("input:checkbox").removeAttr("checked");
  4154. }
  4155. }
  4156. });
  4157.  
  4158. // handles when the 'Enable WYSIWYG (CKEditor)' tick box is used in a field in the form editor
  4159.  
  4160. jQuery(".wysiwyg_field_setting_wysiwyg_ckeditor input").click(function () {
  4161. if (jQuery(this).is(":checked")) {
  4162. SetFieldProperty('enable_wysiwyg_ckeditor', 'true');
  4163. } else {
  4164. SetFieldProperty('enable_wysiwyg_ckeditor', '');
  4165. }
  4166. });
  4167. </script>
  4168.  
  4169. <div class="clear"></div></div><!-- wpbody-content -->
  4170. <div class="clear"></div></div><!-- wpbody -->
  4171. <div class="clear"></div></div><!-- wpcontent -->
  4172.  
  4173. <div id="wpfooter" role="contentinfo">
  4174. <p id="footer-left" class="alignleft">
  4175. <span id="footer-thankyou">Thank you for creating with <a href="https://wordpress.org/">WordPress</a>.</span> </p>
  4176. <p id="footer-upgrade" class="alignright">
  4177. Version 4.4.1 </p>
  4178. <div class="clear"></div>
  4179. </div>
  4180. <script>
  4181.  
  4182. function itsg_gf_wysiwyg_ckeditor_function(self){
  4183. // if in Gravity Forms form editor
  4184. // destroy any active CKeditor instances first
  4185. for(i in CKEDITOR.instances) {
  4186. CKEDITOR.instances[i].destroy();
  4187. }
  4188.  
  4189. (function( $ ) {
  4190. "use strict";
  4191. $(function(){
  4192. $('.gform_wrapper .gform_wysiwyg_ckeditor:not(.wysiwyg_exclude) textarea:not([disabled="disabled"],.wysiwyg_exclude), .gform_wrapper .gform_page:not([style="display:none;"],.wysiwyg_exclude) .gform_wysiwyg_ckeditor:not(.wysiwyg_exclude) textarea:not([disabled=disabled],.wysiwyg_exclude), #field_settings textarea:not([disabled=disabled],#gfield_bulk_add_input,#field_calculation_formula,.wysiwyg_exclude), .gf_entry_wrap .postbox .gform_wysiwyg_ckeditor:not(.wysiwyg_exclude) textarea:not([disabled=disabled],.wysiwyg_exclude)').each(function() {
  4193. $(this).ckeditor(CKEDITOR.tools.extend( {
  4194. toolbar: [
  4195. { name: 'basicstyles', items: [ 'Bold','Italic','Underline',
  4196. ] },
  4197. { name: 'clipboard', items: [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-', 'Undo','Redo'
  4198. ] },
  4199. { name: 'paragraph', items: [ 'NumberedList','BulletedList','-', 'Outdent','Indent',
  4200. ] },
  4201. { name: 'links', items: [ 'Link','Unlink',
  4202. ] },
  4203. { name: 'document', items: [ 'Preview','Print',
  4204. ] },
  4205. { name: 'editing', items: [ 'Find','Replace','-', 'SelectAll','-', 'Scayt' ] },
  4206. { name: 'insert', items: [ ] },
  4207. '/',
  4208. { name: 'styles', items: [ 'Styles','Format','Font','FontSize' ] },
  4209. { name: 'colors', items: [ ] },
  4210. { name: 'tools', items: [ 'Maximize', ] },
  4211. { name: 'about', items: [ ] }],
  4212. allowedContent: true
  4213. }));
  4214.  
  4215. for (var i in CKEDITOR.instances) {
  4216. // wrap in half second timeout provides performance improvement by stopping 'change' event from firing multiple times
  4217. setTimeout(function(){
  4218. CKEDITOR.instances[i].on('change', function(event) {
  4219. if (event.sender.name == 'field_description') {
  4220. SetFieldDescription(this.getData());
  4221. } else if (event.sender.name == 'field_content') {
  4222. SetFieldProperty('content', this.getData());
  4223. } else if (event.sender.name == 'infobox_more_info_field') {
  4224. SetFieldProperty('infobox_more_info_field', this.getData());
  4225. } else {
  4226. CKEDITOR.instances[i].updateElement();
  4227. }
  4228.  
  4229. });
  4230. },500);
  4231. CKEDITOR.instances[i].on('loaded', function(event) {
  4232. if (event.sender.name == 'field_description') {
  4233. SetFieldDescription(this.getData());
  4234. } else if (event.sender.name == 'field_content') {
  4235. SetFieldProperty('content', this.getData());
  4236. } else if (event.sender.name == 'infobox_more_info_field') {
  4237. SetFieldProperty('infobox_more_info_field', this.getData());
  4238. } else {
  4239. CKEDITOR.instances[i].updateElement();
  4240. }
  4241. this.setData(this.getData())
  4242. });
  4243. }
  4244.  
  4245. });
  4246.  
  4247. });
  4248. }(jQuery));
  4249.  
  4250. }
  4251.  
  4252.  
  4253. // runs the main function when field settings have been opened in the form editor
  4254.  
  4255. jQuery(document).bind('gform_load_field_settings', function($) {
  4256. // wrap in half second timeout provides perceived performance improvement by delaying the CKeditor load until the field settings has loaded
  4257. // currently commented out due to issues during initial testing
  4258. //setTimeout(function(){
  4259. itsg_gf_wysiwyg_ckeditor_function(jQuery(this));
  4260. //},500);
  4261. });
  4262.  
  4263. // destory all existing CKEditor instances when field is delete in form editor - hooks into existing StartDeleteField function.
  4264. // backup original StartDeleteField
  4265. var StartDeleteFieldoldCK = StartDeleteField;
  4266. StartDeleteField = function(field) {
  4267. // destory all CKEditor instances
  4268. for(name in CKEDITOR.instances) {
  4269. CKEDITOR.instances[name].destroy(true);
  4270. }
  4271. // call original StartDeleteField
  4272. StartDeleteFieldoldCK(field);
  4273. };
  4274.  
  4275. // destory all existing CKEditor instances when fileupload field is switched between single and multi upload in form editor - hooks into existing ToggleMultiFile function.
  4276. // backup original StartDeleteField
  4277. var ToggleMultiFileCK = ToggleMultiFile;
  4278. ToggleMultiFile = function(field) {
  4279. // destory all CKEditor instances
  4280. for(name in CKEDITOR.instances) {
  4281. CKEDITOR.instances[name].destroy(true);
  4282. }
  4283. // call original ToggleMultiFile
  4284. ToggleMultiFileCK(field);
  4285. };
  4286.  
  4287.  
  4288. </script>
  4289. <!--[if lte IE 8]>
  4290. <style>
  4291. .attachment:focus {
  4292. outline: #1e8cbe solid;
  4293. }
  4294. .selected.attachment {
  4295. outline: #1e8cbe solid;
  4296. }
  4297. </style>
  4298. <![endif]-->
  4299. <script type="text/html" id="tmpl-media-frame">
  4300. <div class="media-frame-menu"></div>
  4301. <div class="media-frame-title"></div>
  4302. <div class="media-frame-router"></div>
  4303. <div class="media-frame-content"></div>
  4304. <div class="media-frame-toolbar"></div>
  4305. <div class="media-frame-uploader"></div>
  4306. </script>
  4307.  
  4308. <script type="text/html" id="tmpl-media-modal">
  4309. <div class="media-modal wp-core-ui">
  4310. <button type="button" class="button-link media-modal-close"><span class="media-modal-icon"><span class="screen-reader-text">Close media panel</span></span></button>
  4311. <div class="media-modal-content"></div>
  4312. </div>
  4313. <div class="media-modal-backdrop"></div>
  4314. </script>
  4315.  
  4316. <script type="text/html" id="tmpl-uploader-window">
  4317. <div class="uploader-window-content">
  4318. <h1>Drop files to upload</h1>
  4319. </div>
  4320. </script>
  4321.  
  4322. <script type="text/html" id="tmpl-uploader-editor">
  4323. <div class="uploader-editor-content">
  4324. <div class="uploader-editor-title">Drop files to upload</div>
  4325. </div>
  4326. </script>
  4327.  
  4328. <script type="text/html" id="tmpl-uploader-inline">
  4329. <# var messageClass = data.message ? 'has-upload-message' : 'no-upload-message'; #>
  4330. <# if ( data.canClose ) { #>
  4331. <button class="close dashicons dashicons-no"><span class="screen-reader-text">Close uploader</span></button>
  4332. <# } #>
  4333. <div class="uploader-inline-content {{ messageClass }}">
  4334. <# if ( data.message ) { #>
  4335. <h2 class="upload-message">{{ data.message }}</h2>
  4336. <# } #>
  4337. <div class="upload-ui">
  4338. <h2 class="upload-instructions drop-instructions">Drop files anywhere to upload</h2>
  4339. <p class="upload-instructions drop-instructions">or</p>
  4340. <button type="button" class="browser button button-hero">Select Files</button>
  4341. </div>
  4342.  
  4343. <div class="upload-inline-status"></div>
  4344.  
  4345. <div class="post-upload-ui">
  4346.  
  4347. <p class="max-upload-size">Maximum upload file size: 64 MB.</p>
  4348.  
  4349. <# if ( data.suggestedWidth && data.suggestedHeight ) { #>
  4350. <p class="suggested-dimensions">
  4351. Suggested image dimensions: {{data.suggestedWidth}} &times; {{data.suggestedHeight}}
  4352. </p>
  4353. <# } #>
  4354.  
  4355. </div>
  4356. </div>
  4357. </script>
  4358.  
  4359. <script type="text/html" id="tmpl-media-library-view-switcher">
  4360. <a href="/wp-admin/admin.php?page=gf_edit_forms&#038;id=6&#038;mode=list" class="view-list">
  4361. <span class="screen-reader-text">List View</span>
  4362. </a>
  4363. <a href="/wp-admin/admin.php?page=gf_edit_forms&#038;id=6&#038;mode=grid" class="view-grid current">
  4364. <span class="screen-reader-text">Grid View</span>
  4365. </a>
  4366. </script>
  4367.  
  4368. <script type="text/html" id="tmpl-uploader-status">
  4369. <h2>Uploading</h2>
  4370. <button type="button" class="button-link upload-dismiss-errors"><span class="screen-reader-text">Dismiss Errors</span></button>
  4371.  
  4372. <div class="media-progress-bar"><div></div></div>
  4373. <div class="upload-details">
  4374. <span class="upload-count">
  4375. <span class="upload-index"></span> / <span class="upload-total"></span>
  4376. </span>
  4377. <span class="upload-detail-separator">&ndash;</span>
  4378. <span class="upload-filename"></span>
  4379. </div>
  4380. <div class="upload-errors"></div>
  4381. </script>
  4382.  
  4383. <script type="text/html" id="tmpl-uploader-status-error">
  4384. <span class="upload-error-filename">{{{ data.filename }}}</span>
  4385. <span class="upload-error-message">{{ data.message }}</span>
  4386. </script>
  4387.  
  4388. <script type="text/html" id="tmpl-edit-attachment-frame">
  4389. <div class="edit-media-header">
  4390. <button class="left dashicons <# if ( ! data.hasPrevious ) { #> disabled <# } #>"><span class="screen-reader-text">Edit previous media item</span></button>
  4391. <button class="right dashicons <# if ( ! data.hasNext ) { #> disabled <# } #>"><span class="screen-reader-text">Edit next media item</span></button>
  4392. </div>
  4393. <div class="media-frame-title"></div>
  4394. <div class="media-frame-content"></div>
  4395. </script>
  4396.  
  4397. <script type="text/html" id="tmpl-attachment-details-two-column">
  4398. <div class="attachment-media-view {{ data.orientation }}">
  4399. <div class="thumbnail thumbnail-{{ data.type }}">
  4400. <# if ( data.uploading ) { #>
  4401. <div class="media-progress-bar"><div></div></div>
  4402. <# } else if ( 'image' === data.type && data.sizes && data.sizes.large ) { #>
  4403. <img class="details-image" src="{{ data.sizes.large.url }}" draggable="false" alt="" />
  4404. <# } else if ( 'image' === data.type && data.sizes && data.sizes.full ) { #>
  4405. <img class="details-image" src="{{ data.sizes.full.url }}" draggable="false" alt="" />
  4406. <# } else if ( -1 === jQuery.inArray( data.type, [ 'audio', 'video' ] ) ) { #>
  4407. <img class="details-image icon" src="{{ data.icon }}" draggable="false" alt="" />
  4408. <# } #>
  4409.  
  4410. <# if ( 'audio' === data.type ) { #>
  4411. <div class="wp-media-wrapper">
  4412. <audio style="visibility: hidden" controls class="wp-audio-shortcode" width="100%" preload="none">
  4413. <source type="{{ data.mime }}" src="{{ data.url }}"/>
  4414. </audio>
  4415. </div>
  4416. <# } else if ( 'video' === data.type ) {
  4417. var w_rule = '';
  4418. if ( data.width ) {
  4419. w_rule = 'width: ' + data.width + 'px;';
  4420. } else if ( wp.media.view.settings.contentWidth ) {
  4421. w_rule = 'width: ' + wp.media.view.settings.contentWidth + 'px;';
  4422. }
  4423. #>
  4424. <div style="{{ w_rule }}" class="wp-media-wrapper wp-video">
  4425. <video controls="controls" class="wp-video-shortcode" preload="metadata"
  4426. <# if ( data.width ) { #>width="{{ data.width }}"<# } #>
  4427. <# if ( data.height ) { #>height="{{ data.height }}"<# } #>
  4428. <# if ( data.image && data.image.src !== data.icon ) { #>poster="{{ data.image.src }}"<# } #>>
  4429. <source type="{{ data.mime }}" src="{{ data.url }}"/>
  4430. </video>
  4431. </div>
  4432. <# } #>
  4433.  
  4434. <div class="attachment-actions">
  4435. <# if ( 'image' === data.type && ! data.uploading && data.sizes && data.can.save ) { #>
  4436. <button type="button" class="button edit-attachment">Edit Image</button>
  4437. <# } #>
  4438. </div>
  4439. </div>
  4440. </div>
  4441. <div class="attachment-info">
  4442. <span class="settings-save-status">
  4443. <span class="spinner"></span>
  4444. <span class="saved">Saved.</span>
  4445. </span>
  4446. <div class="details">
  4447. <div class="filename"><strong>File name:</strong> {{ data.filename }}</div>
  4448. <div class="filename"><strong>File type:</strong> {{ data.mime }}</div>
  4449. <div class="uploaded"><strong>Uploaded on:</strong> {{ data.dateFormatted }}</div>
  4450.  
  4451. <div class="file-size"><strong>File size:</strong> {{ data.filesizeHumanReadable }}</div>
  4452. <# if ( 'image' === data.type && ! data.uploading ) { #>
  4453. <# if ( data.width && data.height ) { #>
  4454. <div class="dimensions"><strong>Dimensions:</strong> {{ data.width }} &times; {{ data.height }}</div>
  4455. <# } #>
  4456. <# } #>
  4457.  
  4458. <# if ( data.fileLength ) { #>
  4459. <div class="file-length"><strong>Length:</strong> {{ data.fileLength }}</div>
  4460. <# } #>
  4461.  
  4462. <# if ( 'audio' === data.type && data.meta.bitrate ) { #>
  4463. <div class="bitrate">
  4464. <strong>Bitrate:</strong> {{ Math.round( data.meta.bitrate / 1000 ) }}kb/s
  4465. <# if ( data.meta.bitrate_mode ) { #>
  4466. {{ ' ' + data.meta.bitrate_mode.toUpperCase() }}
  4467. <# } #>
  4468. </div>
  4469. <# } #>
  4470.  
  4471. <div class="compat-meta">
  4472. <# if ( data.compat && data.compat.meta ) { #>
  4473. {{{ data.compat.meta }}}
  4474. <# } #>
  4475. </div>
  4476. </div>
  4477.  
  4478. <div class="settings">
  4479. <label class="setting" data-setting="url">
  4480. <span class="name">URL</span>
  4481. <input type="text" value="{{ data.url }}" readonly />
  4482. </label>
  4483. <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #>
  4484. <label class="setting" data-setting="title">
  4485. <span class="name">Title</span>
  4486. <input type="text" value="{{ data.title }}" {{ maybeReadOnly }} />
  4487. </label>
  4488. <# if ( 'audio' === data.type ) { #>
  4489. <label class="setting" data-setting="artist">
  4490. <span class="name">Artist</span>
  4491. <input type="text" value="{{ data.artist || data.meta.artist || '' }}" />
  4492. </label>
  4493. <label class="setting" data-setting="album">
  4494. <span class="name">Album</span>
  4495. <input type="text" value="{{ data.album || data.meta.album || '' }}" />
  4496. </label>
  4497. <# } #>
  4498. <label class="setting" data-setting="caption">
  4499. <span class="name">Caption</span>
  4500. <textarea {{ maybeReadOnly }}>{{ data.caption }}</textarea>
  4501. </label>
  4502. <# if ( 'image' === data.type ) { #>
  4503. <label class="setting" data-setting="alt">
  4504. <span class="name">Alt Text</span>
  4505. <input type="text" value="{{ data.alt }}" {{ maybeReadOnly }} />
  4506. </label>
  4507. <# } #>
  4508. <label class="setting" data-setting="description">
  4509. <span class="name">Description</span>
  4510. <textarea {{ maybeReadOnly }}>{{ data.description }}</textarea>
  4511. </label>
  4512. <label class="setting">
  4513. <span class="name">Uploaded By</span>
  4514. <span class="value">{{ data.authorName }}</span>
  4515. </label>
  4516. <# if ( data.uploadedToTitle ) { #>
  4517. <label class="setting">
  4518. <span class="name">Uploaded To</span>
  4519. <# if ( data.uploadedToLink ) { #>
  4520. <span class="value"><a href="{{ data.uploadedToLink }}">{{ data.uploadedToTitle }}</a></span>
  4521. <# } else { #>
  4522. <span class="value">{{ data.uploadedToTitle }}</span>
  4523. <# } #>
  4524. </label>
  4525. <# } #>
  4526. <div class="attachment-compat"></div>
  4527. </div>
  4528.  
  4529. <div class="actions">
  4530. <a class="view-attachment" href="{{ data.link }}">View attachment page</a>
  4531. <# if ( data.can.save ) { #> |
  4532. <a href="post.php?post={{ data.id }}&action=edit">Edit more details</a>
  4533. <# } #>
  4534. <# if ( ! data.uploading && data.can.remove ) { #> |
  4535. <button type="button" class="button-link delete-attachment">Delete Permanently</button>
  4536. <# } #>
  4537. </div>
  4538.  
  4539. </div>
  4540. </script>
  4541.  
  4542. <script type="text/html" id="tmpl-attachment">
  4543. <div class="attachment-preview js--select-attachment type-{{ data.type }} subtype-{{ data.subtype }} {{ data.orientation }}">
  4544. <div class="thumbnail">
  4545. <# if ( data.uploading ) { #>
  4546. <div class="media-progress-bar"><div style="width: {{ data.percent }}%"></div></div>
  4547. <# } else if ( 'image' === data.type && data.sizes ) { #>
  4548. <div class="centered">
  4549. <img src="{{ data.size.url }}" draggable="false" alt="" />
  4550. </div>
  4551. <# } else { #>
  4552. <div class="centered">
  4553. <# if ( data.image && data.image.src && data.image.src !== data.icon ) { #>
  4554. <img src="{{ data.image.src }}" class="thumbnail" draggable="false" alt="" />
  4555. <# } else { #>
  4556. <img src="{{ data.icon }}" class="icon" draggable="false" alt="" />
  4557. <# } #>
  4558. </div>
  4559. <div class="filename">
  4560. <div>{{ data.filename }}</div>
  4561. </div>
  4562. <# } #>
  4563. </div>
  4564. <# if ( data.buttons.close ) { #>
  4565. <button type="button" class="button-link attachment-close media-modal-icon"><span class="screen-reader-text">Remove</span></button>
  4566. <# } #>
  4567. </div>
  4568. <# if ( data.buttons.check ) { #>
  4569. <button type="button" class="button-link check" tabindex="-1"><span class="media-modal-icon"></span><span class="screen-reader-text">Deselect</span></button>
  4570. <# } #>
  4571. <#
  4572. var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly';
  4573. if ( data.describe ) {
  4574. if ( 'image' === data.type ) { #>
  4575. <input type="text" value="{{ data.caption }}" class="describe" data-setting="caption"
  4576. placeholder="Caption this image&hellip;" {{ maybeReadOnly }} />
  4577. <# } else { #>
  4578. <input type="text" value="{{ data.title }}" class="describe" data-setting="title"
  4579. <# if ( 'video' === data.type ) { #>
  4580. placeholder="Describe this video&hellip;"
  4581. <# } else if ( 'audio' === data.type ) { #>
  4582. placeholder="Describe this audio file&hellip;"
  4583. <# } else { #>
  4584. placeholder="Describe this media file&hellip;"
  4585. <# } #> {{ maybeReadOnly }} />
  4586. <# }
  4587. } #>
  4588. </script>
  4589.  
  4590. <script type="text/html" id="tmpl-attachment-details">
  4591. <h2>
  4592. Attachment Details <span class="settings-save-status">
  4593. <span class="spinner"></span>
  4594. <span class="saved">Saved.</span>
  4595. </span>
  4596. </h2>
  4597. <div class="attachment-info">
  4598. <div class="thumbnail thumbnail-{{ data.type }}">
  4599. <# if ( data.uploading ) { #>
  4600. <div class="media-progress-bar"><div></div></div>
  4601. <# } else if ( 'image' === data.type && data.sizes ) { #>
  4602. <img src="{{ data.size.url }}" draggable="false" alt="" />
  4603. <# } else { #>
  4604. <img src="{{ data.icon }}" class="icon" draggable="false" alt="" />
  4605. <# } #>
  4606. </div>
  4607. <div class="details">
  4608. <div class="filename">{{ data.filename }}</div>
  4609. <div class="uploaded">{{ data.dateFormatted }}</div>
  4610.  
  4611. <div class="file-size">{{ data.filesizeHumanReadable }}</div>
  4612. <# if ( 'image' === data.type && ! data.uploading ) { #>
  4613. <# if ( data.width && data.height ) { #>
  4614. <div class="dimensions">{{ data.width }} &times; {{ data.height }}</div>
  4615. <# } #>
  4616.  
  4617. <# if ( data.can.save && data.sizes ) { #>
  4618. <a class="edit-attachment" href="{{ data.editLink }}&amp;image-editor" target="_blank">Edit Image</a>
  4619. <# } #>
  4620. <# } #>
  4621.  
  4622. <# if ( data.fileLength ) { #>
  4623. <div class="file-length">Length: {{ data.fileLength }}</div>
  4624. <# } #>
  4625.  
  4626. <# if ( ! data.uploading && data.can.remove ) { #>
  4627. <button type="button" class="button-link delete-attachment">Delete Permanently</button>
  4628. <# } #>
  4629.  
  4630. <div class="compat-meta">
  4631. <# if ( data.compat && data.compat.meta ) { #>
  4632. {{{ data.compat.meta }}}
  4633. <# } #>
  4634. </div>
  4635. </div>
  4636. </div>
  4637.  
  4638. <label class="setting" data-setting="url">
  4639. <span class="name">URL</span>
  4640. <input type="text" value="{{ data.url }}" readonly />
  4641. </label>
  4642. <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #>
  4643. <label class="setting" data-setting="title">
  4644. <span class="name">Title</span>
  4645. <input type="text" value="{{ data.title }}" {{ maybeReadOnly }} />
  4646. </label>
  4647. <# if ( 'audio' === data.type ) { #>
  4648. <label class="setting" data-setting="artist">
  4649. <span class="name">Artist</span>
  4650. <input type="text" value="{{ data.artist || data.meta.artist || '' }}" />
  4651. </label>
  4652. <label class="setting" data-setting="album">
  4653. <span class="name">Album</span>
  4654. <input type="text" value="{{ data.album || data.meta.album || '' }}" />
  4655. </label>
  4656. <# } #>
  4657. <label class="setting" data-setting="caption">
  4658. <span class="name">Caption</span>
  4659. <textarea {{ maybeReadOnly }}>{{ data.caption }}</textarea>
  4660. </label>
  4661. <# if ( 'image' === data.type ) { #>
  4662. <label class="setting" data-setting="alt">
  4663. <span class="name">Alt Text</span>
  4664. <input type="text" value="{{ data.alt }}" {{ maybeReadOnly }} />
  4665. </label>
  4666. <# } #>
  4667. <label class="setting" data-setting="description">
  4668. <span class="name">Description</span>
  4669. <textarea {{ maybeReadOnly }}>{{ data.description }}</textarea>
  4670. </label>
  4671. </script>
  4672.  
  4673. <script type="text/html" id="tmpl-media-selection">
  4674. <div class="selection-info">
  4675. <span class="count"></span>
  4676. <# if ( data.editable ) { #>
  4677. <button type="button" class="button-link edit-selection">Edit Selection</button>
  4678. <# } #>
  4679. <# if ( data.clearable ) { #>
  4680. <button type="button" class="button-link clear-selection">Clear</button>
  4681. <# } #>
  4682. </div>
  4683. <div class="selection-view"></div>
  4684. </script>
  4685.  
  4686. <script type="text/html" id="tmpl-attachment-display-settings">
  4687. <h2>Attachment Display Settings</h2>
  4688.  
  4689. <# if ( 'image' === data.type ) { #>
  4690. <label class="setting">
  4691. <span>Alignment</span>
  4692. <select class="alignment"
  4693. data-setting="align"
  4694. <# if ( data.userSettings ) { #>
  4695. data-user-setting="align"
  4696. <# } #>>
  4697.  
  4698. <option value="left">
  4699. Left </option>
  4700. <option value="center">
  4701. Center </option>
  4702. <option value="right">
  4703. Right </option>
  4704. <option value="none" selected>
  4705. None </option>
  4706. </select>
  4707. </label>
  4708. <# } #>
  4709.  
  4710. <div class="setting">
  4711. <label>
  4712. <# if ( data.model.canEmbed ) { #>
  4713. <span>Embed or Link</span>
  4714. <# } else { #>
  4715. <span>Link To</span>
  4716. <# } #>
  4717.  
  4718. <select class="link-to"
  4719. data-setting="link"
  4720. <# if ( data.userSettings && ! data.model.canEmbed ) { #>
  4721. data-user-setting="urlbutton"
  4722. <# } #>>
  4723.  
  4724. <# if ( data.model.canEmbed ) { #>
  4725. <option value="embed" selected>
  4726. Embed Media Player </option>
  4727. <option value="file">
  4728. <# } else { #>
  4729. <option value="none" selected>
  4730. None </option>
  4731. <option value="file">
  4732. <# } #>
  4733. <# if ( data.model.canEmbed ) { #>
  4734. Link to Media File <# } else { #>
  4735. Media File <# } #>
  4736. </option>
  4737. <option value="post">
  4738. <# if ( data.model.canEmbed ) { #>
  4739. Link to Attachment Page <# } else { #>
  4740. Attachment Page <# } #>
  4741. </option>
  4742. <# if ( 'image' === data.type ) { #>
  4743. <option value="custom">
  4744. Custom URL </option>
  4745. <# } #>
  4746. </select>
  4747. </label>
  4748. <input type="text" class="link-to-custom" data-setting="linkUrl" />
  4749. </div>
  4750.  
  4751. <# if ( 'undefined' !== typeof data.sizes ) { #>
  4752. <label class="setting">
  4753. <span>Size</span>
  4754. <select class="size" name="size"
  4755. data-setting="size"
  4756. <# if ( data.userSettings ) { #>
  4757. data-user-setting="imgsize"
  4758. <# } #>>
  4759. <#
  4760. var size = data.sizes['thumbnail'];
  4761. if ( size ) { #>
  4762. <option value="thumbnail" >
  4763. Thumbnail &ndash; {{ size.width }} &times; {{ size.height }}
  4764. </option>
  4765. <# } #>
  4766. <#
  4767. var size = data.sizes['medium'];
  4768. if ( size ) { #>
  4769. <option value="medium" >
  4770. Medium &ndash; {{ size.width }} &times; {{ size.height }}
  4771. </option>
  4772. <# } #>
  4773. <#
  4774. var size = data.sizes['large'];
  4775. if ( size ) { #>
  4776. <option value="large" >
  4777. Large &ndash; {{ size.width }} &times; {{ size.height }}
  4778. </option>
  4779. <# } #>
  4780. <#
  4781. var size = data.sizes['full'];
  4782. if ( size ) { #>
  4783. <option value="full" selected='selected'>
  4784. Full Size &ndash; {{ size.width }} &times; {{ size.height }}
  4785. </option>
  4786. <# } #>
  4787. </select>
  4788. </label>
  4789. <# } #>
  4790. </script>
  4791.  
  4792. <script type="text/html" id="tmpl-gallery-settings">
  4793. <h2>Gallery Settings</h2>
  4794.  
  4795. <label class="setting">
  4796. <span>Link To</span>
  4797. <select class="link-to"
  4798. data-setting="link"
  4799. <# if ( data.userSettings ) { #>
  4800. data-user-setting="urlbutton"
  4801. <# } #>>
  4802.  
  4803. <option value="post" <# if ( ! wp.media.galleryDefaults.link || 'post' == wp.media.galleryDefaults.link ) {
  4804. #>selected="selected"<# }
  4805. #>>
  4806. Attachment Page </option>
  4807. <option value="file" <# if ( 'file' == wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>>
  4808. Media File </option>
  4809. <option value="none" <# if ( 'none' == wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>>
  4810. None </option>
  4811. </select>
  4812. </label>
  4813.  
  4814. <label class="setting">
  4815. <span>Columns</span>
  4816. <select class="columns" name="columns"
  4817. data-setting="columns">
  4818. <option value="1" <#
  4819. if ( 1 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  4820. #>>
  4821. 1 </option>
  4822. <option value="2" <#
  4823. if ( 2 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  4824. #>>
  4825. 2 </option>
  4826. <option value="3" <#
  4827. if ( 3 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  4828. #>>
  4829. 3 </option>
  4830. <option value="4" <#
  4831. if ( 4 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  4832. #>>
  4833. 4 </option>
  4834. <option value="5" <#
  4835. if ( 5 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  4836. #>>
  4837. 5 </option>
  4838. <option value="6" <#
  4839. if ( 6 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  4840. #>>
  4841. 6 </option>
  4842. <option value="7" <#
  4843. if ( 7 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  4844. #>>
  4845. 7 </option>
  4846. <option value="8" <#
  4847. if ( 8 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  4848. #>>
  4849. 8 </option>
  4850. <option value="9" <#
  4851. if ( 9 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  4852. #>>
  4853. 9 </option>
  4854. </select>
  4855. </label>
  4856.  
  4857. <label class="setting">
  4858. <span>Random Order</span>
  4859. <input type="checkbox" data-setting="_orderbyRandom" />
  4860. </label>
  4861.  
  4862. <label class="setting size">
  4863. <span>Size</span>
  4864. <select class="size" name="size"
  4865. data-setting="size"
  4866. <# if ( data.userSettings ) { #>
  4867. data-user-setting="imgsize"
  4868. <# } #>
  4869. >
  4870. <option value="thumbnail">
  4871. Thumbnail </option>
  4872. <option value="medium">
  4873. Medium </option>
  4874. <option value="large">
  4875. Large </option>
  4876. <option value="full">
  4877. Full Size </option>
  4878. </select>
  4879. </label>
  4880. </script>
  4881.  
  4882. <script type="text/html" id="tmpl-playlist-settings">
  4883. <h2>Playlist Settings</h2>
  4884.  
  4885. <# var emptyModel = _.isEmpty( data.model ),
  4886. isVideo = 'video' === data.controller.get('library').props.get('type'); #>
  4887.  
  4888. <label class="setting">
  4889. <input type="checkbox" data-setting="tracklist" <# if ( emptyModel ) { #>
  4890. checked="checked"
  4891. <# } #> />
  4892. <# if ( isVideo ) { #>
  4893. <span>Show Video List</span>
  4894. <# } else { #>
  4895. <span>Show Tracklist</span>
  4896. <# } #>
  4897. </label>
  4898.  
  4899. <# if ( ! isVideo ) { #>
  4900. <label class="setting">
  4901. <input type="checkbox" data-setting="artists" <# if ( emptyModel ) { #>
  4902. checked="checked"
  4903. <# } #> />
  4904. <span>Show Artist Name in Tracklist</span>
  4905. </label>
  4906. <# } #>
  4907.  
  4908. <label class="setting">
  4909. <input type="checkbox" data-setting="images" <# if ( emptyModel ) { #>
  4910. checked="checked"
  4911. <# } #> />
  4912. <span>Show Images</span>
  4913. </label>
  4914. </script>
  4915.  
  4916. <script type="text/html" id="tmpl-embed-link-settings">
  4917. <label class="setting link-text">
  4918. <span>Link Text</span>
  4919. <input type="text" class="alignment" data-setting="linkText" />
  4920. </label>
  4921. <div class="embed-container" style="display: none;">
  4922. <div class="embed-preview"></div>
  4923. </div>
  4924. </script>
  4925.  
  4926. <script type="text/html" id="tmpl-embed-image-settings">
  4927. <div class="thumbnail">
  4928. <img src="{{ data.model.url }}" draggable="false" alt="" />
  4929. </div>
  4930.  
  4931. <label class="setting caption">
  4932. <span>Caption</span>
  4933. <textarea data-setting="caption" />
  4934. </label>
  4935.  
  4936. <label class="setting alt-text">
  4937. <span>Alt Text</span>
  4938. <input type="text" data-setting="alt" />
  4939. </label>
  4940.  
  4941. <div class="setting align">
  4942. <span>Align</span>
  4943. <div class="button-group button-large" data-setting="align">
  4944. <button class="button" value="left">
  4945. Left </button>
  4946. <button class="button" value="center">
  4947. Center </button>
  4948. <button class="button" value="right">
  4949. Right </button>
  4950. <button class="button active" value="none">
  4951. None </button>
  4952. </div>
  4953. </div>
  4954.  
  4955. <div class="setting link-to">
  4956. <span>Link To</span>
  4957. <div class="button-group button-large" data-setting="link">
  4958. <button class="button" value="file">
  4959. Image URL </button>
  4960. <button class="button" value="custom">
  4961. Custom URL </button>
  4962. <button class="button active" value="none">
  4963. None </button>
  4964. </div>
  4965. <input type="text" class="link-to-custom" data-setting="linkUrl" />
  4966. </div>
  4967. </script>
  4968.  
  4969. <script type="text/html" id="tmpl-image-details">
  4970. <div class="media-embed">
  4971. <div class="embed-media-settings">
  4972. <div class="column-image">
  4973. <div class="image">
  4974. <img src="{{ data.model.url }}" draggable="false" alt="" />
  4975.  
  4976. <# if ( data.attachment && window.imageEdit ) { #>
  4977. <div class="actions">
  4978. <input type="button" class="edit-attachment button" value="Edit Original" />
  4979. <input type="button" class="replace-attachment button" value="Replace" />
  4980. </div>
  4981. <# } #>
  4982. </div>
  4983. </div>
  4984. <div class="column-settings">
  4985. <label class="setting caption">
  4986. <span>Caption</span>
  4987. <textarea data-setting="caption">{{ data.model.caption }}</textarea>
  4988. </label>
  4989.  
  4990. <label class="setting alt-text">
  4991. <span>Alternative Text</span>
  4992. <input type="text" data-setting="alt" value="{{ data.model.alt }}" />
  4993. </label>
  4994.  
  4995. <h2>Display Settings</h2>
  4996. <div class="setting align">
  4997. <span>Align</span>
  4998. <div class="button-group button-large" data-setting="align">
  4999. <button class="button" value="left">
  5000. Left </button>
  5001. <button class="button" value="center">
  5002. Center </button>
  5003. <button class="button" value="right">
  5004. Right </button>
  5005. <button class="button active" value="none">
  5006. None </button>
  5007. </div>
  5008. </div>
  5009.  
  5010. <# if ( data.attachment ) { #>
  5011. <# if ( 'undefined' !== typeof data.attachment.sizes ) { #>
  5012. <label class="setting size">
  5013. <span>Size</span>
  5014. <select class="size" name="size"
  5015. data-setting="size"
  5016. <# if ( data.userSettings ) { #>
  5017. data-user-setting="imgsize"
  5018. <# } #>>
  5019. <#
  5020. var size = data.sizes['thumbnail'];
  5021. if ( size ) { #>
  5022. <option value="thumbnail">
  5023. Thumbnail &ndash; {{ size.width }} &times; {{ size.height }}
  5024. </option>
  5025. <# } #>
  5026. <#
  5027. var size = data.sizes['medium'];
  5028. if ( size ) { #>
  5029. <option value="medium">
  5030. Medium &ndash; {{ size.width }} &times; {{ size.height }}
  5031. </option>
  5032. <# } #>
  5033. <#
  5034. var size = data.sizes['large'];
  5035. if ( size ) { #>
  5036. <option value="large">
  5037. Large &ndash; {{ size.width }} &times; {{ size.height }}
  5038. </option>
  5039. <# } #>
  5040. <#
  5041. var size = data.sizes['full'];
  5042. if ( size ) { #>
  5043. <option value="full">
  5044. Full Size &ndash; {{ size.width }} &times; {{ size.height }}
  5045. </option>
  5046. <# } #>
  5047. <option value="custom">
  5048. Custom Size </option>
  5049. </select>
  5050. </label>
  5051. <# } #>
  5052. <div class="custom-size<# if ( data.model.size !== 'custom' ) { #> hidden<# } #>">
  5053. <label><span>Width <small>(px)</small></span> <input data-setting="customWidth" type="number" step="1" value="{{ data.model.customWidth }}" /></label><span class="sep">&times;</span><label><span>Height <small>(px)</small></span><input data-setting="customHeight" type="number" step="1" value="{{ data.model.customHeight }}" /></label>
  5054. </div>
  5055. <# } #>
  5056.  
  5057. <div class="setting link-to">
  5058. <span>Link To</span>
  5059. <select data-setting="link">
  5060. <# if ( data.attachment ) { #>
  5061. <option value="file">
  5062. Media File </option>
  5063. <option value="post">
  5064. Attachment Page </option>
  5065. <# } else { #>
  5066. <option value="file">
  5067. Image URL </option>
  5068. <# } #>
  5069. <option value="custom">
  5070. Custom URL </option>
  5071. <option value="none">
  5072. None </option>
  5073. </select>
  5074. <input type="text" class="link-to-custom" data-setting="linkUrl" />
  5075. </div>
  5076. <div class="advanced-section">
  5077. <h2><button type="button" class="button-link advanced-toggle">Advanced Options</button></h2>
  5078. <div class="advanced-settings hidden">
  5079. <div class="advanced-image">
  5080. <label class="setting title-text">
  5081. <span>Image Title Attribute</span>
  5082. <input type="text" data-setting="title" value="{{ data.model.title }}" />
  5083. </label>
  5084. <label class="setting extra-classes">
  5085. <span>Image CSS Class</span>
  5086. <input type="text" data-setting="extraClasses" value="{{ data.model.extraClasses }}" />
  5087. </label>
  5088. </div>
  5089. <div class="advanced-link">
  5090. <div class="setting link-target">
  5091. <label><input type="checkbox" data-setting="linkTargetBlank" value="_blank" <# if ( data.model.linkTargetBlank ) { #>checked="checked"<# } #>>Open link in a new tab</label>
  5092. </div>
  5093. <label class="setting link-rel">
  5094. <span>Link Rel</span>
  5095. <input type="text" data-setting="linkRel" value="{{ data.model.linkClassName }}" />
  5096. </label>
  5097. <label class="setting link-class-name">
  5098. <span>Link CSS Class</span>
  5099. <input type="text" data-setting="linkClassName" value="{{ data.model.linkClassName }}" />
  5100. </label>
  5101. </div>
  5102. </div>
  5103. </div>
  5104. </div>
  5105. </div>
  5106. </div>
  5107. </script>
  5108.  
  5109. <script type="text/html" id="tmpl-image-editor">
  5110. <div id="media-head-{{ data.id }}"></div>
  5111. <div id="image-editor-{{ data.id }}"></div>
  5112. </script>
  5113.  
  5114. <script type="text/html" id="tmpl-audio-details">
  5115. <# var ext, html5types = {
  5116. mp3: wp.media.view.settings.embedMimes.mp3,
  5117. ogg: wp.media.view.settings.embedMimes.ogg
  5118. }; #>
  5119.  
  5120. <div class="media-embed media-embed-details">
  5121. <div class="embed-media-settings embed-audio-settings">
  5122. <audio style="visibility: hidden"
  5123. controls
  5124. class="wp-audio-shortcode"
  5125. width="{{ _.isUndefined( data.model.width ) ? 400 : data.model.width }}"
  5126. preload="{{ _.isUndefined( data.model.preload ) ? 'none' : data.model.preload }}"
  5127. <#
  5128. if ( ! _.isUndefined( data.model.autoplay ) && data.model.autoplay ) {
  5129. #> autoplay<#
  5130. }
  5131. if ( ! _.isUndefined( data.model.loop ) && data.model.loop ) {
  5132. #> loop<#
  5133. }
  5134. #>
  5135. >
  5136. <# if ( ! _.isEmpty( data.model.src ) ) { #>
  5137. <source src="{{ data.model.src }}" type="{{ wp.media.view.settings.embedMimes[ data.model.src.split('.').pop() ] }}" />
  5138. <# } #>
  5139.  
  5140. <# if ( ! _.isEmpty( data.model.mp3 ) ) { #>
  5141. <source src="{{ data.model.mp3 }}" type="{{ wp.media.view.settings.embedMimes[ 'mp3' ] }}" />
  5142. <# } #>
  5143. <# if ( ! _.isEmpty( data.model.ogg ) ) { #>
  5144. <source src="{{ data.model.ogg }}" type="{{ wp.media.view.settings.embedMimes[ 'ogg' ] }}" />
  5145. <# } #>
  5146. <# if ( ! _.isEmpty( data.model.wma ) ) { #>
  5147. <source src="{{ data.model.wma }}" type="{{ wp.media.view.settings.embedMimes[ 'wma' ] }}" />
  5148. <# } #>
  5149. <# if ( ! _.isEmpty( data.model.m4a ) ) { #>
  5150. <source src="{{ data.model.m4a }}" type="{{ wp.media.view.settings.embedMimes[ 'm4a' ] }}" />
  5151. <# } #>
  5152. <# if ( ! _.isEmpty( data.model.wav ) ) { #>
  5153. <source src="{{ data.model.wav }}" type="{{ wp.media.view.settings.embedMimes[ 'wav' ] }}" />
  5154. <# } #>
  5155. </audio>
  5156.  
  5157. <# if ( ! _.isEmpty( data.model.src ) ) {
  5158. ext = data.model.src.split('.').pop();
  5159. if ( html5types[ ext ] ) {
  5160. delete html5types[ ext ];
  5161. }
  5162. #>
  5163. <label class="setting">
  5164. <span>SRC</span>
  5165. <input type="text" disabled="disabled" data-setting="src" value="{{ data.model.src }}" />
  5166. <button type="button" class="button-link remove-setting">Remove audio source</button>
  5167. </label>
  5168. <# } #>
  5169. <# if ( ! _.isEmpty( data.model.mp3 ) ) {
  5170. if ( ! _.isUndefined( html5types.mp3 ) ) {
  5171. delete html5types.mp3;
  5172. }
  5173. #>
  5174. <label class="setting">
  5175. <span>MP3</span>
  5176. <input type="text" disabled="disabled" data-setting="mp3" value="{{ data.model.mp3 }}" />
  5177. <button type="button" class="button-link remove-setting">Remove audio source</button>
  5178. </label>
  5179. <# } #>
  5180. <# if ( ! _.isEmpty( data.model.ogg ) ) {
  5181. if ( ! _.isUndefined( html5types.ogg ) ) {
  5182. delete html5types.ogg;
  5183. }
  5184. #>
  5185. <label class="setting">
  5186. <span>OGG</span>
  5187. <input type="text" disabled="disabled" data-setting="ogg" value="{{ data.model.ogg }}" />
  5188. <button type="button" class="button-link remove-setting">Remove audio source</button>
  5189. </label>
  5190. <# } #>
  5191. <# if ( ! _.isEmpty( data.model.wma ) ) {
  5192. if ( ! _.isUndefined( html5types.wma ) ) {
  5193. delete html5types.wma;
  5194. }
  5195. #>
  5196. <label class="setting">
  5197. <span>WMA</span>
  5198. <input type="text" disabled="disabled" data-setting="wma" value="{{ data.model.wma }}" />
  5199. <button type="button" class="button-link remove-setting">Remove audio source</button>
  5200. </label>
  5201. <# } #>
  5202. <# if ( ! _.isEmpty( data.model.m4a ) ) {
  5203. if ( ! _.isUndefined( html5types.m4a ) ) {
  5204. delete html5types.m4a;
  5205. }
  5206. #>
  5207. <label class="setting">
  5208. <span>M4A</span>
  5209. <input type="text" disabled="disabled" data-setting="m4a" value="{{ data.model.m4a }}" />
  5210. <button type="button" class="button-link remove-setting">Remove audio source</button>
  5211. </label>
  5212. <# } #>
  5213. <# if ( ! _.isEmpty( data.model.wav ) ) {
  5214. if ( ! _.isUndefined( html5types.wav ) ) {
  5215. delete html5types.wav;
  5216. }
  5217. #>
  5218. <label class="setting">
  5219. <span>WAV</span>
  5220. <input type="text" disabled="disabled" data-setting="wav" value="{{ data.model.wav }}" />
  5221. <button type="button" class="button-link remove-setting">Remove audio source</button>
  5222. </label>
  5223. <# } #>
  5224.  
  5225. <# if ( ! _.isEmpty( html5types ) ) { #>
  5226. <div class="setting">
  5227. <span>Add alternate sources for maximum HTML5 playback:</span>
  5228. <div class="button-large">
  5229. <# _.each( html5types, function (mime, type) { #>
  5230. <button class="button add-media-source" data-mime="{{ mime }}">{{ type }}</button>
  5231. <# } ) #>
  5232. </div>
  5233. </div>
  5234. <# } #>
  5235.  
  5236. <div class="setting preload">
  5237. <span>Preload</span>
  5238. <div class="button-group button-large" data-setting="preload">
  5239. <button class="button" value="auto">Auto</button>
  5240. <button class="button" value="metadata">Metadata</button>
  5241. <button class="button active" value="none">None</button>
  5242. </div>
  5243. </div>
  5244.  
  5245. <label class="setting checkbox-setting">
  5246. <input type="checkbox" data-setting="autoplay" />
  5247. <span>Autoplay</span>
  5248. </label>
  5249.  
  5250. <label class="setting checkbox-setting">
  5251. <input type="checkbox" data-setting="loop" />
  5252. <span>Loop</span>
  5253. </label>
  5254. </div>
  5255. </div>
  5256. </script>
  5257.  
  5258. <script type="text/html" id="tmpl-video-details">
  5259. <# var ext, html5types = {
  5260. mp4: wp.media.view.settings.embedMimes.mp4,
  5261. ogv: wp.media.view.settings.embedMimes.ogv,
  5262. webm: wp.media.view.settings.embedMimes.webm
  5263. }; #>
  5264.  
  5265. <div class="media-embed media-embed-details">
  5266. <div class="embed-media-settings embed-video-settings">
  5267. <div class="wp-video-holder">
  5268. <#
  5269. var w = ! data.model.width || data.model.width > 640 ? 640 : data.model.width,
  5270. h = ! data.model.height ? 360 : data.model.height;
  5271.  
  5272. if ( data.model.width && w !== data.model.width ) {
  5273. h = Math.ceil( ( h * w ) / data.model.width );
  5274. }
  5275. #>
  5276.  
  5277. <# var w_rule = '', classes = [],
  5278. w, h, settings = wp.media.view.settings,
  5279. isYouTube = isVimeo = false;
  5280.  
  5281. if ( ! _.isEmpty( data.model.src ) ) {
  5282. isYouTube = data.model.src.match(/youtube|youtu\.be/);
  5283. isVimeo = -1 !== data.model.src.indexOf('vimeo');
  5284. }
  5285.  
  5286. if ( settings.contentWidth && data.model.width >= settings.contentWidth ) {
  5287. w = settings.contentWidth;
  5288. } else {
  5289. w = data.model.width;
  5290. }
  5291.  
  5292. if ( w !== data.model.width ) {
  5293. h = Math.ceil( ( data.model.height * w ) / data.model.width );
  5294. } else {
  5295. h = data.model.height;
  5296. }
  5297.  
  5298. if ( w ) {
  5299. w_rule = 'width: ' + w + 'px; ';
  5300. }
  5301.  
  5302. if ( isYouTube ) {
  5303. classes.push( 'youtube-video' );
  5304. }
  5305.  
  5306. if ( isVimeo ) {
  5307. classes.push( 'vimeo-video' );
  5308. }
  5309.  
  5310. #>
  5311. <div style="{{ w_rule }}" class="wp-video">
  5312. <video controls
  5313. class="wp-video-shortcode {{ classes.join( ' ' ) }}"
  5314. <# if ( w ) { #>width="{{ w }}"<# } #>
  5315. <# if ( h ) { #>height="{{ h }}"<# } #>
  5316. <#
  5317. if ( ! _.isUndefined( data.model.poster ) && data.model.poster ) {
  5318. #> poster="{{ data.model.poster }}"<#
  5319. } #>
  5320. preload="{{ _.isUndefined( data.model.preload ) ? 'metadata' : data.model.preload }}"<#
  5321. if ( ! _.isUndefined( data.model.autoplay ) && data.model.autoplay ) {
  5322. #> autoplay<#
  5323. }
  5324. if ( ! _.isUndefined( data.model.loop ) && data.model.loop ) {
  5325. #> loop<#
  5326. }
  5327. #>
  5328. >
  5329. <# if ( ! _.isEmpty( data.model.src ) ) {
  5330. if ( isYouTube ) { #>
  5331. <source src="{{ data.model.src }}" type="video/youtube" />
  5332. <# } else if ( isVimeo ) { #>
  5333. <source src="{{ data.model.src }}" type="video/vimeo" />
  5334. <# } else { #>
  5335. <source src="{{ data.model.src }}" type="{{ settings.embedMimes[ data.model.src.split('.').pop() ] }}" />
  5336. <# }
  5337. } #>
  5338.  
  5339. <# if ( data.model.mp4 ) { #>
  5340. <source src="{{ data.model.mp4 }}" type="{{ settings.embedMimes[ 'mp4' ] }}" />
  5341. <# } #>
  5342. <# if ( data.model.m4v ) { #>
  5343. <source src="{{ data.model.m4v }}" type="{{ settings.embedMimes[ 'm4v' ] }}" />
  5344. <# } #>
  5345. <# if ( data.model.webm ) { #>
  5346. <source src="{{ data.model.webm }}" type="{{ settings.embedMimes[ 'webm' ] }}" />
  5347. <# } #>
  5348. <# if ( data.model.ogv ) { #>
  5349. <source src="{{ data.model.ogv }}" type="{{ settings.embedMimes[ 'ogv' ] }}" />
  5350. <# } #>
  5351. <# if ( data.model.wmv ) { #>
  5352. <source src="{{ data.model.wmv }}" type="{{ settings.embedMimes[ 'wmv' ] }}" />
  5353. <# } #>
  5354. <# if ( data.model.flv ) { #>
  5355. <source src="{{ data.model.flv }}" type="{{ settings.embedMimes[ 'flv' ] }}" />
  5356. <# } #>
  5357. {{{ data.model.content }}}
  5358. </video>
  5359. </div>
  5360.  
  5361. <# if ( ! _.isEmpty( data.model.src ) ) {
  5362. ext = data.model.src.split('.').pop();
  5363. if ( html5types[ ext ] ) {
  5364. delete html5types[ ext ];
  5365. }
  5366. #>
  5367. <label class="setting">
  5368. <span>SRC</span>
  5369. <input type="text" disabled="disabled" data-setting="src" value="{{ data.model.src }}" />
  5370. <button type="button" class="button-link remove-setting">Remove video source</button>
  5371. </label>
  5372. <# } #>
  5373. <# if ( ! _.isEmpty( data.model.mp4 ) ) {
  5374. if ( ! _.isUndefined( html5types.mp4 ) ) {
  5375. delete html5types.mp4;
  5376. }
  5377. #>
  5378. <label class="setting">
  5379. <span>MP4</span>
  5380. <input type="text" disabled="disabled" data-setting="mp4" value="{{ data.model.mp4 }}" />
  5381. <button type="button" class="button-link remove-setting">Remove video source</button>
  5382. </label>
  5383. <# } #>
  5384. <# if ( ! _.isEmpty( data.model.m4v ) ) {
  5385. if ( ! _.isUndefined( html5types.m4v ) ) {
  5386. delete html5types.m4v;
  5387. }
  5388. #>
  5389. <label class="setting">
  5390. <span>M4V</span>
  5391. <input type="text" disabled="disabled" data-setting="m4v" value="{{ data.model.m4v }}" />
  5392. <button type="button" class="button-link remove-setting">Remove video source</button>
  5393. </label>
  5394. <# } #>
  5395. <# if ( ! _.isEmpty( data.model.webm ) ) {
  5396. if ( ! _.isUndefined( html5types.webm ) ) {
  5397. delete html5types.webm;
  5398. }
  5399. #>
  5400. <label class="setting">
  5401. <span>WEBM</span>
  5402. <input type="text" disabled="disabled" data-setting="webm" value="{{ data.model.webm }}" />
  5403. <button type="button" class="button-link remove-setting">Remove video source</button>
  5404. </label>
  5405. <# } #>
  5406. <# if ( ! _.isEmpty( data.model.ogv ) ) {
  5407. if ( ! _.isUndefined( html5types.ogv ) ) {
  5408. delete html5types.ogv;
  5409. }
  5410. #>
  5411. <label class="setting">
  5412. <span>OGV</span>
  5413. <input type="text" disabled="disabled" data-setting="ogv" value="{{ data.model.ogv }}" />
  5414. <button type="button" class="button-link remove-setting">Remove video source</button>
  5415. </label>
  5416. <# } #>
  5417. <# if ( ! _.isEmpty( data.model.wmv ) ) {
  5418. if ( ! _.isUndefined( html5types.wmv ) ) {
  5419. delete html5types.wmv;
  5420. }
  5421. #>
  5422. <label class="setting">
  5423. <span>WMV</span>
  5424. <input type="text" disabled="disabled" data-setting="wmv" value="{{ data.model.wmv }}" />
  5425. <button type="button" class="button-link remove-setting">Remove video source</button>
  5426. </label>
  5427. <# } #>
  5428. <# if ( ! _.isEmpty( data.model.flv ) ) {
  5429. if ( ! _.isUndefined( html5types.flv ) ) {
  5430. delete html5types.flv;
  5431. }
  5432. #>
  5433. <label class="setting">
  5434. <span>FLV</span>
  5435. <input type="text" disabled="disabled" data-setting="flv" value="{{ data.model.flv }}" />
  5436. <button type="button" class="button-link remove-setting">Remove video source</button>
  5437. </label>
  5438. <# } #>
  5439. </div>
  5440.  
  5441. <# if ( ! _.isEmpty( html5types ) ) { #>
  5442. <div class="setting">
  5443. <span>Add alternate sources for maximum HTML5 playback:</span>
  5444. <div class="button-large">
  5445. <# _.each( html5types, function (mime, type) { #>
  5446. <button class="button add-media-source" data-mime="{{ mime }}">{{ type }}</button>
  5447. <# } ) #>
  5448. </div>
  5449. </div>
  5450. <# } #>
  5451.  
  5452. <# if ( ! _.isEmpty( data.model.poster ) ) { #>
  5453. <label class="setting">
  5454. <span>Poster Image</span>
  5455. <input type="text" disabled="disabled" data-setting="poster" value="{{ data.model.poster }}" />
  5456. <button type="button" class="button-link remove-setting">Remove poster image</button>
  5457. </label>
  5458. <# } #>
  5459. <div class="setting preload">
  5460. <span>Preload</span>
  5461. <div class="button-group button-large" data-setting="preload">
  5462. <button class="button" value="auto">Auto</button>
  5463. <button class="button" value="metadata">Metadata</button>
  5464. <button class="button active" value="none">None</button>
  5465. </div>
  5466. </div>
  5467.  
  5468. <label class="setting checkbox-setting">
  5469. <input type="checkbox" data-setting="autoplay" />
  5470. <span>Autoplay</span>
  5471. </label>
  5472.  
  5473. <label class="setting checkbox-setting">
  5474. <input type="checkbox" data-setting="loop" />
  5475. <span>Loop</span>
  5476. </label>
  5477.  
  5478. <label class="setting" data-setting="content">
  5479. <span>Tracks (subtitles, captions, descriptions, chapters, or metadata)</span>
  5480. <#
  5481. var content = '';
  5482. if ( ! _.isEmpty( data.model.content ) ) {
  5483. var tracks = jQuery( data.model.content ).filter( 'track' );
  5484. _.each( tracks.toArray(), function (track) {
  5485. content += track.outerHTML; #>
  5486. <p>
  5487. <input class="content-track" type="text" value="{{ track.outerHTML }}" />
  5488. <button type="button" class="button-link remove-setting remove-track">Remove video track</button>
  5489. </p>
  5490. <# } ); #>
  5491. <# } else { #>
  5492. <em>There are no associated subtitles.</em>
  5493. <# } #>
  5494. <textarea class="hidden content-setting">{{ content }}</textarea>
  5495. </label>
  5496. </div>
  5497. </div>
  5498. </script>
  5499.  
  5500. <script type="text/html" id="tmpl-editor-gallery">
  5501. <# if ( data.attachments.length ) { #>
  5502. <div class="gallery gallery-columns-{{ data.columns }}">
  5503. <# _.each( data.attachments, function( attachment, index ) { #>
  5504. <dl class="gallery-item">
  5505. <dt class="gallery-icon">
  5506. <# if ( attachment.thumbnail ) { #>
  5507. <img src="{{ attachment.thumbnail.url }}" width="{{ attachment.thumbnail.width }}" height="{{ attachment.thumbnail.height }}" alt="" />
  5508. <# } else { #>
  5509. <img src="{{ attachment.url }}" alt="" />
  5510. <# } #>
  5511. </dt>
  5512. <# if ( attachment.caption ) { #>
  5513. <dd class="wp-caption-text gallery-caption">
  5514. {{{ data.verifyHTML( attachment.caption ) }}}
  5515. </dd>
  5516. <# } #>
  5517. </dl>
  5518. <# if ( index % data.columns === data.columns - 1 ) { #>
  5519. <br style="clear: both;">
  5520. <# } #>
  5521. <# } ); #>
  5522. </div>
  5523. <# } else { #>
  5524. <div class="wpview-error">
  5525. <div class="dashicons dashicons-format-gallery"></div><p>No items found.</p>
  5526. </div>
  5527. <# } #>
  5528. </script>
  5529.  
  5530. <script type="text/html" id="tmpl-crop-content">
  5531. <img class="crop-image" src="{{ data.url }}" alt="">
  5532. <div class="upload-errors"></div>
  5533. </script>
  5534.  
  5535. <script type="text/html" id="tmpl-site-icon-preview">
  5536. <h2>Preview</h2>
  5537. <strong>As a browser icon</strong>
  5538. <div class="favicon-preview">
  5539. <img src="images/browser.png" class="browser-preview" width="182" height="" alt="" />
  5540.  
  5541. <div class="favicon">
  5542. <img id="preview-favicon" src="{{ data.url }}" alt="Preview as a browser icon"/>
  5543. </div>
  5544. <span class="browser-title">Creative Guidance</span>
  5545. </div>
  5546.  
  5547. <strong>As an app icon</strong>
  5548. <div class="app-icon-preview">
  5549. <img id="preview-app-icon" src="{{ data.url }}" alt="Preview as an app icon"/>
  5550. </div>
  5551. </script>
  5552.  
  5553. <script type="text/html" id="tmpl-gf-shortcode-default-edit-form">
  5554.  
  5555. <form class="gf-edit-shortcode-form">
  5556.  
  5557. <h2 class="gf-edit-shortcode-form-title">Insert A Form</h2>
  5558. <br />
  5559. <div class="gf-edit-shortcode-form-required-attrs">
  5560. </div>
  5561. <br />
  5562. <div class="gf-edit-shortcode-form-standard-attrs">
  5563. </div>
  5564. <br />
  5565. <div>
  5566. <a href="javascript:void(0);" onclick="jQuery('#gf-edit-shortcode-form-advanced-attrs').toggle();" >Advanced Options</a>
  5567. </div>
  5568. <br />
  5569. <div id="gf-edit-shortcode-form-advanced-attrs" class="gf-edit-shortcode-form-advanced-attrs" style="display:none;">
  5570. </div>
  5571.  
  5572. <input id="gform-update-shortcode" type="button" class="button-primary" value="Update Form" />
  5573. <input id="gform-insert-shortcode" type="button" class="button-primary" value="Insert Form" />&nbsp;&nbsp;&nbsp;
  5574. <a id="gform-cancel-shortcode" class="button" style="color:#bbb;" href="#">Cancel</a>
  5575.  
  5576. </form>
  5577.  
  5578. </script>
  5579.  
  5580. <script type="text/html" id="tmpl-gf-shortcode-ui-field-text">
  5581. <div class="field-block">
  5582. <label for="gf-shortcode-attr-{{ data.attr }}">{{ data.label }} <a href="#" onclick="return false;" class="gf_tooltip tooltip tooltip_{{data.action}}_{{data.attr}}" title="{{data.tooltip}}"><i class='fa fa-question-circle'></i></a></label>
  5583. <input type="text" name="{{ data.attr }}" id="gf-shortcode-attr-{{ data.attr }}" value="{{ data.value }}"/>
  5584. <div style="padding:8px 0 0 0; font-size:11px; font-style:italic; color:#5A5A5A">{{ data.description }}</div>
  5585. </div>
  5586. </script>
  5587.  
  5588. <script type="text/html" id="tmpl-gf-shortcode-ui-field-url">
  5589. <div class="field-block">
  5590. <label for="gf-shortcode-attr-{{ data.attr }}">{{ data.label }} <a href="#" onclick="return false;" class="gf_tooltip tooltip tooltip_{{data.action}}_{{data.attr}}" title="{{data.tooltip}}"><i class='fa fa-question-circle'></i></a></label>
  5591. <input type="url" name="{{ data.attr }}" id="gf-shortcode-attr-{{ data.attr }}" value="{{ data.value }}" class="code"/>
  5592. </div>
  5593. </script>
  5594.  
  5595. <script type="text/html" id="tmpl-gf-shortcode-ui-field-textarea">
  5596. <div class="field-block">
  5597. <label for="gf-shortcode-attr-{{ data.attr }}">{{ data.label }} <a href="#" onclick="return false;" class="gf_tooltip tooltip tooltip_{{data.action}}_{{data.attr}}" title="{{data.tooltip}}"><i class='fa fa-question-circle'></i></a></label>
  5598. <textarea name="{{ data.attr }}" id="gf-shortcode-attr-{{ data.attr }}">{{ data.value }}</textarea>
  5599. </div>
  5600.  
  5601. </script>
  5602.  
  5603. <script type="text/html" id="tmpl-gf-shortcode-ui-field-select">
  5604. <div class="field-block">
  5605. <label for="gf-shortcode-attr-{{ data.attr }}">{{ data.label }} <a href="#" onclick="return false;" class="gf_tooltip tooltip tooltip_{{data.action}}_{{data.attr}}" title="{{data.tooltip}}"><i class='fa fa-question-circle'></i></a></label>
  5606. <select name="{{ data.attr }}" id="gf-shortcode-attr-{{ data.attr }}">
  5607. <# _.each( data.options, function( label, value ) { #>
  5608. <option value="{{ value }}" <# if ( value == data.value ){ print('selected'); }; #> <# if (data.attr == 'id' && value == '') { print('disabled="disabled"')}; #>>{{ label }}</option>
  5609. <# }); #>
  5610. </select>
  5611. </div>
  5612. <div style="padding:8px 0 0 0; font-size:11px; font-style:italic; color:#5A5A5A">{{ data.description }}</div>
  5613. </script>
  5614.  
  5615. <script type="text/html" id="tmpl-gf-shortcode-ui-field-radio">
  5616. <div class="field-block">
  5617. <label for="gf-shortcode-attr-{{ data.attr }}-{{ value }}">{{ data.label }} <a href="#" onclick="return false;" class="gf_tooltip tooltip tooltip_{{data.action}}_{{data.attr}}" title="{{data.tooltip}}"><i class='fa fa-question-circle'></i></a></label>
  5618. <# _.each( data.options, function( label, value ) { #>
  5619. <input id="gf-shortcode-attr-{{ data.attr }}-{{ value }}" type="radio" name="{{ data.attr }}" value="{{ value }}" <# if ( value == data.value ){ print('checked'); } #>>{{ label }}<br />
  5620. <# }); #>
  5621. </div>
  5622. </script>
  5623.  
  5624. <script type="text/html" id="tmpl-gf-shortcode-ui-field-checkbox">
  5625. <input type="checkbox" name="{{ data.attr }}" id="gf-shortcode-attr-{{ data.attr }}" value="true" <# var val = ! data.value && data.default != undefined ? data.default : data.value; if ('true' == data.value ){ print('checked'); } #>>
  5626. <label for="gf-shortcode-attr-{{ data.attr }}">{{ data.label }} <a href="#" onclick="return false;" class="gf_tooltip tooltip tooltip_{{data.action}}_{{data.attr}}" title="{{data.tooltip}}"><i class='fa fa-question-circle'></i></a></label>
  5627. </script>
  5628.  
  5629. <script type="text/html" id="tmpl-gf-shortcode-ui-field-email">
  5630. <div class="field-block">
  5631. <label for="gf-shortcode-attr-{{ data.attr }}">{{ data.label }} <a href="#" onclick="return false;" class="gf_tooltip tooltip tooltip_{{data.action}}_{{data.attr}}" title="{{data.tooltip}}"><i class='fa fa-question-circle'></i></a></label>
  5632. <input type="email" name="{{ data.attr }}" id="gf-shortcode-attr-{{ data.attr }}" value="{{ data.value}}" />
  5633. </div>
  5634. </script>
  5635.  
  5636. <script type="text/html" id="tmpl-gf-shortcode-ui-field-number">
  5637. <div class="field-block">
  5638. <label for="gf-shortcode-attr-{{ data.attr }}">{{ data.label }} <a href="#" onclick="return false;" class="gf_tooltip tooltip tooltip_{{data.action}}_{{data.attr}}" title="{{data.tooltip}}"><i class='fa fa-question-circle'></i></a></label>
  5639. <input type="number" name="{{ data.attr }}" id="gf-shortcode-attr-{{ data.attr }}" value="{{ data.value}}" />
  5640. </div>
  5641. </script>
  5642.  
  5643. <script type="text/html" id="tmpl-gf-shortcode-ui-field-hidden">
  5644. <div class="field-block">
  5645. <input type="hidden" name="{{ data.attr }}" id="gf-shortcode-attr-{{ data.attr }}" value="true" />
  5646. </div>
  5647. </script>
  5648.  
  5649. <script type="text/html" id="tmpl-gf-shortcode-ui-field-date">
  5650. <div class="field-block">
  5651. <label for="gf-shortcode-attr-{{ data.attr }}">{{ data.label }} <a href="#" onclick="return false;" class="gf_tooltip tooltip tooltip_{{data.action}}_{{data.attr}}" title="{{data.tooltip}}"><i class='fa fa-question-circle'></i></a></label>
  5652. <input type="date" name="{{ data.attr }}" id="gf-shortcode-attr-{{ data.attr }}" value="{{ data.value }}" />
  5653. </div>
  5654. </script> <script type="text/html" id="tmpl-jetpack-gallery-settings">
  5655. <label class="setting">
  5656. <span>Type</span>
  5657. <select class="type" name="type" data-setting="type">
  5658. <option value="default" selected='selected'>Thumbnail Grid</option>
  5659. <option value="rectangular" >Tiled Mosaic</option>
  5660. <option value="square" >Square Tiles</option>
  5661. <option value="circle" >Circles</option>
  5662. <option value="columns" >Tiled Columns</option>
  5663. <option value="slideshow" >Slideshow</option>
  5664. <option value="divi" >Divi</option>
  5665. </select>
  5666. </label>
  5667. </script>
  5668. <div id="wp-auth-check-wrap" class="hidden">
  5669. <div id="wp-auth-check-bg"></div>
  5670. <div id="wp-auth-check">
  5671. <div class="wp-auth-check-close" tabindex="0" title="Close"></div>
  5672. <div id="wp-auth-check-form" data-src="http://creativeguidance.com/wp-login.php?interim-login=1"></div>
  5673. <div class="wp-auth-fallback">
  5674. <p><b class="wp-auth-fallback-expired" tabindex="0">Session expired</b></p>
  5675. <p><a href="http://creativeguidance.com/wp-login.php" target="_blank">Please log in again.</a>
  5676. The login page will open in a new window. After logging in you can close it and return to this page.</p>
  5677. </div>
  5678. </div>
  5679. </div>
  5680.  
  5681. <script type='text/javascript'>
  5682. /* <![CDATA[ */
  5683. var commonL10n = {"warnDelete":"You are about to permanently delete these items.\n 'Cancel' to stop, 'OK' to delete.","dismiss":"Dismiss this notice."};var thickboxL10n = {"next":"Next >","prev":"< Prev","image":"Image","of":"of","close":"Close","noiframes":"This feature requires inline frames. You have iframes disabled or your browser does not support them.","loadingAnimation":"http:\/\/creativeguidance.com\/wp-includes\/js\/thickbox\/loadingAnimation.gif"};var _wpUtilSettings = {"ajax":{"url":"\/wp-admin\/admin-ajax.php"}};var _wpMediaModelsL10n = {"settings":{"ajaxurl":"\/wp-admin\/admin-ajax.php","post":{"id":0}}};var pluploadL10n = {"queue_limit_exceeded":"You have attempted to queue too many files.","file_exceeds_size_limit":"%s exceeds the maximum upload size for this site.","zero_byte_file":"This file is empty. Please try another.","invalid_filetype":"This file type is not allowed. Please try another.","not_an_image":"This file is not an image. Please try another.","image_memory_exceeded":"Memory exceeded. Please try another smaller file.","image_dimensions_exceeded":"This is larger than the maximum size. Please try another.","default_error":"An error occurred in the upload. Please try again later.","missing_upload_url":"There was a configuration error. Please contact the server administrator.","upload_limit_exceeded":"You may only upload 1 file.","http_error":"HTTP error.","upload_failed":"Upload failed.","big_upload_failed":"Please try uploading this file with the %1$sbrowser uploader%2$s.","big_upload_queued":"%s exceeds the maximum upload size for the multi-file uploader when used in your browser.","io_error":"IO error.","security_error":"Security error.","file_cancelled":"File canceled.","upload_stopped":"Upload stopped.","dismiss":"Dismiss","crunching":"Crunching\u2026","deleted":"moved to the trash.","error_uploading":"\u201c%s\u201d has failed to upload."};
  5684. var _wpPluploadSettings = {"defaults":{"runtimes":"html5,flash,silverlight,html4","file_data_name":"async-upload","url":"\/wp-admin\/async-upload.php","flash_swf_url":"http:\/\/creativeguidance.com\/wp-includes\/js\/plupload\/plupload.flash.swf","silverlight_xap_url":"http:\/\/creativeguidance.com\/wp-includes\/js\/plupload\/plupload.silverlight.xap","filters":{"max_file_size":"67108864b"},"multipart_params":{"action":"upload-attachment","_wpnonce":"1ea4cdcc55"}},"browser":{"mobile":false,"supported":true},"limitExceeded":false};var mejsL10n = {"language":"en-US","strings":{"Close":"Close","Fullscreen":"Fullscreen","Download File":"Download File","Download Video":"Download Video","Play\/Pause":"Play\/Pause","Mute Toggle":"Mute Toggle","None":"None","Turn off Fullscreen":"Turn off Fullscreen","Go Fullscreen":"Go Fullscreen","Unmute":"Unmute","Mute":"Mute","Captions\/Subtitles":"Captions\/Subtitles"}};
  5685. var _wpmejsSettings = {"pluginPath":"\/wp-includes\/js\/mediaelement\/"};var _wpMediaViewsL10n = {"url":"URL","addMedia":"Add Media","search":"Search","select":"Select","cancel":"Cancel","update":"Update","replace":"Replace","remove":"Remove","back":"Back","selected":"%d selected","dragInfo":"Drag and drop to reorder media files.","uploadFilesTitle":"Upload Files","uploadImagesTitle":"Upload Images","mediaLibraryTitle":"Media Library","insertMediaTitle":"Insert Media","createNewGallery":"Create a new gallery","createNewPlaylist":"Create a new playlist","createNewVideoPlaylist":"Create a new video playlist","returnToLibrary":"\u2190 Return to library","allMediaItems":"All media items","allDates":"All dates","noItemsFound":"No items found.","insertIntoPost":"Insert into post","unattached":"Unattached","trash":"Trash","uploadedToThisPost":"Uploaded to this post","warnDelete":"You are about to permanently delete this item.\n 'Cancel' to stop, 'OK' to delete.","warnBulkDelete":"You are about to permanently delete these items.\n 'Cancel' to stop, 'OK' to delete.","warnBulkTrash":"You are about to trash these items.\n 'Cancel' to stop, 'OK' to delete.","bulkSelect":"Bulk Select","cancelSelection":"Cancel Selection","trashSelected":"Trash Selected","untrashSelected":"Untrash Selected","deleteSelected":"Delete Selected","deletePermanently":"Delete Permanently","apply":"Apply","filterByDate":"Filter by date","filterByType":"Filter by type","searchMediaLabel":"Search Media","noMedia":"No media attachments found.","attachmentDetails":"Attachment Details","insertFromUrlTitle":"Insert from URL","setFeaturedImageTitle":"Featured Image","setFeaturedImage":"Set featured image","createGalleryTitle":"Create Gallery","editGalleryTitle":"Edit Gallery","cancelGalleryTitle":"\u2190 Cancel Gallery","insertGallery":"Insert gallery","updateGallery":"Update gallery","addToGallery":"Add to gallery","addToGalleryTitle":"Add to Gallery","reverseOrder":"Reverse order","imageDetailsTitle":"Image Details","imageReplaceTitle":"Replace Image","imageDetailsCancel":"Cancel Edit","editImage":"Edit Image","chooseImage":"Choose Image","selectAndCrop":"Select and Crop","skipCropping":"Skip Cropping","cropImage":"Crop Image","cropYourImage":"Crop your image","cropping":"Cropping\u2026","suggestedDimensions":"Suggested image dimensions:","cropError":"There has been an error cropping your image.","audioDetailsTitle":"Audio Details","audioReplaceTitle":"Replace Audio","audioAddSourceTitle":"Add Audio Source","audioDetailsCancel":"Cancel Edit","videoDetailsTitle":"Video Details","videoReplaceTitle":"Replace Video","videoAddSourceTitle":"Add Video Source","videoDetailsCancel":"Cancel Edit","videoSelectPosterImageTitle":"Select Poster Image","videoAddTrackTitle":"Add Subtitles","playlistDragInfo":"Drag and drop to reorder tracks.","createPlaylistTitle":"Create Audio Playlist","editPlaylistTitle":"Edit Audio Playlist","cancelPlaylistTitle":"\u2190 Cancel Audio Playlist","insertPlaylist":"Insert audio playlist","updatePlaylist":"Update audio playlist","addToPlaylist":"Add to audio playlist","addToPlaylistTitle":"Add to Audio Playlist","videoPlaylistDragInfo":"Drag and drop to reorder videos.","createVideoPlaylistTitle":"Create Video Playlist","editVideoPlaylistTitle":"Edit Video Playlist","cancelVideoPlaylistTitle":"\u2190 Cancel Video Playlist","insertVideoPlaylist":"Insert video playlist","updateVideoPlaylist":"Update video playlist","addToVideoPlaylist":"Add to video playlist","addToVideoPlaylistTitle":"Add to Video Playlist","settings":{"tabs":[],"tabUrl":"http:\/\/creativeguidance.com\/wp-admin\/media-upload.php?chromeless=1","mimeTypes":{"image":"Images","audio":"Audio","video":"Video"},"captions":true,"nonce":{"sendToEditor":"7f9b3d6453"},"post":{"id":0},"defaultProps":{"link":"","align":"","size":""},"attachmentCounts":{"audio":0,"video":1},"embedExts":["mp3","ogg","wma","m4a","wav","mp4","m4v","webm","ogv","wmv","flv"],"embedMimes":{"mp3":"audio\/mpeg","ogg":"audio\/ogg","wma":"audio\/x-ms-wma","m4a":"audio\/mpeg","wav":"audio\/wav","mp4":"video\/mp4","m4v":"video\/mp4","webm":"video\/webm","ogv":"video\/ogg","wmv":"video\/x-ms-wmv","flv":"video\/x-flv"},"contentWidth":1080,"months":[{"year":"2016","month":"1","text":"January 2016"},{"year":"2015","month":"12","text":"December 2015"},{"year":"2015","month":"11","text":"November 2015"},{"year":"2015","month":"4","text":"April 2015"},{"year":"2015","month":"3","text":"March 2015"},{"year":"2015","month":"2","text":"February 2015"},{"year":"2015","month":"1","text":"January 2015"}],"mediaTrash":0}};/* ]]> */
  5686. </script>
  5687. <script type='text/javascript' src='http://creativeguidance.com/wp-admin/load-scripts.php?c=1&amp;load%5B%5D=hoverIntent,common,admin-bar,thickbox,svg-painter,underscore,shortcode,backbone,wp-util,wp-backbone,media-models,wp-plupload,jqu&amp;load%5B%5D=ery-ui-mouse,jquery-ui-sortable,mediaelement,wp-mediaelement,media-views,media-editor,jquery-ui-draggable,jquery-ui-droppable,jq&amp;load%5B%5D=uery-ui-tabs,sack&amp;ver=4.4.1'></script>
  5688.  
  5689. <div class="clear"></div></div><!-- wpwrap -->
  5690. <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
  5691. </body>
  5692. </html>
Add Comment
Please, Sign In to add comment