...
| Field Label | Field Type | Required? | Notes |
---|
1 | Embed script | text field | yes | Example: Code Block |
---|
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
...