mantis #122
updated script to toggle enable/ disable input field
mantis #122
updated script