cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HarishNayak
Frequent Visitor

Drop Down Display different values for front end and saving different values to backend

Hi All,

 

In my front end form i want to show user 3 values

Best

Good

Average

 

Users sees the above values in the form dropdown. When the user selects one of the values in the dropdown and submits the form, I want to send a number to the backend (SharePoint list)

 

So if user selects

Best i need to send back 1 to the sharepoint list

Good send 2 to the sharepoint list

Average send 3 to the sharepoint list

 

Thanks in advance for your help

 

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

Set the Items property of the dropdown to an array of records that contains both the text and numeric values.  Then when you Patch to the SharePoint list use Dropdown1.Selected.Number.

Table({Name: "Best", Number: 1},{Name: "Good", Number: 2},{Name: "Average", Number: 3})

 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
Pstork1
Dual Super User III
Dual Super User III

Set the Items property of the dropdown to an array of records that contains both the text and numeric values.  Then when you Patch to the SharePoint list use Dropdown1.Selected.Number.

Table({Name: "Best", Number: 1},{Name: "Good", Number: 2},{Name: "Average", Number: 3})

 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (64,105)