T
tyv
Hi,
I'm a bit new to Javascript and I've encountered a technical roadblock
on a website that I'm working on:
I am working with javascript in an ASP file and I have a field box
that has two required fields: a username and a password. I am having
difficulty trying to make the third field (the email address)
required.
Is it possible for me to put multiple "if" statements in a function?
Or is it possible to put multiple functions in a script so that I can
get all three fields to be required? If so, are there any examples
that I can see?
Additionally, my ASP file refers to another JS file and (obviously)
some of the scripts in the ASP files are referred to in the JS file as
well. I'm not quite sure where my scripts should be going as I
haven't referred to separate js files in a script before.
Any suggestions you can offer is much appreciated.
TV
I'm a bit new to Javascript and I've encountered a technical roadblock
on a website that I'm working on:
I am working with javascript in an ASP file and I have a field box
that has two required fields: a username and a password. I am having
difficulty trying to make the third field (the email address)
required.
Is it possible for me to put multiple "if" statements in a function?
Or is it possible to put multiple functions in a script so that I can
get all three fields to be required? If so, are there any examples
that I can see?
Additionally, my ASP file refers to another JS file and (obviously)
some of the scripts in the ASP files are referred to in the JS file as
well. I'm not quite sure where my scripts should be going as I
haven't referred to separate js files in a script before.
Any suggestions you can offer is much appreciated.
TV