cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

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
Highlighted
Community Support
Community Support

Re: Form autofills fields based on previous submissions

Hi @Anonymous ,

 

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
Highlighted
Community Support
Community Support

Re: Form autofills fields based on previous submissions

Hi @Anonymous ,

 

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

Highlighted
Anonymous
Not applicable

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?

Highlighted
Community Support
Community Support

Re: Form autofills fields based on previous submissions

Hi @Anonymous ,

 

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (8,753)