Hello,
My apologies if this is a question better suited for a tech answer site like SO, but I thought I would ask hear due to the wealth of real world experience here.
My product needs to embed a form on the user’s web site. It seems to me that there are several ways to approach this:
-
Form builder creates HTML form, user pastes HTML into page. Could add a JS snippet for client side validation.
Pros: Easy to implement, should “blend in” to the client site better.
Cons: requires client to properly embed form, real validation will have to happen on my server, with an error page redirecting the form user back to the original form page, which isn’t user friendly. -
Form builder creates iframe to embed
Pros: Easy (again) to implement, validation can be handled without the form user leaving page.
Cons: Mobile unfriendly, will likely clash with user’s site. -
JavaScript snippet that shows a tab button, launches overlay with form. (See Drip widget at https://getambassador.com/) for one example.
Pros: Should be very simple for user to embed, validation can take place in overlay, can customize for mobile users.
Cons: Will require JavaScript to work at all, complex to implement, supporting JS libraries will add to page load time.
I think I can mitigate some of the installation hassle by offering to do it myself…may not be scalable in the long run, but could work to get things going. Given that my users are very non-technical, I am leaning towards option #3, but would love to hear your guys’ thoughts.