Question:
Is it possible to add html/java to a CMS that auto generates forms for individual email contacts in the CMS? Product:
Wix Studio Editor
What are you trying to achieve:
I am creating a list groups that meet in-person, each have individual main contacts to sign up. I want a site visitor to be able to click “Join Group” and a form is generated (doesn’t have to be Wix) with fields for name, email and phone number. The form should send the information in an email format to the group leader associated with the group.
Auto-Loading different forms, can be done by using a CUSTOM-ELEMENT or HTML-Component.
You then can use POST-MESSAGE method to send and recieve data to and from your iFrame (HTML-comp).
This fore, generate your database including the “iFrameCode” property (DB-COLUMNS) inside your database, where you will store your HTML+CSS-Codecombinations to load them dynamically into your iFrames, depending on which item has been selected (DB-ROWS). Use dynamic pages in combination with iFrames (HTML-Comps.) or Custom-Elements.
When you say ‘auto generate’ forms, what exactly do you mean?
What is your flow?
Do you simply want to send the details of the user to the group leader via email? Then there are no forms here, this can be setup using Velo and an automated Email service provider such as Wix Triggered Emails or Sengrid.
OR
Do you want to prefill the user details in a form and collect additional info as well, and when the user clicks on send, it goes over to the group leader’s email? That can also be done with forms built using custom input elements and automations, along with a little bit of code.
Then you can either embed various forms such as a Google Form or Jotform with the user info pre-filled using code.