Updated input widgets validation