cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
azzamkaz
Helper III
Helper III

(HELP) HOW TO VIEW SELECTED DATA FORM ON THE NEXT PAGE

ATTACHMENT AS REFERENCE 

 

hello guys....I'm creating this app(VOTING APPS) and  I have this problem need help ASAP because this voting apps gonna use soon. Hopefully you guys will help so solve/give the solution.

 

picture 2(Nomination_Menu) is the main menu. the user will select the department from the menu button. after select the button will navigate to picture 3(candidate page: ITPMO_page, ITPSS_page, IT_SDM and etc)  diffrent page in every department. At candidate page have a form and radio button selection, after user fill the form and make selection,then press the submit button to save into excel.....

 

 

The problem is on picture 4(ConfirmationScreen), because I want to show the user what are their selected on the previous page and show on confirmation screen.....

how do I show selected data on that page or how do I retrive the data from excel files to show on confirmation screen?

 

Hopefully someone can help me give a direct solution for this problem. what command, item should I use to make a confirmation screen.

 

thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

You could copy the following formula to the "OnChange" field for the Radio control from the page 3 (see advanced panel for the Radio control): UpdateContext({selected: Radio1.Selected.Value}). On the page 4 then you can set the "Default" value of the Text Input control to selected. 

View solution in original post

10 REPLIES 10
azzamkaz
Helper III
Helper III

hello guys....I'm creating this app(VOTING APPS) and  I have this problem need help ASAP because this voting apps gonna use soon. Hopefully you guys will help so solve/give the solution.

 

picture 2(Nomination_Menu) is the main menu. the user will select the department from the menu button. after select the button will navigate to picture 3(candidate page: ITPMO_page, ITPSS_page, IT_SDM and etc)  diffrent page in every department. At candidate page have a form and check box selection, after user fill the form and make selection,then press the submit button to save into excel.....

 

 

The problem is on picture 4(ConfirmationScreen), because I want to show the user what are their selected on the previous page and show on confirmation screen.....

how do I show selected data on that page or how do I retrive the data from excel files to show on confirmation screen?

 

Hopefully someone can help me give a direct solution for this problem. what command, item should I use to make a confirmation screen.

 

thank you.

azzamkaz
Helper III
Helper III

ATTACHMENT AS REFERENCE 

 

hello guys....I'm creating this app(VOTING APPS) and  I have this problem need help ASAP because this voting apps gonna use soon. Hopefully you guys will help so solve/give the solution.

 

picture 2(Nomination_Menu) is the main menu. the user will select the department from the menu button. after select the button will navigate to picture 3(candidate page: ITPMO_page, ITPSS_page, IT_SDM and etc)  diffrent page in every department. At candidate page have a form and radio button selection, after user fill the form and make selection,then press the submit button to save into excel.....

 

 

The problem is on picture 4(ConfirmationScreen), because I want to show the user what are their selected on the previous page and show on confirmation screen.....

how do I show selected data on that page or how do I retrive the data from excel files to show on confirmation screen?

 

Hopefully someone can help me give a direct solution for this problem. what command, item should I use to make a confirmation screen.

Your could had the values to a variable when submit button is clicked and then use the variables on the confirmation screen. Another option if the candidate screen is using a Edit Form control is to update a variable in the OnSuccess property of the form using the LastSubmit function which gives you the last successfully submitted record, including any server generated fields. Then you can use that information in the confirmation screen.



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
dinusc
Microsoft
Microsoft

Hello azzamkaz,

 

You could set a context variable with the value selected from the previous page (#3) and then check it on page #4.

For example: Radio1.OnChange = UpdateContext({selected: Radio1.Selected.Value})

According to the picture #3, the "selected" value would be equal to "AIN AISYAH BINTI ABDULLAH".

@Jeff_Thorpe  thanks you for reply, I'm really apperciate it.

 

Yes I'm using EditForm for candidate screen that link with excel to submit user insert data.

Can you show example of code for me  to update a variable in the OnSuccess property of the form using the LastSubmit function which gives you the last successfully submitted record.

 

 

 

thank you

azzam kaz

@dinusc thank you for reply, I'm really apperciate it.

 

 

May I know where I should put this code ?? should be on submit button at candidate page(pic 3) or where ?

Radio1.OnChange = UpdateContext({selected: Radio1.Selected.Value})

 

and what should I put on confirmation screen(pic 4) to display the selected item ?

 

 

thank you

azzam kaz

You could copy the following formula to the "OnChange" field for the Radio control from the page 3 (see advanced panel for the Radio control): UpdateContext({selected: Radio1.Selected.Value}). On the page 4 then you can set the "Default" value of the Text Input control to selected. 

View solution in original post

Here is an example. EditForm1 would be the name of your form and this assumes that your Submit button is using the SubmitForm() function.

 

Set(gvSubmittedRecord, EditForm1.LastSubmit)


--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Set(gvSubmittedRecord, EditForm1.LastSubmit)

that mean I have to put this code on Submit button on candidates page ?

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,281)