Is it possible for an event information field to include Javascript for a donation form? I’ve tried adding it and every time I get an error of not being able to connect to the database.
Thanks,
Kevin
Is it possible for an event information field to include Javascript for a donation form? I’ve tried adding it and every time I get an error of not being able to connect to the database.
Thanks,
Kevin
Hi Kevin,
Sure thing, I’ve seen this working before.
First, you may need to allow-list the JS host domain:
And then second, some HTML/JS doesn’t play nicely with the TinyMCE WYSIWYG editor, so using a file include or a customizable file include is often the way to go. It’s a bit more setup work but is also much more foolproof:
Hope this helps!
I tried these steps on our dev server and it’s still now working. Could you give me an estimate if we wanted support to help with it?
Hi Kevin,
Sure thing—if you want to go ahead and reach out to support through the Request Help form, we can chat more about this.
Thanks!