Hi everyone,
I have an editform with a gallery, and a checkbox in the gallery. I inserted a datatable to display items in my sharepoint list. I hope that when I click on the table, it will navigate to the editform screen, and the editform will display the items selected in the datatable.
other information is correct. but the checkbox is blank. How should I set the Default or any other properties?
here is my Default of checkbox (got an error), NewStudyChoice is my data collection for the checkbox
Self.Text in Split(NewStudyChoice, ",")
Seems to me that you are trying to use the Checkbox as an Radiobutton control or Combobox controll.
A Checkbox can just display one Value (Not a list of Values).
I assume that's why you're trying to use a Gallery. Allthough it is quite a clever workaround it won't be that easy to save the data. I Advice to use a Combobox to do what you want, but if you absolutely need to keep the Checkbox here's what you would need to change:
Self.Text in Split(NewStudyChoice, ",")
Should come into the Items property of your gallery.
in the default of Checkbox you need this
ThisItem.Value
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional