Creating your form
Forms work best when there is little to no styling when created. This helps as we won't have to remove styling and then add it again.
What does that bit of code do?
The code is so that we can make sure the form is styled correctly and to be able to detect when the form has been submitted. Since adding a custom form uses iframes, Turtl has no access to any data submitted through the form, and the information is passed directly to the designated CRM.