how to setup index form