input name="myvar.1" input name="myvar.2"
and set array datatype in ad_page_contract, which will provide an array. You don't need the keys, just the values from it.