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 / Drop down that populat...
Power Apps
Answered

Drop down that populates a bunch of text boxes but allows the user to edit

(0) ShareShare
ReportReport
Posted on by 6

So I am building a form for my company to submit change requests. They have a large list of standard changes that happen weekly and would like to use a drop down to auto populate the text boxes so they do not need to fill them out. They will edit some of the text fields after the drop down has filled out the text box. This is the issue I am running into. I am able to auto populate the text fields with the text that I would like but when submitting the form it will revert back to what the original text was with that template. 

 

Example: The form was just created and the template has nothing selected.
2020-04-21 15_13_03-Change Request on ServerRequest forms - Power Apps.png

Lets say we want to select the template 'Decomission Server' which will auto populate the Title and Description of the Change text boxes.

2020-04-21 15_14_13-Change Request on ServerRequest forms - Power Apps.png

 

If a user edits the title to say something like including the name of the server or whatever and then submits the form. The title will change back to Decomission Server. What I would like to happen is that it saves the edit that the user has done.

 

Here is the code that I use for each text field:

 

If(DataCardValue6.Selected.Value = "Decomission Server","Decommission Server", Parent.Default)
If(DataCardValue6.Selected.Value="Decomission Server","Follow ____ process to decommission servers. ", Parent.Default)

 

I have about 6 different templates but for simplicity I only included Decomission Server. 

Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,923 on at

    Try:

    If(FormNmae.Mode=FormMode.New&&DataCardValue6.Selected.Value = "Decomission Server","Decommission Server", Parent.Default)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard