We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I trying so hard for this challenge, its weird because the logic is different, if u see the error carefully u would understand how to abuse it T_T
the logic is,
"joining date" will display two same error at the first, just clone the error.
But if "joining date" was correctly inputed, that one error should shows until all field correctly inputed.
THEN, if name, email, employeeId is null that "joining date" error should only shows once, but if u correctly input the "joining date" (while name, email, employeeId is null) all errors of "joining date" should disappear:)
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Employee Validation
You are viewing a single comment's thread. Return to all comments →
I trying so hard for this challenge, its weird because the logic is different, if u see the error carefully u would understand how to abuse it T_T
the logic is,
"joining date" will display two same error at the first, just clone the error. But if "joining date" was correctly inputed, that one error should shows until all field correctly inputed.
THEN, if name, email, employeeId is null that "joining date" error should only shows once, but if u correctly input the "joining date" (while name, email, employeeId is null) all errors of "joining date" should disappear:)