cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

collect a form

Hello there, 

 

I tried to collect information from a form, but when I click the button to do it, it did not work, also I tried to reset the values after using the button but it also gives me an error.

Button configuration: 

image.png

Error: 

image.png

Any idea of how I will be able to collect form data? and reset it after I select the button?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Hi @felipewltc ,

 

Form control is connected one record of the data source, so to collect the form I assume that you are trying to collect this record. If my understanding is correct, then please use the formula below to collect this record:

Collect(col1,Gallery1.Selected)

Replace "Gallery1.Selected" with the formula you use in the Item property of this Form control. 

 

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

Hi @felipewltc ,

 

Instead of resetting all the controls inside the Form control, you just need to reset the whole Form control like:

Collect(...,{...});ResetForm(Form1)

Form1 is your form control's name.

 

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.
Highlighted

Is there a way to collect a form? 

Highlighted

Hi @felipewltc ,

 

Form control is connected one record of the data source, so to collect the form I assume that you are trying to collect this record. If my understanding is correct, then please use the formula below to collect this record:

Collect(col1,Gallery1.Selected)

Replace "Gallery1.Selected" with the formula you use in the Item property of this Form control. 

 

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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (13,198)