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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (7,592)