added option for disabling text boxes