Käynnissä

Add validation messages to a login form

I have a working login form which communicates with a backend server that is able to validate the login. The project uses the angular 2 javascript framework.

I need to enhance the form so that it provides validation to the login form, and error handling.

Before the form is submitted.

checks that the email has been entered

checks that the password has at least 5 characters

If any of the above checks failed to highlight the entry field and display a message below of the requirement.

Then when the form is submitted and the response received (this code is working ok) there will be a status field that the back end sets if the login passed or failed against the database.

If the status is > 0 then show an alert error on the login screen. (this needs to be added). The alert message comes from the returned statustext in the json response returned from the backend (this is already working.

If the status is 0 to return to the dashboard and display the user's name (this code is already working)

The response to a login request returns a json with the fields below: (if status is 0 the all the fields are set with the user's data, if the status is not 0 all fields are empty except status and statustext. (this code is already working)

id

firstname

surname

email

status

statustext

status 0 login and password is correct

Where the statustext for each error is shown below::-

status 1 user not on file please register

status 2 Invalid password

status 3 Password required

If the user has entered data and the returned status is not 0 then display an alert on the login form The alert shows the statustext returned from the backend.

the source code is on github in the login-validation branch

[url removed, login to view]

Taidot: Angular.js

Näytä lisää: form login smarty php, javascript form checkbox database validation, flash cs3 form login, form login java, php mysql registration form login, add 400 request myspace, add language request tracker, form login website, php server side form post script validation, chinese web form error messages, registration form login php, permissions add service request sharepoint, form login java swing application, retrieve data site using snoopy form login, centos shell login messages, create php registration form login, form login java mysql

Tietoa työnantajasta:
( 8 arvostelua ) CORINDA, Australia

Projektin tunnus: #13113874

Myönnetty käyttäjälle:

allenav

Hi Dedicated 5 years of experience in Angular. Picking up small projects to make profile on freelancer as i am working very great on other portals. I can do this in 1 hour. [url removed, login to view] i am work Lisää

30 $ AUD 1 päivässä
(3 arvostelua)
3.4

21 freelanceria on tarjonnut keskimäärin 36 $ tähän työhön

30 $ AUD 1 päivässä
(27 arvostelua)
5.7
50 $ AUD 1 päivässä
(39 arvostelua)
5.6
juniadsarfraz

VERY EASY for me. Contact me ASAP with more details. I can do this. Thanks, Junaid

50 $ AUD 3 päivässä
(7 arvostelua)
5.1
abhishekmodgi

I have 5 years of experaince as a web application developer developing web application using C# asp.net Sql.I have worked on html5 css3,javascript related libraries,angular js and jquery for past 2 years and have a goo Lisää

30 $ AUD 1 päivässä
(9 arvostelua)
3.8
artifexonline

Hi, I have reviewed your requirement and I can do this job as per your requirement. I have a advanced skills in WORDPRESS , Laravel, PHP, Codeigniter, Angular.js, Bootstrap, API Integration, Plugins , MYSQL, JavaSc Lisää

155 $ AUD 1 päivässä
(1 arvostelu)
3.5
55 $ AUD 1 päivässä
(11 arvostelua)
3.7
TwoStatesTech

Dear Hiring Manager, I have good knowledge of this type of work hope we can work together and i am sure for the best quality work Please ping me if you want check my past work I can share with you.

61 $ AUD 2 päivässä
(4 arvostelua)
2.9
neoconcepts

Hi, I have read your job description . I completely understand your requirements. I am skilled in Angular.js, Php , joomla , MySQL,Wordpress,MVC,cake php, Javascript, CSS, HTML5, jQuery. I have 10+ years of work ex Lisää

30 $ AUD 1 päivässä
(2 arvostelua)
2.7
samiem41

Hey, I can do this simple task for you. Can you let me know about the rest server which you use to connect? I will set up this in my local and work. Let me know!

20 $ AUD 5 päivässä
(4 arvostelua)
2.4
30 $ AUD 1 päivässä
(0 arvostelua)
0.0
zahid629

Hi there, I’d like to be considered for your cloud developer position. I’m a strategic software architect with a strong background in product analysis and development. For 7 years I’ve worked in .NET based appli Lisää

15 $ AUD 2 päivässä
(1 arvostelu)
0.0
qubuent

A proposal has not yet been provided

30 $ AUD 5 päivässä
(0 arvostelua)
0.0
burceacatalin

Hello, Is this job still available? I am a front-end developer for almost 3 years. I can do this job for you

15 $ AUD 1 päivässä
(0 arvostelua)
0.0
Avirup99

I understand your requirements for the job and I think I will be able to do it efficiently as I have previously worked with JavaScript validation and json with perfection.

10 $ AUD 2 päivässä
(0 arvostelua)
0.0
asz5152

Hello there i can do this for you. I am an experienced web developer and have been working in this field since long now.

45 $ AUD 7 päivässä
(0 arvostelua)
0.0
bizzr3

am a full stack developer (PHP Jquery AnngularJS) and am doing this kind of tasks daily, i will provide different UI design for error messages and documents for source codes.

25 $ AUD 1 päivässä
(0 arvostelua)
0.0
monty7272

I have more than 3 years of experience in php, magento, WordPress. I can create your website as fast as possible. so please assign project to me. Thanks you. Murtaza

15 $ AUD 1 päivässä
(0 arvostelua)
0.0
laxmanpatel46

A proposal has not yet been provided

10 $ AUD 1 päivässä
(0 arvostelua)
0.0
25 $ AUD 1 päivässä
(0 arvostelua)
0.0
veludeveloper

having great exposure in front end implementation

35 $ AUD 2 päivässä
(0 arvostelua)
0.0