Assuming you added dir="rtl" in the html tag, add this in the CSS: html[dir="rtl"] .progress-container .progress { transform-origin: right; } And in the steps.forEach loop, change to this: const percentage = document.documentElement.dir === "rtl" ? 100 : -100; step.style.transform = `translateX(${currentStep * percentage}%)`;
@refinedguides New problem was A problem has appeared, which is that when adding multiple fields in any step, it is not possible to scroll down until the fields are filled in.
In the video, I added a 'form styles' comment in the CSS. The styles after that comment are specifically for making the form wizard work. The styles before that could cause conflicts if you're adding them to an existing site, as they modify the base styles. You may also need to adjust class names to avoid clashes with your website's existing classes.
Amazing, thanks for quality content. please make a video on trello like list without html5 drag and drop. Thank you beforehand
Thanks! I’ll keep that in mind 👍🏻
when change the direction the next step and button dont work with me , can you help me how to change to dir to rtl in right way>
Assuming you added dir="rtl" in the html tag, add this in the CSS:
html[dir="rtl"] .progress-container .progress { transform-origin: right; }
And in the steps.forEach loop, change to this:
const percentage = document.documentElement.dir === "rtl" ? 100 : -100;
step.style.transform = `translateX(${currentStep * percentage}%)`;
@@refinedguides done , Thank you so much
@refinedguides New problem was A problem has appeared, which is that when adding multiple fields in any step, it is not possible to scroll down until the fields are filled in.
also when add header or footer all style destroy , please chack for this problem in style
In the video, I added a 'form styles' comment in the CSS. The styles after that comment are specifically for making the form wizard work. The styles before that could cause conflicts if you're adding them to an existing site, as they modify the base styles. You may also need to adjust class names to avoid clashes with your website's existing classes.
Can I contact you via email?
Sure! 👍