Skip to main content

Notifications

Power Apps - Building Power Apps
Suggested answer

Add a sharepoint choice field as a radio button with default value

(0) ShareShare
ReportReport
Posted on by 98
Hi, I've a Sharepoint list with choice column Status.
This column has a default value Pending.


In Power Apps I want to create form with radio instead choice. 

But when I save and publish apps to sharepoint, I try to add new item to the list I can't see my default value (Pending)

How can I add it to the radio?
  • Suggested answer
    Add a sharepoint choice field as a radio button with default value
    Try this

    If(
        IsBlank(ThisItem.Status), 
        "Pending", 
        ThisItem.Status
    )


    Set the DataCard Update Property: update property of the DataCard for the Status field in the form should be set to the selected value of the Radio control so that the value gets saved when the form is submitted:

    RadioStatus.Selected.Value
     
  • ronaldwalcott Profile Picture
    ronaldwalcott 1,388 on at
    Add a sharepoint choice field as a radio button with default value
    Try something more like
    If(
        EditForm1.Mode = FormMode.New,
        { Value: "Pending" },
        Parent.Default)
     

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

Kickstarter Events…

Register for Microsoft Kickstarter Events…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #13 Writing Effective Answers…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,858

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,505

Leaderboard