Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

AKA – WuFoo Embed

Contents

Table of Contents
minLevel1
maxLevel3
exclude([Cc]ontents)
stylenone
typeflat
separatorpipe

Requirements

  • Allows user to add form onto any page using a WuFoo Embed form

  • All styling will be controlled within WuFoo

  • No data will be stored within Sitecore

CMS Fields

...

Field Label

Field Type

Required?

Notes

1

Embed script

text field

yes

Example:

Code Block
Example:
languagehtml
<div id="wufoo-wm838ce1wmhua7"> Fill out my <a href="https://asceforms.wufoo.com/forms/wm838ce1wmhua7"> online form </a>. </div>
<script type="text/javascript">
  var wm838ce1wmhua7;
  (function(d, t) {
    var s = d.createElement(t),
      options = {
        'userName': 'asceforms',
        'formHash': 'wm838ce1wmhua7',
        'autoResize': true,
        'height': '775',
        'async': true,
        'host': 'wufoo.com',
        'header': 'show',
        'ssl': true
      };
    s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'secure.wufoo.com/scripts/embed/form.js';
    s.onload = s.onreadystatechange = function() {
      var rs = this.readyState;
      if (rs)
        if (rs != 'complete')
          if (rs != 'loaded') return;
      try {
        wm838ce1wmhua7 = new WufooForm();
        wm838ce1wmhua7.initialize(options);
        wm838ce1wmhua7.display();
      } catch (e) {}
    };
    var scr = d.getElementsByTagName(t)[0],
      par = scr.parentNode;
    par.insertBefore(s, scr);
  })(document, 'script');
</script>

https://styleguide.asce.org/section-components.html#asgref-components-wufoo-form

...