comparing two email fields

T

The guy upstairs

Am looking for suggestions on comparing two email fields. Have looked in
the usual cut and past sites, but none seem to fit. the name of the two
fields are email and confirmEmail.

Any suggestions would be appreciated.
 
R

Randy Webb

The guy upstairs said the following on 11/19/2006 10:56 AM:
Am looking for suggestions on comparing two email fields.

Compare the .value property of each input.
Have looked in the usual cut and past sites, but none seem to fit.

"usual cut and paste sites"? There's your problem.
the name of the two fields are email and confirmEmail.

Any suggestions would be appreciated.

if(field1Ref.value == field2Ref.value)

Read the group FAQ to learn how to get that field1Ref and field2Ref
 
M

mick white

The said:
Am looking for suggestions on comparing two email fields. Have looked in
the usual cut and past sites, but none seem to fit. the name of the two
fields are email and confirmEmail.

Any suggestions would be appreciated.

function theSame(a,b){
return a==b;
}

Mick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top