Hi everyone,
A client of mine is trying to embed a form provided by the local city government. We tried to embed it in a code block, but it isn't displaying. Can anyone look at this embed code and let us know why it isn't working and/or have any suggestions about what we need to do to make this work?
<!-- Element to inject OneBlink Form into -->
<div id="oneblink-form"></div>
<!-- Icons required in OneBlink Form. -->
<link rel="stylesheet" href=https://fonts.googleapis.com/icon?family=Material+Icons />
<!-- Script to load window.OneBlinkForms. -->
<script src=https://civicplus-forms.cdn.transform.civicplus.com/1.x.x.js></script>
<!-- Script to inject OneBlink Form into HTML element above. -->
<script>
window.addEventListener('load', function () {
// See https://github.com/oneblink/forms-cdn for documentation
// on all of the options available when rendering a OneBlink Form
OneBlinkForms.render({
selector: '#oneblink-form',
formId: 33287, // Durango Creates! Grant Application
formsAppId: 5844, // Municipal Services
// Change these to a URL you wish to send your users too
submissionRedirectUrl: ‘https://www.durangocreativedistrict.org’,
cancelRedirectUrl: 'https://www.durangocreativedistrict.org',
paymentReceiptUrl: 'https://www.durangocreativedistrict.org',
paymentFormUrl: 'https://www.durangocreativedistrict.org',
// (Conditionally Optional) A Google Maps API Key
// https://developers.google.com/maps/documentation/javascript/get-api-key
// Required if the form contains a `location` form element.
// googleMapsApiKey: '',
// (Optional) An identifier to match the form submission with in your system.
// externalId: '',
// (Optional) The data to pre-fill the OneBlink Form.
// preFillData: {},
})
})
</script>
thank you in advance!
Khara