How to create a form
Hello and welcome to your new GoodBarber tutorial!
Today we’ll learn how to add a Form to your app
You can use it in many cases, survey, vacation request for company apps, organization of contests, or reservation request as it is the case for my Freyja Spa app.
Let's add our section in the menu My app > Content > Sections.
I click on Add a section.
I name my section and add it.
Now let's edit the content of the form.
I give it a title
On the right side of the screen, I find all the types of fields I can add to my form.
They each have their own particularities and allow you to build the form that perfectly fits your needs.
I add the first one.
It is added in the central part of the screen.
If I click on it, I open its editing panel.
And customize it.
decide to make it mandatory or not.
I do the same for the other fields.
Always in the central part, I can reorder my fields like this.
In addition to the fields, I can add content, as usual, text, images, videos, etc...
In the Settings section, I can enter the operating parameters of my form.
- Email recipient
- Submit button
- Success message
- Error message
- Form confirmation
- Message confirmation
- Confirmation button
Now all I have to do is save!
As for the other sections I will quickly set up the design.
Last thing, you can find the answers to your form from the menu My app > content > Sections.
I hover over the section, click on Display the content and I have access to all the answers I received.
Voila! Let me show you the final result
Now you know how to provide a form in your app!
See you soon for another new tutorial !