Reset a saved Radio Button on a PowerApp Edit Form to SharePoint Choice Column

I’m trying to reset radio buttons on the Edit Form (Connected to a SharePoint List) in a Canvas PowerApp.

I have a mandatory parent Radio Button with options ‘A’ or ‘B’

The user is required to fill out 4 additional child choice fields ONLY if they select ‘A’

-1 default (from PowerApps) Combo Box

-3 custom Radio Buttons (Combo Box DataCard was replaced with a Radio Button)

If the user selects ‘B’ from the parent Choice then these fields are hidden & disabled….

What I need is just to make sure the child choice fields are cleared if the user edits the form and changes the parent choice field from ‘A’ to ‘B’…

Example;
Version 1 – User saves the New Form with Option ‘A’ and the 4 associated choices are filled

Version 2 – User opens the Edit Form & changes the Parent Choice Field option to ‘B’ then the 4 child fields need to both reset to their default blank value on their DataCards and when saved the Choice Fields in the SharePoint List should cleared.

I can get this to work with the default Combo Box control – Both DataCard & SharePoint Field are cleared.

But for the Radio Buttons – I can successfully get the value on the PowerApp Edit Form DataCard to clear but when I save the form the associated SharePoint choice field is not updated and still retains the value from Version 1.

I’m using the following Form Logic

EditForm
OnVisible:

UpdateContext({varClearChoices: false})

Parent Choice Field
OnChange:

If(ParentChoice.Selected.Value = "B", UpdateContext({varClearChoices:true}),UpdateContext({varClearChoices:false}))
Child Combo Box Choice Field - (Working)

DefaultSelectedItems:

If(varClearChoices,{Value:""}, Parent.Default)
Child Radio Choice Field (Radio Button - Not Working)

Default:

If(varClearChoices,"",ThisItem.'Child Radio Choice Field'.Value)

Reset:

varClearChoices

I’m hoping to get the Radio Button to behave the same way as the default Combox box does. The value should be cleared/deselected on the Data Card and the SharePoint Choice Field should be cleared also.

I know there’s some minor differences between the forms default Choice Field ComboBox & a custom Radio Button but this one is pulling my hair out.

I’m assuming I’m missing something obvious here? It almost seems like the empty Radio Button just isn’t able to update the Choice Field on SharePoint.
There’s always the option to try with a Single Text Field to hold the Radio Choice Fields or just go back to using the default Combo Box – which I’m not particularly a fan of for just 2 options to choose from.

New contributor

redaxe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật