OpnForm SDK: Programmatic form creation with custom domain
Hi,
using the new opnForm SDK i’ts possible to create a form programmatically without first needing to put an iframe in place.
But the form that is created is always relative to the current domain. This way i’ts only usable if the current domain matches the custom-domain set in opnform.
Is it possible to extend the create function to allow setting the domain?
Regards, Tyhrstan
Log in to comment and vote
Comments2
Julien
Sep 30
Thanks for the suggestion! This is now live: you can pass a full form URL or use the baseUrl option in opnform.create(). We've updated the docs here: https://docs.opnform.com/embedding/javascript-sdk#programmatic-form-creation
Development SteamTalmark
Sep 30
awesome! 🙌