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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps: Change edit...
Power Apps
Unanswered

PowerApps: Change edit form text boxes to different formats

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am trying to change the format of a few of the "Edit Form" text boxes that links to a SharePoint List that I have. Currently - everything is working correctly, but I want to finalize the details. See image for visual, here are my goals:

 

  • I want to change the "Last Day of Work:" section to a date picker. 
  • I want to make the "Type of Termination:" and "Reason for Termination:" boxes be dropdowns where the user can select from different options. 

I have not been able to get this to work for any of the boxes, could someone guide me on this?

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    Data cards only have two significant properties, the default setting for the control inside and the update property of the card itself. Make sure the update property reflects the value chosen in the control you put inside. You can hide the old control as it will not be used to determine the value that gets saved.

  • Community Power Platform Member Profile Picture
    on at

    Thank you for some clarification - could you explain how to go about making those changes? I am very new to using PowerApps and forms inside of them.

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    Sure thing.  First click on the card containing the control you want to change.  In the example, I want to change the textinput box in the state card to a dropdown.  Note that there is a lock icon associated with the card.  On the left side in the Advanced section click on the lock to unlock the card.  Once the card is unlocked, hide the textinput box and insert a different control.  In my case, I added a dropdown with the properties of Distinct(FakeNames, state).  This produces a single column table of unique values with the column name of Result.  I then clicked back on the card containing the dropdown and found the Update property and removed the reference to the old textinput box and replaced it with the value now called "Result" in the dropdown control.  Finally I changed the Default property of the dropdown to ThisItem.state.  It would work the same way with a date type column and a Datepicker control.  In that case you would set the Update property to Datepicker1.SelectedDate, and the datepicker's default to ThisItem.datecolumnname .  If you had a dropdown with hard coded items like ["option1","option2", etc], in the Update property you would have the name of your dropdown control like Dropdown2.Selected.Value.  
    _1.png_2.png

  • Community Power Platform Member Profile Picture
    on at

    That worked - thank you!! I also learned another method of formatting the columns inside of a SharePoint List to be a "Choice" option to create dropdowns when you add forms in as well.

     

    Thanks again! Saved me a lot of stress.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard