Open lalitkumarthakur opened 12 months ago
Error text does not update itself when user either gibes Black space or more than 1 character after providing 1st input.
Example -
1st time Input - Input -> Blank space -> submit. "You cannot enter a blank space. Please enter a special character/ number/ alphabet."
2nd time input - Input -> 12/13/qw13-> submit. "You cannot enter more than 1 character. Please enter a single character! "
You need to refresh the page to get the correct error message which should not happen.
Please help me to fix this or fix this directly.
This happens in Ch4 -. IF else -> Program4
Error text does not update itself when user either gibes Black space or more than 1 character after providing 1st input.
Example -
1st time Input - Input -> Blank space -> submit. "You cannot enter a blank space. Please enter a special character/ number/ alphabet."
2nd time input - Input -> 12/13/qw13-> submit. "You cannot enter more than 1 character. Please enter a single character! "
You need to refresh the page to get the correct error message which should not happen.
Please help me to fix this or fix this directly.