Đã hoàn thành

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)







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]

Kĩ năng: Angular.js

Xem nhiều hơn: 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

Về Bên Thuê:
( 8 nhận xét ) CORINDA, Australia

ID dự án: #13113874

Được trao cho:


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 Thêm

$30 AUD trong 1 ngày
(3 Đánh Giá)

21 freelancer đang chào giá trung bình $36 cho công việc này

$30 AUD trong 1 ngày
(27 Nhận xét)
$50 AUD trong 1 ngày
(39 Nhận xét)

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

$50 AUD trong 3 ngày
(7 Nhận xét)

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 Thêm

$30 AUD trong 1 ngày
(9 Nhận xét)

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 Thêm

$155 AUD trong 1 ngày
(1 Nhận xét)
$55 AUD trong 1 ngày
(11 Nhận xét)

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 trong 2 ngày
(4 Nhận xét)

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 Thêm

$30 AUD trong 1 ngày
(2 Nhận xét)

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 trong 5 ngày
(4 Nhận xét)
$30 AUD trong 1 ngày
(0 Nhận xét)

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 Thêm

$15 AUD trong 2 ngày
(1 Nhận xét)

A proposal has not yet been provided

$30 AUD trong 5 ngày
(0 Nhận xét)

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 trong 1 ngày
(0 Nhận xét)

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 trong 2 ngày
(0 Nhận xét)

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 trong 7 ngày
(0 Nhận xét)

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 trong 1 ngày
(0 Nhận xét)

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 trong 1 ngày
(0 Nhận xét)

A proposal has not yet been provided

$10 AUD trong 1 ngày
(0 Nhận xét)
$25 AUD trong 1 ngày
(0 Nhận xét)

having great exposure in front end implementation

$35 AUD trong 2 ngày
(0 Nhận xét)