handling forms with itemsets (needs more tests)