#Hello,
I have a gallery in my second screen. It contains several data that come from a Table "Table2".
It allows to view all the data in "Table2", but also to view new data added to a "Collect2" Collection.
Then the user can check the added data by clicking on the "Checkbox2" "not yet validated" checkbox. If he validates, then the checkbox will read "Validated on ../../2022".
This works for data already present in "Table2". However, when I add new data, I can't get this checkbox to appear.
I fill my form and press the "Done" button to collect the new data with this code:
Collect(
Collect2,
{
ID: ThisItem.Reference_x0020_code,
DateCreated: Text(Month(DatePicker1) & "-" & Year(DatePicker1)),
OptionSelected:If(Checkbox_Option1, Text(ThisItem.Option1_x0020_),
If(Checkbox_Option2,Text(ThisItem.Option2),
If(Checkbox_Option3,Text(ThisItem.Option3)))),
TaskOwner: ThisItem.Task_x0020_owner_x0020_,
Comment: Comment.Text,
Validation:ThisItem.Validation,
Validator: ThisItem.To_x0020_be_x0020_validated_x0020_by_x0020_,
Controler: ThisItem.Backup_Task_x0020_Owner,
Status: ThisItem.Status
}
)
I put "ThisItem.Validation" but it doesn't work and if I put "Checkbox2" directly instead, then I get the error message that the "Validation" column is text type and what I put in it is error type so it is incompatible.
Has anyone had this problem collecting a checkbox that is directly in a gallery?
Thank you very much for your help!

Report
All responses (
Answers (