Items parameter in the form cannot accept the variables

Sorry, but you will need to take a different approach.