Customizing the form base on the provided layout