Build a Multi Step Form with Validation using Javascript

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024

ความคิดเห็น • 13

  • @AvinashSingh-tr5vt
    @AvinashSingh-tr5vt 23 วันที่ผ่านมา +1

    Amazing, thanks for quality content. please make a video on trello like list without html5 drag and drop. Thank you beforehand

    • @refinedguides
      @refinedguides  23 วันที่ผ่านมา +1

      Thanks! I’ll keep that in mind 👍🏻

  • @buduryahya
    @buduryahya 7 วันที่ผ่านมา

    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>

    • @refinedguides
      @refinedguides  7 วันที่ผ่านมา

      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}%)`;

    • @buduryahya
      @buduryahya 6 วันที่ผ่านมา

      @@refinedguides done , Thank you so much

    • @buduryahya
      @buduryahya 6 วันที่ผ่านมา

      @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.

    • @buduryahya
      @buduryahya 6 วันที่ผ่านมา

      also when add header or footer all style destroy , please chack for this problem in style

    • @refinedguides
      @refinedguides  6 วันที่ผ่านมา

      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.

  • @buduryahya
    @buduryahya 5 วันที่ผ่านมา

    Can I contact you via email?