Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

AKA – WuFoo Embed

Contents

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:

<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

  • No labels