web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Form: Get previous data
Power Apps
Unanswered

Form: Get previous data

(0) ShareShare
ReportReport
Posted on by 69

Hi everyone

I'm doing a small app to book your days off but for example if someone wants to book 2 or 3 days, I'd like to be able to have by default the previous value that he entered

For example, imagine I want to book 3 days during week 39, so I book the first day and I select the week 39 so when I save, I'd like that my field take the week 39 by default

My next question is How can I hidden a field with a default value?

So for example I want that the name of my employee is the name of the the current user so I use user().fullname and it's work but I can edit this field so is there a way to show the field but to forbide users to edit it?

Any idea of how could I do that?

Categories:
I have the same question (0)
  • Sofie_D Profile Picture
    260 on at

    You can put the default value of the second field as the selected value of the first field (datepicker.SelectedDate)

     

    To make sure they can't edit a field change the displaymode to 'View' instead of 'Edit'

  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @freedumz,


    For booking room app, you could have a look at the template app Book a Room.
    https://powerapps.microsoft.com/en-us/blog/office-template-book-a-room-now-available/

     Capture.PNG

     

    Like @Sofie_D suggested, you could add a Label control, set its Text property to User().FullName and set its DisplayMode property to View.

     

    Regards,

    Mona

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard