How to create this exact support form.

Hello. I am trying to replicate EXACTLY this support form where it changes the look of the dropdown depending on what category you choose. https://www.empi.re/contact.php

Please create a sample website to help me figure this out. Thank you!

Hi,
I made this sample site:
https://arthurvalatin.wixsite.com/mysite-19/blank
(#text16 is the text that will change when the dropdown is selected. I also included to other text. When Chocolate is selected, the text #text17 will show. All texts are hidden on load. You can show other content when a serten word is selected. Make sure that the dropdown has an on_change event in the properties panel.)
Here is the code:

export function dropdown1_change(event) {
 var word = $w("#dropdown1").value
    $w("#text16").text = word
    $w("#text16").show();
    $w("#dropdown1").hide();
    
    if($w("#text12").text === 'Chocolate') {
        $w("#text17").show();
      } else {
        $w("#text17").hide();   
      }
 
 if($w("#text12").text === 'Vanilla') {
        $w("#text18").show();
      } else {
        $w("#text18").hide();   
      }
 if($w("#text12").text === 'Strawberry') {
        $w("#text19").show();
      } else {
        $w("#text19").hide();   
      }
 if($w("#text12").text === 'Rocky Road') {
        $w("#text20").show();
      } else {
        $w("#text20").hide();   
      }

}


//I updated the code & site so it is better now.

Thank you! I got the dropdown part done. Only, I am a bit confused how to replicate the actual contact form.

@muniturbusiness You want to make form with dataset or code? If you want to use datasets, you can watch this video:

@arthurvalatin Oh ok. I just wanted to have separate support forms for different categories. Also, how do I make it so the dropdown stays even if I click different forms? Please create a sample website.

@muniturbusiness ok. I am still working on it. You can see what I got so far here:
https://arthurvalatin.wixsite.com/mysite-19/blank

You got the idea of what you need to do?

So have you seen the sample form I made? It took a lot of time for me to make it for you. Do you want the code? It isn’t perfect, But it does work. I could give you the site if you want?

@arthurvalatin Yes sorry. I would like the code and stuff

It is such a good form, thank you. Can I have the website and code and stuff?

@muniturbusiness Ok. I think it is better to send you the site. Then you can use it & know how it works. Please come to the live site. We need to have a little chat (wix chat app) because I need your Email Address to send you the site. Don’t write your email here (in this forum) as it is too risky and anyone can see it.

Site URL: https://arthurvalatin.wixsite.com/mysite-19/blank

@arthurvalatin Alright, I sent you my email address via the chat. Please respond ASAP. Thanks!

@arthurvalatin Sorry, I am on an alt because my partner made the business password too complicated so I can not remember it. It is like 20 characters long!

Hi, I sent the site to you! It is a good form, but it isn’t 100% perfect. When a visitor submits the “Legal” form, the word “Legal” won’t get submitted to the “category” field in the database. This means, if the category field is empty, it will mean the category is “Legal”. The other categories do work. If you don’t mind this, you can keep it as it is. If you want this error to be fixed, I think you will need to submit the “Legal” form to the database using CODE (not datasets). I am sorry about this error but, I worked hard to make you this Ready2Go multi-form.

@arthurvalatin Yes thank you! Only problem is, it’s kind of hard to understand.