so I wanted to walk you through a component, that I built.
00:07
And, it's based off of a component that allows you to build forms.
00:12
And so, as you see here, I have a question.
00:15
and this is super easy.
00:18
You know, we can adjust it to say, you know, how are you feeling today?
00:25
Right.
00:26
and then what we can do is say, okay, well, I want it to be, a range.
00:33
Right.
00:34
You know, let's see.
00:35
And I'm just expanding these so you can be able to see it.
00:37
But let's say, like a rating scale, right?
00:40
is probably how I want this to be.
00:42
And I think I can change that.
00:44
Yeah, I can change that here.
00:46
I can go rating, right?
00:48
And then, now it's a rating scale.
00:51
and you can obviously change it to stars or smileys.
00:58
and I think that's good.
01:00
another question we can always ask is, maybe, a file upload is good, but like dynamic panel, for instance.
01:16
And let's say, add your vehicle.
01:22
And let's say when we add a vehicle, we want to know the make, the model and the year.
01:37
we'll go, sorry, year perfect.
01:44
And let's say we wanted to move these, around.
01:48
So it's kind of like that, make it really easy for people.
01:52
And so now, you know, let's say we're done with our form, obviously, we can go multiple pages, etc.
01:58
We can do conditional.
01:59
so let's, let's do that real quick.
02:01
So let's say, if the make.
02:03
Or.
02:04
Sorry, if the.
02:05
Yeah, if the make is, Subaru, then we want to show them, do you like your Subaru?
02:19
now we can, conditionally make, this question visible by coming over here and doing conditions.
02:28
And we can say, hey, make this question visible.
02:32
If, And what here, Sorry, what I need to do is come back over here.
02:38
And, in general, I can give the question a name or a key, right?
02:44
So we can go, vehicle, make, Vehicle, model, vehicle, year, right?
03:03
And then we can say filling.
03:07
Okay, so now when we're back down here, we can say, Subaru, Liking.
03:20
Right?
03:21
And then maybe instead of text, we can do, a ranking.
03:29
Right?
03:30
or, you know, and.
03:33
And we can go, And actually, let's evolve this question.
03:39
Let's say, what are your favorite Subaru features?
03:48
Right?
03:48
We can say, heads up display.
03:56
We can say, the power windows.
04:04
or we can say, the engine.
04:10
Right.
04:10
Whatever it is.
04:12
now we want to be Able to show this specific question here.
04:17
When we want to make it visible when the vehicle make equals Subaru, right?
04:31
now if it doesn't equal and then we want to also require it, right?
04:37
So make it required.
04:39
Now if it doesn't then let's say we want to be able to show a checkbox.
04:51
Did you like our form?
04:56
Right.
04:56
And then we say yes, no and then let's say man, I don't want to you know type these out.
05:06
I can always come up here to choices and you'll see item one and then yes, item one is going to be the value.
05:13
That's what goes back to the back end and yes is what the the front end user will see.
05:20
Right?
05:20
So let's say on the back end I want everything lowercased.
05:25
So it's going to say yes, no and then let's go maybe and then I apply and now you'll be able to see that.
05:37
Right?
05:37
and you can select, you know, something is required or how many options someone should choose etc.
05:48
we'll say form liking.
05:52
Right?
05:52
Something easy.
05:53
Okay, so let's say we're done with that now.
05:57
for instance if we save it up here, then what that does is in our component we have a form, we have a prop that's called form config output.
06:10
And this basically just saves our entire schema.
06:16
And you can see that schema over here in the JSON editor.
06:21
So this is the schema of the form which is great because now when we preview it this is what it looks like.
06:27
Right?
06:28
So how are you feeling?
06:29
I'm feeling great.
06:31
We can add a new vehicle, right?
06:33
And we can add as many vehicles as we want.
06:36
Right?
06:37
let's say we want to go ahead and add Subaru.
06:45
Then we say Preza in year 2020 and then we can go next because we had Subaru now we see this question but let's say we didn't have Subaru, we had Toyota.
07:06
Then we're not going to see that question.
07:08
That's how that conditional will work.
07:10
it's pretty, pretty straightforward.
07:15
and we can do.
07:18
And now we can rank.
07:19
Right?
07:19
So what are your favorite Subaru features?
07:21
Well I like the engine, helps me to go fast.
07:25
I like the heads up display but I really love the power of Windows and so this is kind of my ranking.
07:30
And then do I like this form?
07:33
Maybe, maybe it's a yes.
07:35
Right?
07:35
And because I didn't select if there was just one selection or not.
07:40
That's why you see multiple selections.
07:42
But let's just go with this and then you can complete right?
07:47
Now when you complete, what happens is that it's going to give you back it as a JSON, right?
07:55
and it's going to give you based on that question type.
07:59
So filling is five.
08:01
Question two, which was our which I didn't label but it's vehicle.
08:08
you know, you give you to make the model of the year, Subaru.
08:11
liking.
08:12
And I didn't label the items.
08:14
Right.
08:15
but that's something that we needed to go do and then form liking is maybe in a.
08:19
Yes.
08:20
And so then what we can go do is send this to our backend super easily.
08:25
And it's.
08:26
It's great.
08:27
It's really great.
08:28
now for this, let's say for instance, now like everything we just did was designing the question, right?
08:35
But now let's say you wanted to be able to view it and be able to have someone else take it.
08:41
As long as you have the JSON here, you will be able to take this JSON and go ahead and bring it to a prop.
08:51
So we'll go ahead and take this, we'll copy it.
08:55
And what I'm going to do is I'm going to hide this, preview.
09:08
Let me go ahead and hide this.
09:10
I'm going to go ahead and bring in our other component.
09:15
And this is Forms.
09:17
Now every component of mine that you'll see is going to have a key, a license key to it.
09:24
and so let me go ahead and enter that and I'll be right back.
09:29
Okay, we're back after entering in the key.
09:32
And then now we're going to go ahead and take that schema that we had, right?
09:37
And we are going to just paste that right in here.
09:43
Now you can bind this to a variable and just put in the variable.
09:47
Or you can just paste this in, right?
09:50
Or you can have it coming back from a database, call or whatever have you.
09:55
Right?
09:55
But we just went ahead and just pasted it in as you see here.
09:59
Here's the form, that form that we just built with the form creator.
10:05
Now we have here in the forms and it just works as you'd expect.
10:19
Then.
10:19
Now for instance, as an output of the form, you can have it go to a value, right?
10:27
You can set the theme.
10:29
And so for instance, if you had a theme, let's see.
10:33
I think maybe I have one, One second.
10:36
Okay, I have a theme here.
10:38
So once again, if I were to come in here and just paste in my theme.
10:42
Now it went from whatever it was before, right, as a standard kind of gray, right?
10:49
It's now and green here.
10:51
Right now it's going to go to like blue and kind of white, and now everything is blue and you'll see the focus rings are blue, etc.
11:01
My hover is now blue, which is all good.
11:05
Now for instance, I don't have anything that is required on here, right?
11:12
So, but this does have validation, in here as well.
11:16
So now we just build a really simple form.
11:19
But you can imagine if you needed to build a really complex form, right?
11:24
And in a complex form, with multiple pages, like we have here, for instance, imagine if you had five pages or five sections with multiple questions and conditionals, and you wanted to be able to build that logic.
11:39
You can build it really quickly inside of the editor here and then you can effectively view that same form down below, which is super, super helpful.
11:55
Now I am also in process of working on like an AI chat which allows you to chat in what you want and then your questionnaire will be created.
12:07
And so I'm working on that, next.
12:10
But there's so many things that I think you can do with this.
12:13
You can localize your survey questions or you know, your, your, your form.
12:19
And so it just makes it really, really easy to stand up forms really quickly.
12:24
I can get back data in JSON, I can put that into my backend, and life goes on and I know exactly what keys I need.
12:31
I don't have to like worry about creating labels, creating workflows and really kind of focusing on that experience.
12:38
So if you want to move fast, I think this way to do it.