Codechange: generate all options in the loop
Codechange: delete unnecessary hidden fields in page selection form