adjust field with on switch modal