cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Issac
Level: Powered On

Form autofills fields based on previous submissions

I'm working on a Powerapp to log all of the Finance Requests coming to our team. While everything works fine, it would be more efficient if certain fields would autofill depending on previous submissions.

 

For example, 3 of the fields are:

Contact Name-> Contact Email -> Contact number. 

 

Would it be possible if resuing a name in "Contact Name", it could pull their previously inputted email and number from the Sharepoint list where it was added? This would help cut down on time when putting in requests regularly. 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Form autofills fields based on previous submissions

Hi @Issac ,

 

What is the data source of the current Form? 

 

This can be achieved. For example, use TextInput1 to fill the Contact Name, then set below formulas in TextInput2 and 3 to show record from SharePoint list:

TextInput2.Text=First(Filter(List,ContactName=TextInput1.Text)).ContactEmail
TextInput3.Text=First(Filter(List,ContactName=TextInput1.Text)).ContactNumber

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: Form autofills fields based on previous submissions

Hi @Issac ,

 

What is the data source of the current Form? 

 

This can be achieved. For example, use TextInput1 to fill the Contact Name, then set below formulas in TextInput2 and 3 to show record from SharePoint list:

TextInput2.Text=First(Filter(List,ContactName=TextInput1.Text)).ContactEmail
TextInput3.Text=First(Filter(List,ContactName=TextInput1.Text)).ContactNumber

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Issac
Level: Powered On

Re: Form autofills fields based on previous submissions

The source is a sharepoint list where they entries are being added.

 

Also since this is through a form, I would need to change TextInput to DataCardValue- correct?

Community Support Team
Community Support Team

Re: Form autofills fields based on previous submissions

Hi @Issac ,

 

Yes, I'm just assuming the name of the textinput control is "TextInput1". In a form control, textinput controls name could be DataCardValueX.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,789)