Each ID needs to be unique. Please search the forum as this has been asked and answered multiple times.
Set global cardview to get number and move it before if then statement
Ok i try again