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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Answered

Submit form

(0) ShareShare
ReportReport
Posted on by

I have a form that cycles through some questions for the user to answer, on each record the user has a choice of 4 buttons to choose from. Each button creates doe a clearcollect to a collection that stores a value that belongs to the button the user selected.

Button one value = 1, Button 2 Value = 2, Button 3 Value = 3.

 

The on select then submits a form that has default values preset that runs behind the scenes. it requires the questionID, user().fullname, the answerID (from the collection) and an instance number created by a timestamp.

 

When I push any of the command buttons I recieve a red bar across the top of the screen ! Field required. If I push the same button the second time the record is accepted and the next question appears.

 

Not sure why this is happening but would like some imput or solution to the issue.

 

 

 

 

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at
    It is usually due to having an Id field already populated where the program assigns an Id. Removing that field from the form solves the problem. I initially put a saveform(yourform1) command in the onfailure property of the form and this works too but you get the error message transiently.
  • Community Power Platform Member Profile Picture
    on at

    The Id numbers that I am submitting are not the the "RecordID" or "PrimaryID" field in the table.

    These are ID's from other tables that will relate to the record with those tables.

  • Community Power Platform Member Profile Picture
    on at

    Drrickryp, the SaveForm(FormName) is not available in powerapps. I get an error when using that command.

  • Community Power Platform Member Profile Picture
    on at

    This is the Table that I populate the fields that I have on the NewForm are highlighted in YellowThis is the Table that I populate the fields that I have on the NewForm are highlighted in YellowThis is the EditForm that is not shown to the user but has defaults set and populated.This is the EditForm that is not shown to the user but has defaults set and populated.This is the AnswerID default TextThis is the AnswerID default TextThis is the form that the user sees that has four buttons to select their answerThis is the form that the user sees that has four buttons to select their answerThis is the OnSelect syntax for the buttons this one has a value of "1" the other buttons have different values that get collected.This is the OnSelect syntax for the buttons this one has a value of "1" the other buttons have different values that get collected.

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    I have found a solution for the issue I was having. I decided to use the Patch function. This seems to work for me and solves the double clicking on an answer button.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard