Creating Multi-Step Forms in Power Apps | Tutorial

Поделиться
HTML-код
  • Опубликовано: 28 май 2024
  • In this Power Apps tutorial video, we will learn how to create a Multi-Step Modern Form control experience in Power Apps. Follow along as I guide you through the process of breaking up a modern Form control across multiple steps, including validation of form data within each step. Learn how to effortlessly navigate through various form steps using next and previous buttons & include a live status indicator for current Form step.
    Let's get started with building multi-step forms within Power Apps!
    #powerplatform #powerapps #microsoft
    ⬇️ Download App shown in video
    ➡️ The link is in Community Tab for Channel Members (Silver Club 🥈 or Higher)
    Table of Contents:
    00:00​ - Introduction to building Multi-Step Forms in Power Apps
    00:31 - Multi step forms scenario
    01:52 - How to build a Modern Multi-step form experience in Power Apps
    08:06 - Show Status indicator of current step number of Form
    10:41 - Multi step form validations
    14:22 - Demo of multi-step forms in Power Apps
  • НаукаНаука

Комментарии • 102

  • @sankhlayashraj
    @sankhlayashraj Месяц назад +4

    Dear @Reza. I built a similar app for a hackathon project with similar thought process last week. Went down the memory lane of what I did… Thank you for making such wonderful videos

    • @RezaDorrani
      @RezaDorrani  Месяц назад +1

      Most welcome and glad to know you built something similar

  • @melron9254
    @melron9254 Месяц назад +2

    Great job, Reza! You consistently make the difficult cases seem straightforward! I was working on this scenario (a bit different) a few days ago and ended up with a kind of 'enum' (records) for better control in 'if' cases. For example:
    Set(
    FormSteps,
    {
    Travel_Info: {Value: 1, Name: "Travel Info"},
    Travel_Details: {Value: 2, Name: "Travel Details"},
    Airface_Hotel: {Value: 3, Name: "Airface / Hotel"},
    Attachments: {Value: 4, Name: "Attachments"}
    }
    );
    Then, all you need to do is use Set(FormStep, FormSteps.Travel_Info.Value) and so on.
    I'm eager to vote for that at your channel! Thanks for sharing Reza!

    • @RezaDorrani
      @RezaDorrani  Месяц назад +1

      Thanks for sharing!
      Various ways to do this. Goal was to keep it simple for the video.

  • @GeneRice
    @GeneRice 25 дней назад +1

    Well done, sir! Such an elegant solution to a problem I've been wrestling with for some time now. Thank you!

  • @oluwatobiyusuf
    @oluwatobiyusuf 22 дня назад +1

    Thank you Reza for this timely video.

  • @AMindGame
    @AMindGame 15 дней назад

    Always up to date content! Thank you Reza!

  • @MegaKumar0
    @MegaKumar0 29 дней назад +1

    Wonderful technique for multi steps form Reza!. Thank you for your valuable time to educate & make it easy.

  • @user-lo1eg8eg9n
    @user-lo1eg8eg9n 29 дней назад +1

    Very elegant process, and code minimized ! thanks Reza!

  • @gmatdakuti
    @gmatdakuti 25 дней назад +1

    Reza the king strikes again!!! wonderful video

    • @RezaDorrani
      @RezaDorrani  25 дней назад

      Thanks so much!
      Content is King

  • @sujitdaswant5256
    @sujitdaswant5256 Месяц назад +1

    Hi @Reza, very nice this demonstration. this will be very helpful content. Keep posting 🙂

    • @RezaDorrani
      @RezaDorrani  Месяц назад

      Thank you, I hope to keep going as long as possible

  • @exe5933
    @exe5933 21 день назад +2

    Great video, one small issue - notice how when there's a validation on the first step of the form, all the fields are validated and once you go to the next step, there already are error messages displayed even though the user didn't choose anything yet. Is there a way around it?

    • @RezaDorrani
      @RezaDorrani  21 день назад +1

      I have not found a way around that. Little bit of give and take.

    • @Asenay999
      @Asenay999 18 дней назад

      @exe5933 Did you find any solution for that? Im on the same boat buddy!

    • @exe5933
      @exe5933 9 дней назад

      @@Asenay999 Yeah, found like yesterday although it's not perfect, sorry for not answering - for each step I have a label which value is set to a global variable - everytime I validate the form fields using the "if" statements like that:
      If(
      (!IsBlank(DateValue1.Value) && !IsBlank(DateValue2.Value) &&
      DateValue1.Value >= Today() &&
      DateValue2.Value > DateValue1.Value
      // here add more steps if needed
      ),
      Set(varStep, varStep + 1); Set(varStepValidation1Error, ""),
      If(
      DateValue2.Value

  • @rthoughts7232
    @rthoughts7232 29 дней назад +1

    It was superb , small tricks but very useful as always

  • @aducaale328
    @aducaale328 29 дней назад +1

    Wonderful content. Thanks for these amazing content 🎉

  • @milanthapa281
    @milanthapa281 23 дня назад +1

    Hi Reza, I've been following you for a very long time. Your content is always helpful and easy to grasp. Could you please create some content on CoE or courses for Power Platform CoE? Thanks!

    • @RezaDorrani
      @RezaDorrani  23 дня назад

      Thanks so much!
      I want to make videos on a lot of topics. However, my rule for making videos is set.
      “I make videos when I receive multiple requests on a topic. Every 6 months I ask subscribers for topic suggestions on Community Tab of my channel. Most voted idea gets added to my backlog. Make sure to post this idea whenever I post the next topic suggestion post“

  • @BalaSubramanian1991
    @BalaSubramanian1991 28 дней назад +1

    Neatly done... impressive👏👏

  • @DroneEyes
    @DroneEyes 29 дней назад +1

    Another great video Reza!!!

  • @ibrahimabu-awad8511
    @ibrahimabu-awad8511 23 дня назад +1

    Thank you so much I was looking for this for a long time, amazing video. I have a question what if we have multiple content type in SharePoint list, how can we handle this?

    • @RezaDorrani
      @RezaDorrani  23 дня назад

      Welcome!
      Power Apps does not understand SharePoint content types.

    • @ibrahimabu-awad8511
      @ibrahimabu-awad8511 23 дня назад

      @@RezaDorrani Is there a workaround then?

    • @RezaDorrani
      @RezaDorrani  23 дня назад

      @@ibrahimabu-awad8511 it would require calling flow to get column details of content type and then showing or hiding columns. It can get complex quickly.

  • @rameshc4498
    @rameshc4498 29 дней назад +1

    Nice. Informative video

  • @moyo96
    @moyo96 27 дней назад +1

    Another great one Reza!

  • @AbdinajibRoble
    @AbdinajibRoble Месяц назад

    Thank you @Reza - I'm currently working on similar travel authorization for our office. Would you mind adding multiple travel routes as staff can visit different locations for differnet work purposes. thank you.

    • @RezaDorrani
      @RezaDorrani  Месяц назад

      The video idea is more around multi step forms than the use case. I don’t plan to expand on it further. Video description has link to download entire solution. Feel free to customize it based on your scenario.

  • @waynethompson2109
    @waynethompson2109 25 дней назад

    Hi Reza! 🙂As of this month, If a user wished to create a new SharePoint data enabled Power Apps form, would you recommend a new modern responsive screen template with Gallery or a Table Control to list the data items?

    • @RezaDorrani
      @RezaDorrani  25 дней назад +1

      Gallery for now as Table control is not GA yet

  • @pappumahawar2893
    @pappumahawar2893 29 дней назад +1

    It would be nice content for skills improve with new approaches...

  • @mtamitolanga
    @mtamitolanga 24 дня назад +1

    Great stuff!!!

  • @facun_OK
    @facun_OK 29 дней назад

    Hi Community and Reza!!! amazing video and I would like to know the next... is there any recommended technique to modify the table where all items are shown to add buttons which allow editing an item?

    • @RezaDorrani
      @RezaDorrani  29 дней назад

      Your question is not clear

    • @facun_OK
      @facun_OK 29 дней назад

      @@RezaDorrani thank you for taking the time to respond and my sincere apologies for not explaining myself properly in the first place. My question is about how can I create an experience to allow user selecting an existing item from the table to view/edit, something like adding a custom card with a view/edit button as I can see from tables there is no straightforward method for it and wanted to know if there is a recommended tutorial for it. Again, thank you for the time and amazing video :)

    • @RezaDorrani
      @RezaDorrani  29 дней назад +1

      @@facun_OK I did a tutorial video on table control. Try checking that.

  • @kadirkkkk
    @kadirkkkk 24 дня назад

    @14:25 when you hit the "View request" button how did the varStep setted to 4 and the steps list showed up all green? Did you add "set(varStep,4)" to the OnSelect property of "View request" button?

    • @RezaDorrani
      @RezaDorrani  24 дня назад +1

      I check formmode and accordingly change color. I show that formula in video.

    • @kadirkkkk
      @kadirkkkk 11 дней назад +1

      @@RezaDorrani what i didnt understand (and now i did) was the selection table column "Current: varstep=4" . At first it was weird for me cause i thought i was setting a value for varStep in "Current" column. And now i got that it works like "if varStep=4 then Current = true" so the circle turns to green. Great work, i liked your videos on youtube.

  • @mw011i
    @mw011i 28 дней назад

    This is a nice solution, thanks for sharing. When I click on an item from the table, it does not take me to the specific item in the form display--it simply stays highlighted. At the end of your video, you have created a button to "View Request". Can you explain how that works?

    • @RezaDorrani
      @RezaDorrani  28 дней назад +1

      Video description has link to download entire solution (members only - check description for details)
      I have not come across the mentioned issue and hence not sure what is the cause for your issue.

  • @JaswanthSainath_Garla
    @JaswanthSainath_Garla 28 дней назад

    Once again there is a great lecture. will you please make a video on userphotometadata blank value on userid

    • @RezaDorrani
      @RezaDorrani  28 дней назад

      Welcome!
      I make videos when I receive multiple requests on a topic. Every 6 months I ask subscribers for topic suggestions on Community Tab of my channel. Most voted idea gets added to my backlog. Make sure to post this idea whenever I post the next topic suggestion post.

  • @nickfaulkner6161
    @nickfaulkner6161 29 дней назад +1

    That is a novel way to use the Approval screen template.

  • @DKTD23
    @DKTD23 27 дней назад

    Reza, is fhere a way to have the required fields show in red font? A lot of end-users will zip through forms like this, and not realize that they are missing required fields, without a more refined visual indicator.

    • @RezaDorrani
      @RezaDorrani  27 дней назад +1

      Yes, if you notice my first screen, the require fields do show up in red font.
      The modern controls are in preview and hence not all controls show the red font currently. But you could always check the validation state of the control and accordingly show the color.

    • @Asenay999
      @Asenay999 18 дней назад

      In every card, there is a "ErrorMessage" controller. Click on that and go to the "Style and theme", there you can edit the Font weight and color 👍

  • @mdizzle1369
    @mdizzle1369 29 дней назад +1

    Very Nice! and fast

  • @motisko
    @motisko 28 дней назад

    Hey Reza! Love your videos. I want to join your channel as a premium member. But do your "gold" members really only have access to 90 days of flows and apps as mentioned in the description? I figured those you'd keep historically for that tier.

    • @RezaDorrani
      @RezaDorrani  28 дней назад

      Gold members have access to all recorded videos. Access to app and flow resources is restricted to 90 days but I am always open to re-opening specific links upon request.

  • @mujtabaahmed6305
    @mujtabaahmed6305 29 дней назад

    Hi @Reza. I want something like I'm creating a news post in a site and same news post will be copy to my another site by a power automate flow. News post is like site page and don't saving any data in sharepoint list.
    Can you please help me to build a flow for this? It'll be kind enough.
    Thank you.

    • @RezaDorrani
      @RezaDorrani  29 дней назад

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I will recommend checking or posting your query on forums in case someone has experienced something similar powerusers.microsoft.com

  • @pfenix88
    @pfenix88 28 дней назад

    I'm a beginner, but I often feel limited by the form control. What would be the important changes to do, if I wanted to create the same experience but using patch commands instead?

    • @RezaDorrani
      @RezaDorrani  28 дней назад

      I would have to try the scenario out to know what changes would be needed. I will recommend checking or posting your query on forums in case someone has experienced something similar powerusers.microsoft.com

  • @lisag2312
    @lisag2312 29 дней назад

    Not sure if this is new or just appeared in our tenant, wondering if you know how to hide the "info" icon in the header. We don't want to hide the whole PowerApps header just that icon since the hover over is showing description/comments from the last published version and the created by person (not the owner) which is going to confuse end users.
    Thanks for all the videos! Very helpful for our developer community!

    • @RezaDorrani
      @RezaDorrani  29 дней назад

      Not sure what icon are you referring to.

    • @lisag2312
      @lisag2312 28 дней назад

      In our PowerApps header we started seeing a circle with a lowercase letter i in it after updating our default tenant theme. When you hover over it the app description and created by values display which are not always relevant if this is an older app and the creator is no longer the owner.@@RezaDorrani

  • @sankhlayashraj
    @sankhlayashraj Месяц назад

    Also Reza… I had one request for future if you can do.. in our org, we build apps where we put images on home page and other relevant pages to create a UI. I have understood that there are limitations… but if you have had an opportunity to handle it better… please share or if there is any article that can help, I would appreciate it.

    • @RezaDorrani
      @RezaDorrani  Месяц назад

      I have no plans for a video on this topic.
      My rule for making videos is set - “I make videos when I receive multiple requests on a topic. Every 6 months I ask subscribers for topic suggestions on Community Tab of my channel. Most voted idea gets added to my backlog. Make sure to post this idea whenever I post the next topic suggestion post. “

  • @jesterc
    @jesterc 29 дней назад

    Wow - a whole new way of doing things for me from now on. I have add to delete and add back fields - date fields were showing "object errors" but when I removed from Form and added back they worked. I am however left with one problem - in my list I have a Person field - and for some reason I can only pick from a 5 digit number - names not showing - I know Person fields are a pain with all the different elements to them - but I really want to use it. An alternative would be to use the name of the person completing my form to be the default for this field. Any help gratefully receveid.

    • @RezaDorrani
      @RezaDorrani  29 дней назад

      Person fields are currently not supported by modern controls. Alternative will be to use classic combo box.

    • @jesterc
      @jesterc 29 дней назад

      @@RezaDorrani thanks

  • @techwithchanchal
    @techwithchanchal 22 дня назад

    Hi Reza, That Ctrl+Z logic for selecting DatacardKey & Datacard Value in a form does not work anymore. Right ?

    • @RezaDorrani
      @RezaDorrani  22 дня назад

      You mean the one to select all data cards?
      That does work

    • @techwithchanchal
      @techwithchanchal 22 дня назад

      @@RezaDorrani Yes Correct. I don't know that's not working for me.

    • @RezaDorrani
      @RezaDorrani  22 дня назад

      @@techwithchanchal Im not sure why

    • @techwithchanchal
      @techwithchanchal 22 дня назад +1

      @@RezaDorrani No worries, Thank you for your reply. 😀

  • @ram04199
    @ram04199 29 дней назад

    Hi Reza, the default view of the Table control's columns are in the Compressed state. The user has to expand all the columns whenever they refresh the app.
    Is there any way to fix the width of the columns in the Table like we do in excel?

    • @RezaDorrani
      @RezaDorrani  29 дней назад

      As an app maker, once you set the widths in edit mode and publish, the same width holds for users running the app.

    • @ram04199
      @ram04199 29 дней назад

      But for modern Table control, there is no option to set the width for columns.
      I tried to set the width by expanding the columns while app making, but after publishing the app the columns are compressed

    • @RezaDorrani
      @RezaDorrani  29 дней назад +1

      I am talking about modern table control only. When editing the app, simply hold alt key and set the widths.

  • @dougydoe
    @dougydoe Месяц назад +1

    Great technique for creating Multi-Step Form. Certainly another tip to add to my armoury for subsequent projects. Thanks for sharing.

  • @beingfarhan
    @beingfarhan 28 дней назад +1

    Hi reza sir, how can I get power apps developer job as a fresher?

    • @RezaDorrani
      @RezaDorrani  28 дней назад +1

      I have no clue about that.

  • @Sreekanth297
    @Sreekanth297 29 дней назад

    Hi Reza is there a way to find whether the current logged user in powerapps male or female

    • @RezaDorrani
      @RezaDorrani  29 дней назад

      I don’t know if that’s an option

    • @Sreekanth297
      @Sreekanth297 29 дней назад

      @@RezaDorrani thanks for your confirmation 😍

  • @sanskritisabhayta
    @sanskritisabhayta 24 дня назад

    Hi, I m new to IT field, can you pls make a small video how to use ur project from github and can create my own. Love ❤ fro. India

    • @RezaDorrani
      @RezaDorrani  24 дня назад

      Which project?
      Now I share all my apps/flows with channel members (silver and above)
      It includes read me docs which includes steps on how to install.

    • @sanskritisabhayta
      @sanskritisabhayta 24 дня назад

      @@RezaDorrani kanban board I m interested in which you made long time back 5 years ago...

    • @RezaDorrani
      @RezaDorrani  24 дня назад +1

      @@sanskritisabhayta I have no plans to revisit content shared years ago.
      My rule for making videos is set - “I make videos when I receive multiple requests on a topic. Every 6 months I ask subscribers for topic suggestions on Community Tab of my channel. Most voted idea gets added to my backlog. Make sure to post this idea whenever I post the next topic suggestion post. “

    • @sanskritisabhayta
      @sanskritisabhayta 24 дня назад +1

      Ok sure, anyways good work thank you... I have learned a lot from you.

  • @peterminer894
    @peterminer894 22 дня назад

    Please what if I want to edit?

    • @RezaDorrani
      @RezaDorrani  22 дня назад

      Similar to viewform function there is an editform function.

  • @gunasekar4098
    @gunasekar4098 19 дней назад

    Look good, but little difficult to understand as beginners that variable and other stuff