Change fields depending on dropdown menu in sign up page

@Andrés

Hello everyone,
when a new user signs up in my Tago RUN sign up page I need to (depending on his/her inputs give some permissions, show different dashboards, and more importantly ask for different information). For example, right now I have 3 different type of clients (there will be more types in the future), so I would like to have a dropdown menu in the sign up page where the user could select between: Type1, type2 and type 3 depending on what kind of user he/she is. This is important because depending on the type, I need to get from him different information, for example:
if Type1 user needs to input: Location, number of sensors and area of the room.
if Type2 user needs to input: area of the room, max power consumption and average goal temperature.

These are just made up but I guess you’ll get the point. So is there anyway to have a predefined dropdown menu which shows different fields according to the selection? Or atleast have different sign up pages?

I guess one option would be to complete this information via input forms in the dashboard once the user is registered, but all the widgets would be “broken” until this information is given.

Thanks, best regards,

Andrés

@Fabiano Eger

hi @velo-energy,

1- You can’t put this rule at your sign-up, you can just set put more fields, but text or number. To do that jus to the RUN > Sign up page > fields (see the image below).

2- You can create a default dashboard with a form widget that requires that information. The form widget supports your rule, for example, you can create a dropdown and depend on that selection will show the fields below as you want to.
Tip: In your form widget, you need to use the tool called “Fields Visibility”.

@Andrés

Hello @eger,
thanks for your answer. That is what I thought, however, is there anyway that this dashboard shows only at the beginning of the configuration so the user can’t easily change this values after the first time?

Regards,

Andrés

@Fabiano Eger

@velo-energy

Of course, the form has an option called “Send data to the bucket”, you can disable this option, so when the user clicks the “Submit” data it does not be saved automatically on the bucket.

So, how you will save this?
Well, the form widget, has an option to set an analysis script to run every time that it has been submitted. So, in this analysis script, you can control if your user already submitted data or not.

Additional Tip: The form has an option to capture the run user-id that is sending the data. It’s perfect for to you control what user is submitting data.

@Andrés

I see, then, through the analysis I can change the blueprint dashboard configuration to not show that tab anymore right? (Assuming I would do this in a different tab).

Thanks,

Andrés

@Fabiano Eger

hi @velo-energy,

I suggest you create a new dashboard to manage that information. And yes, via analysis you can manage the user visualization of this dashboard.

NOTE: You can manage the user visualization of the dashboard, but you can’t control which TAB the user can view. If a user has access to a dashboard, he can view all tabs.

@Andrés

Hi @eger,
got it! Thanks!