-
Hello, I want to do something like:
I think I could create a separate page for each step, but I am looking for something more elegant :) I also wonder if it could be possible to have the active step in the top-level part: For example: select
'steps' as component,
TRUE as counter,
'purple' as color,
$step_id as active;
select
'Registration form' as title,
'forms' as icon,
'https://github.com/lovasoa/sqlpage' as link,
'Initial account data creation.' as description;
select
'Email confirmation' as title,
'mail' as icon,
'https://sql.ophir.dev' as link,
'Confirm your email by clicking on a link in a validation email.' as description;
select
'ID verification' as title,
'Checking personal information' as description,
'user' as icon,
'#' as link;
select
'Final account approval' as title,
'ophir.dev' as description,
'https://ophir.dev/' as link,
'eye-check' as icon,
select
'Account creation' as title,
'check' as icon; We could send a step_id parameter to active a step. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
You could use the step component like this select
'steps' as component;
select
'Fill the form' as title,
'?step=1' as link,
$step = 1 as active;
select
'Confirmation' as title,
$step = 2 as active;
select
'Done' as title; |
Beta Was this translation helpful? Give feedback.
-
Thanks, it is smart :)
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your answers. I was able to create a multi-step form :) |
Beta Was this translation helpful? Give feedback.
You could use the step component like this