Creating and using fragments in form designs