Add validation messages to a login form

Đã Đóng

Mô tả

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]

Kỹ năng: Angular.js

Xem thêm: 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

Mã Dự Án: #13113874

Đã trao cho:

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. http://52.27.121.57/ i am work Thêm

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

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

$30 AUD trong 1 ngày
(26 Đánh Giá)
5.7
$50 AUD trong 1 ngày
(31 Đánh Giá)
5.4
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 Thêm

$30 AUD trong 1 ngày
(8 Đánh Giá)
3.8
juniadsarfraz

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

$50 AUD trong 3 ngày
(3 Đánh Giá)
3.8
$55 AUD trong 1 ngày
(7 Đánh Giá)
3.0
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 Thêm

$30 AUD trong 1 ngày
(2 Đánh Giá)
2.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 trong 2 ngày
(3 Đánh Giá)
2.8
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 trong 5 ngày
(3 Đánh Giá)
2.3
qubuent

A proposal has not yet been provided

$30 AUD trong 5 ngày
(0 Đánh Giá)
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 trong 1 ngày
(0 Đánh Giá)
0.0
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 Thêm

$155 AUD trong 1 ngày
(0 Đánh Giá)
0.0
$30 AUD trong 1 ngày
(0 Đánh Giá)
0.0
veludeveloper

having great exposure in front end implementation

$35 AUD trong 2 ngày
(0 Đánh Giá)
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 Thêm

$15 AUD trong 2 ngày
(1 Đánh Giá)
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 trong 7 ngày
(0 Đánh Giá)
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 trong 1 ngày
(0 Đánh Giá)
0.0
laxmanpatel46

A proposal has not yet been provided

$10 AUD trong 1 ngày
(0 Đánh Giá)
0.0
nwnz

Dear Hiring Manager, I read through the job details extremely carefully and I am absolutely sure that I can do the project very well. My work experience as shown in my profile have helped me develop mastery in We Thêm

$29 AUD trong 1 ngày
(0 Đánh Giá)
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 trong 1 ngày
(0 Đánh Giá)
0.0
naren59

Hello There Greetings....!! I have a team of experience developers ...offering you very cheap rate with sure result...so please give us a chance to start our business relation. 1.Extensive more than 7 Years Experie Thêm

$25 AUD trong 1 ngày
(0 Đánh Giá)
0.0