Select options before submit