User Generated Remote Forms

We would like to allow our users to generate a form that can be embedded on the user website, collect customer data and send it back to our app for processing. I can customize the form with variables a user completes in Bubble and even integrate variables like tenantID, userID, formID, userWebsite.

I believe the Javascript to do this has to be hosted. Is there a way to do that in Bubble? We are collecting data on Shopify to have it written back to Bubble via API, processed and a response returned to the form.

Hi Chris,
Maybe use a Iframe? Create a new page within your Bubble app, and make the type of content user, and set up a slug (form id) for the user (www.yourdomain.com/slug).

<iframe src="www.domain.com/Current Page User's Slug" style="position:fixed;bottom:0px;right:0px;width:220px;height:270px;z-index:10000;border:none;margin:0 20px 20px 0;"></iframe>

Let the user place this piece of code on their website.

Regards,

1 Like

We contemplated that - have to give it a shot and see if it works. We could end up with thousands of pages embedded on sites. Interesting solution…

1 Like

Just make sure the user has a slug, and let them copy the code and place it in the header. Also add the page do the www.domain.com/page/slug.

1 Like