Bug #8564

[0000987] : PARTICIPANT – Participant Maintenance – Create & Edit Page - Field Validation

Added by Siti Norahayu Mohd Desa over 6 years ago. Updated over 6 years ago.

Status:Work Completed-End life cycleStart date:June 04, 2018
Priority:NormalDue date:June 04, 2018
Assignee:Erni Suhaireen Zulkifli% Done:

100%

Category:-Spent time:-
Target version:-

Description

1. Issue Description
a. If there is no value in Field Participant Name, it will display message in red box. After keyed in value, the message was disappeared but red box still remained

b. If there is no value in Field Participant Description (and other fields), the message will not be displayed immediately, it will be displayed after Clicked Next. However, if no value key in in Field Participant ID & Participant Name, the message will be displayed immediately.

2. Expected Results
a. Remove the red box if value already keyed in.
b. Be consistent.

3. Risk / Impact
Medium impact.

4. Steps To Reproduce
- Go to PARTICIPANT > Participant Maintenance
- Create Record
- Edit Record

0000987_1.PNG (104 KB) Erni Suhaireen Zulkifli, June 05, 2018 15:36

0000987_2.PNG (12.7 KB) Erni Suhaireen Zulkifli, June 05, 2018 15:36

History

#1 Updated by Siti Norahayu Mohd Desa over 6 years ago

25/5/2018 [Onn] - Done, please test again.
31/5/2018 [Onn] - No validation message handle for invalid number or email address. Fixed. Please test again.

#2 Updated by Siti Norahayu Mohd Desa over 6 years ago

"b. If there is no value in Field Participant Description (and other fields), the message will not be displayed immediately, it will be displayed after Clicked Next. However, if no value key in in Field Participant ID & Participant Name, the message will be displayed immediately.

For this issue, all error message has been standardize to display after click ""Next"" at first attempt. After click ""Next"", at second attempt, if user leave blank/do changes that does not meet requirement at the same field that display error message, the error message will be displayed immidiately.

Retest issue by Erni at 31/05/18:
[Issue 1] Change error msg displayed.
Current error message displayed:
1. Please enter a valid number - Office No field
2. Please enter a valid number - Fax No field
3. Please enter a valid email address. - Supervisor email field
4. Please enter a valid number - Supervisor Phone No field
5. Please enter a valid email address. - Admin Checker Supervisor email field
6. Please enter a valid number -Admin Checker Supervisor Phone No field
7. Please enter a valid email address. - Admin Maker Supervisor email field
8. Please enter a valid number. - Admin Maker Supervisor Phone No field

Expected error message displayed:
1. Please enter a valid Office No
2. Please enter a valid Fax No
3. Please enter a valid Supervisor Email Address
4. Plese enter a valid Supervisor Phone No
5. Please enter a valid Admin Checker Supervisor Email Address
6. Please enter a valid Admin Checker Supervisor Phone No
7. Please enter a valid Admin Maker Supervisor Email Address
8. Please enter a valid Admin Maker Supervisor Phone No

[Issue 2] Refer below for error message that does not display immidiately after the 2nd attempt changes:
1. Participant ID is invalid - Field Participant ID
2. Participant Name cannot include special character except space. - Field Participant Name
3. Address is not in proper address format. - Field Address
4. Supervisor Name cannot include numeric and special characters except space ' / - Field Supervisor Name
5. Admin Checker Supervisor Name cannot include numeric and special characters except space
' / -Field Admin Checker Supervisor Name
6. Admin Maker Supervisor Name cannot include numeric and special characters except space @ ' / -Field Admin Maker Supervisor Name

[Issue 3] Error message can be displayed double, refer below step:
1. Enter 'Participant Description' with special character, then click Next > Error msg displyed 'Participant Description cannot include special character except space.'
2. Change 'Participant Description' to blank, then click Next > Error msg displayed 'Participant Description cannot include special character except space.' & 'Participant Description is required.'
*Also happened at Participant Name field"

#3 Avatar?id=1966&size=24 Updated by Ngoh Chee Onn over 6 years ago

  • Assignee changed from Ngoh Chee Onn to Erni Suhaireen Zulkifli

Hi Erni,

Please refer below and perform testing after deployment done.

[Issue 1] Change error msg displayed.
Current error message displayed:
1. Please enter a valid number - Office No field
2. Please enter a valid number - Fax No field
3. Please enter a valid email address. - Supervisor email field
4. Please enter a valid number - Supervisor Phone No field
5. Please enter a valid email address. - Admin Checker Supervisor email field
6. Please enter a valid number -Admin Checker Supervisor Phone No field
7. Please enter a valid email address. - Admin Maker Supervisor email field
8. Please enter a valid number. - Admin Maker Supervisor Phone No field

Expected error message displayed:
1. Please enter a valid Office No - Changes done.
2. Please enter a valid Fax No - Changes done.
3. Please enter a valid Supervisor Email Address - Changes done.
4. Plese enter a valid Supervisor Phone No - Changes done.
5. Please enter a valid Admin Checker Supervisor Email Address - Changes done.
6. Please enter a valid Admin Checker Supervisor Phone No - Changes done.
7. Please enter a valid Admin Maker Supervisor Email Address - Changes done.
8. Please enter a valid Admin Maker Supervisor Phone No - Changes done.

[Issue 2] Refer below for error message that does not display immidiately after the 2nd attempt changes:
1. Participant ID is invalid - Field Participant ID - Backend validation to check participant ID whether already registered in ACI.
2. Participant Name cannot include special character except space. - Field Participant Name -* Change to frontend validation.*
3. Address is not in proper address format. - Field Address -* What does it means by not in address format?*
4. Supervisor Name cannot include numeric and special characters except space ' / - Field Supervisor Name - Backend validation to check special character.
5. Admin Checker Supervisor Name cannot include numeric and special characters except space ' / -Field Admin Checker Supervisor Name - Backend validation to check special character.
6. Admin Maker Supervisor Name cannot include numeric and special characters except space @ ' / -Field Admin Maker Supervisor Name - Backend validation to check special character.

[Issue 3] Error message can be displayed double, refer below step:
1. Enter 'Participant Description' with special character, then click Next > Error msg displyed 'Participant Description cannot include special character except space.'
2. Change 'Participant Description' to blank, then click Next > Error msg displayed 'Participant Description cannot include special character except space.' & 'Participant Description is required.'
Also happened at Participant Name field"
- Backend validation and Frontend validation display together. Change participant description to front end validation.*

Thank you

#4 Updated by Erni Suhaireen Zulkifli over 6 years ago

  • File 0000987_1.PNG added
  • File 0000987_2.PNG added
  • Status changed from New - Begin Life Cycle to Development / Work In Progress
  • Assignee changed from Erni Suhaireen Zulkifli to Ngoh Chee Onn
  • % Done changed from 0 to 60

Hi Chee Onn,

For issue 2:

1. Below error message still not displayed immediately after the 2nd attempt changes, it only displayed after click on 'Next' button. Also, why is the error message displayed separately (refer attachment 0000987_1.PNG) :

1. Admin Maker Supervisor Name cannot include numeric and special characters except space ' /
2. Supervisor Name cannot include numeric and special characters except space
' /
3. Admin Checker Supervisor Name cannot include numeric and special characters except space @ ' /

2. Below error message will displayed if enter 'Address' field with special characters (refer attachment 0000987_2.PNG):

Address is not in proper address format.

#5 Avatar?id=1966&size=24 Updated by Ngoh Chee Onn over 6 years ago

  • Status changed from Development / Work In Progress to Internal Testing
  • Assignee changed from Ngoh Chee Onn to Erni Suhaireen Zulkifli

Hi Erni,

Please refer below.

For issue 2:

1. Below error message still not displayed immediately after the 2nd attempt changes, it only displayed after click on 'Next' button. Also, why is the error message displayed separately (refer attachment 0000987_1.PNG) :
There are 2 validation, front end validation and back end validation. The error message display separately because front end validation and back end validation display together. I have change the logic to always display front end validation first before display back validation. Means, back end validation error message will not show, if front end validation got error message to show.

1. Admin Maker Supervisor Name cannot include numeric and special characters except space ' /
2. Supervisor Name cannot include numeric and special characters except space ' /
3. Admin Checker Supervisor Name cannot include numeric and special characters except space @ ' /

2. Below error message will displayed if enter 'Address' field with special characters (refer attachment 0000987_2.PNG):
This was the back end validation error message, it will been show when no more front end validation error message show.
Address is not in proper address format.

#6 Updated by Erni Suhaireen Zulkifli over 6 years ago

  • Status changed from Internal Testing to User Acceptance Test
  • % Done changed from 60 to 100

Issue has been tested and successfully passed.
This issue is currently send for user testing.

#7 Updated by Siti Norahayu Mohd Desa over 6 years ago

  • Status changed from User Acceptance Test to Work Completed-End life cycle

The following issue has been RESOLVED and closed by Hongyin on 12/6/18

Also available in: Atom PDF