web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Gallery with questions...
Power Apps
Unanswered

Gallery with questions but only one seperated answer text input field - onchange?

(0) ShareShare
ReportReport
Posted on by 2

hello all, 

 

i have the following problem: 

i would like to use a gallery to see all existent questions of a questionnaire. 

Next to that, there should be one text input field that

1) is showing me the current answer to the selected question of the gallery as default value
   (-> solved by writing all answers to the questions into a collection) 

2) should update an existing (old) answer in the collection, when a text has been changed / entered 
 

any ideas on how to solve that? 

 

i.e. 

1) in the gallery I select question ID5 -> on the right in the text input field I will see the current answer for question ID5

2) I am changing the answer and clicking on the next question
3) Going back to the question ID5 -> I should see the new answer for ID5. 

 

Finally there will be one submit button to write all values from the collection to the target table.

 

Thanks in advance!

 

Best regards!

 

Categories:
  • rpersad Profile Picture
    831 on at

    Here is a good video that can assist you in building what you want:

    https://www.youtube.com/watch?v=76RJyaoW0BQ&t=263s 

  • s0510 Profile Picture
    2 on at

    Thanks for your reply!

    Unfortunately, the video only covers the case of having one "big" gallery with one input field per row. I am looking for a gallery showing all questions but only one seperated text input field (showing the most recent answer of the gallery-selected question).

    The OnChange function is not working properly with my separated / single text input field (to put the text input into my collection).

    Any ideas how to approach my problem?

  • PowerNuggets Profile Picture
    360 on at

    Hi @s0510 

     

    You can try updating the collection with a button or on change, check the link below for examples

     

    https://www.thetechplatform.com/post/powerapps-collection-add-update-and-remove-a-record

     


    _____________________________________________________________________________________
    Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.

     

    MD

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard