I want to create a stepper which consist of a six steps but unfortunately I didn’t find a widget in weweb. Although I find a component from a kit but it’s not editable and also not responsive for the mobile. I’m unable to change the color or spacing etc.
Can anyone guide me how I can make a stepper and form? I want it to be responsive so it look good on desktop, tablet and mobile. If you know any alternative to it, please do let me know. Thank you!
I would not use components in the beginning; they can make it more confusing if you are new to WeWeb. For this, you can start very simple:
Create a “steps” variable to keep track of the steps
Add one Form Container element with 3 divs inside: Step 1, Step 2 and Step 3.
At the bottom of the Form Container, add the back and next buttons + submit (display and hide them based on the step variable)
Increment/decrement the value of the variable by triggering a workflow on the buttons next and back.
Display/hide the elements in the UI accordingly
Once you’re good, then you can turn it into a component; for instance, the different step items. Use conditional display and not rendering to avoid animation issues.
@forgelab Yeah, that would be great. If you could just create a small video before that if you get time, I really thankful to you for this. I’m really struggling with this.