added length validation in edit task page