How to iterate several items in a form