Hello everyone, I hope you're doing well. I'm reaching out to seek assistance with a particular situation.
I have a gallery containing various fields such as "Semaine," "nom," "type," and a checkbox for each item within these fields. My goal is to enable the user to input a number in a small input box. Upon clicking the checkbox and then the check icon, I aim for each checked item to update the corresponding "Semaine" field with the user-inputted number.
I appreciate your help. Thank you!
note: That the term "Semaine" means "Week" in French, and "nom" means "Name."

and this is the field that i want to change it with this number when i check the the check box

P.S: i have a frensh version of PowerAPPs
i tried with this code but it change the whole items in the gallery not only the selected one and i tried to much code but with no result
With(
{ SelectedRecords: Filter(test; Checkbox2.Value = true) };
ForAll(
SelectedRecords As sr ;
Patch(
test;
LookUp(test; ID = sr.ID);
{ SemaineProgrammee: Value(SemaineP_7.Text) }
)
)
)
this is the last one
If(
Checkbox2.Value = true;
Patch(
test;
LookUp(test; ID = ThisRecord.ID);
{ SemaineProgrammee: Value(SemaineP_7.Text) }
)
)
i tried with ThisItem but it doesnt work they tell me unknown term