Onboarding.js
Render the Form
Now that you have an Onboarding Token and have passed it to the browser, you are ready to render the form.
This function uses document.getElementById
to find the div
using the passed in containerId
and injects the form there.
You can pass an optional onChange
handler to renderForm
which will get called when there are changes to the form.