I have a multi-line input box (call this MB1) with a limit on the # of characters (say 100)
The text from this input is stored in a database field A (call this DBA)
Initial content for MB1 is set to DBA
I have 2 other multi-line inputs (Call these MB2) for users to add text data to field A, action for the submit button will check to ensure the number of characters currently in field A + number of characters from MB2 is <= 100.
A popup dialog box is displayed if the # of characters is > 100 to inform the user that they’ve exceed the maximum # of characters and they need to remove some before adding more
I have a tab interface using buttons, where either MB1 or MB2 is displayed on the page, when one is displayed / active, the other is hidden
Workflow for issue
- I submit data from MB2
- I see that the data from MB2 is correctly added into database field A
- But when click the button to have MB1 displayed, it does not auto refresh and display the newly added data from MB2
- It only displays the new data if I manually refresh the page
- Since initial content for MB1 is set to DBA, I would expect every time MB1 is hidden and then displayed, it will refresh with data from DBA