En cours

Validate two input fields for content ignoring the placeholder string

I have three input fields:

HTML:

<input type="text" class="form-control" id="form-signup-field-firstname" placeholder="First name">

<input type="text" class="form-control" id="form-signup-field-lastname" placeholder="Last name">

<input type="email" class="form-control" id="form-signup-field-email" placeholder="[url removed, login to view]">

JS: And the following function to use for validating the email:

function validateEmail(email) {

var emailReg = /^([\w-\.]+([\w-]+\.)+[\w-]{2,4})?$/;

return [url removed, login to view]( email );

}

TO-DO:

1. Validate field 1 + 2 and check if the fields are empty

2. Validate the email with the above function (had to remove some signs in the function in this preview - full function will be provided)

3. Trigger an JS alert with the fields not validating correct:

alert("First name was not filled out correct\nLast name was not filled out correct\nThe email was not filled out correct");

Need someone to do this now

Compétences : Javascript

Voir plus : test class for trigger, ignoring someone, flash template input fields, add input fields database, oscommerce input fields, jquery sum input fields, input fields flash, flash input fields post, form input fields change color focus javascript, flash input fields, content input, designing input fields flash

Concernant l'employeur :
( 46 commentaires ) Copenhagen, Denmark

N° du projet : #8525330

Décerné à :

mondersky

one hour is all what I need Plus

20 $ USD en 1 jour
(55 Commentaires)
5.6

13 freelance ont fait une offre moyenne de 24 $ pour ce travail

syslogic

could do this right now - either JavaScript or jQuery. .

30 $ USD en 1 jour
(16 Commentaires)
5.0
solution4you

A proposal has not yet been provided

25 $ USD en 0 jours
(10 Commentaires)
3.7
dkouk

Hi sir, i was work with you before and ready to do that in next hours, make it the code clean, Could you please contact me. Cheers, Dkouk

25 $ USD en 1 jour
(11 Commentaires)
3.6
hro2009

Hello I wont tell more here about myself and my [url removed, login to view] during interview please I am a 5 years experienced developer. I am a Honest and Responsible. Thanks in advance. one note :(Dislike freelancers who track w Plus

35 $ USD en 3 jours
(1 Commentaire)
2.9
codistanpk

Dear Employer , We are highly interested in your project as it lies within our domain of expertise. We have an in house team with expert skills and dedication to work. We have javascript experts and this is a very sim Plus

17 $ USD en 0 jours
(5 Commentaires)
2.6
renandocarmoreis

Hello, I can code the javascript validation into your web form. It will ignore the placeholder and show an alert if validation fails

15 $ USD en 1 jour
(3 Commentaires)
2.3
vatia

I have 5 years experience in a required skill so I can help you with that validation function. hope you`ll give this project in a good hands

20 $ USD en 1 jour
(3 Commentaires)
2.2
aisvaryayemi

Your requirement is well understood. we will get this done in a few fours. We have a vastly experience team and you can see a portfolio of our works. Anticipating your prompt response

20 $ USD en 1 jour
(0 Commentaires)
0.0
A1exVap

Предложение еще не подано

25 $ USD en 3 jours
(0 Commentaires)
0.0
GuilhermeHOliver

Hello. The validating shouldn't be hard to complete, I can finish it before the 24 hour mark. Looking forward to work with you. Best regards.

30 $ USD en 1 jour
(0 Commentaires)
0.0
kennethtang4

Well, as I think you need it urgently, I think this will be better for you. JS: if ([url removed, login to view]("form-signup-field-firstname").value != "") { if ([url removed, login to view]("form-signup-field-lastname") Plus

15 $ USD en 3 jours
(0 Commentaires)
0.0
serxanresullu93

i will fix it and teach you how did i do if you want.i did many projects in frontend and backend i am new in [url removed, login to view] i did your job my level will increase :)

25 $ USD en 1 jour
(0 Commentaires)
0.0
memmedimanli

I will do all task which you specified on time. I did a lot of stuff like this and I am pretty sure I will do this in short time.

23 $ USD en 1 jour
(0 Commentaires)
0.0
rizileo20

I am interested in your project. I have created lots of web forms with these kind of validation filters. I can solve this problem in less than one day!

35 $ USD en 1 jour
(0 Commentaires)
0.0
ankurtopseed

A proposal has not yet been provided

25 $ USD en 1 jour
(0 Commentaires)
0.0