I have a Validation screen in my portal where there is a (read-only) INPUT-FIELD which shows Order quantity (fetched from a previous screen), A TABLE (where user can input values), A Button to validate a condition.
Now, on successful validation, a success message is shown in the previous screen and if the validation fails an error message is displayed in the same screen.
CONDITION -> The number of Token Value entered should be equal to Order Quantity
1. Suppose, the Order quantity is "2" and the user enters 3 token values.
Here, the error message in displayed but the 3 field in the table where the token value had been entered still remains editable (while the rest become non-editable). Now, if the user deletes one value (among the entered 3) and tries to validate. Validation successfully happens. [See Screenshot-1 & Screenshot-2]
2. Now suppose, Order quantity is "2" and the user enters 1 token value.
Here, the error message is displayed and all the fields of the table (Except the one where User has entered Token value) turns NON-EDITABLE. [See Screenshot-3]
Here, lies the issue as the user is no more able to enter another value to validate successfully. The only way out is to go back to the previous screen and do all the steps all-over again.
CAN SOMEONE TELL ME HOW TO MAKE THE FIELDS OF THE TABLE REMAIN EDITABLE (ATLEAST AS MANY FIELDS AS EQUAL TO THE ORDER QUANTITY) EVEN AFTER THE ERROR MESSAGE IS DISPLAYED?