I have a simple form that a user fills out. When they click Submit, aspmailer.asp parses the form and then e-mails the results to my client. I need to make some of the fields on the form, such as name and e-mail, required fields. If they aren't completed, they can't send the form.
I've tried using a javascript solution to pop up an alert if the field is not filled out, but it doesn't work. I'm thinking that ASP and javascript can't coexist peacefully in the same html file?
I have samples of what I'm working on available. Any help you can give me in making the fields required will be greatly appreciated.
BTW, I'm very, very new to programming. I know there is a simple solution to this, but I don't know what it is yet.
I've tried using a javascript solution to pop up an alert if the field is not filled out, but it doesn't work. I'm thinking that ASP and javascript can't coexist peacefully in the same html file?
I have samples of what I'm working on available. Any help you can give me in making the fields required will be greatly appreciated.
BTW, I'm very, very new to programming. I know there is a simple solution to this, but I don't know what it is yet.