0

Why it's not working ?

I have been writing codes since 5 hours ago ,I have created a JavaScript form validator, and I put a list of names that can not be used as a username, it worked fine ,but when I try to enter a name that is not in that forbidden list , e.g." Adam " the code takes it like a forbidden name,thus it prints :You can't use this username, please try a new one! " what can I do ?thanks for your help guys

17th Dec 2016, 5:31 PM
Elmahfoud Majidi
Elmahfoud Majidi - avatar
1 ответ
0
post the code so that we can help
17th Dec 2016, 11:56 PM
Omar Einea
Omar Einea - avatar