kumarsivarajan / rmh-roomreservation-maker

Automatically exported from code.google.com/p/rmh-roomreservation-maker
0 stars 0 forks source link

On room request form, if there is more than one error it will only display the latest error, not all of the error messages #101

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Log in to the system with mary789 and password1.
2. Go to request room and type in last name of smith and press lookup.
3. Choose Jane Smith or "Smith, Jane" and create room reservation.
4. Do not enter a begin or end date and delete all the information that is 
prefilled in the 6 fields in the form and submit.

What is the expected output? What do you see instead?
You should see 7 error messages for: start date, end date, patient first and 
last name and parent first and last name, and patient diagnosis. However, you 
only will see the error message for the parent first name being empty because 
the error checking is set up in the order of fields in the form. Currently, the 
error message is being held in one variable, $message, so it will only hold the 
latest message it is set to and not more than one error message.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by Tiffany....@gmail.com on 14 Nov 2012 at 4:22

GoogleCodeExporter commented 8 years ago

Original comment by Tiffany....@gmail.com on 14 Nov 2012 at 6:11