Question
In visual studio you will add another page to your web site for collecting contact information from users. Create a web form that has these
In visual studio you will add another page to your web site for collecting contact information from users. Create a web form that has these requirements.
Make fields marked with (*) required fields
Make sure the email submitted from your form is in correct email format.
By using validation controls, add required code to check the correct answer of (10 + 5). Based on the the correct answer the form will or will not get submitted. If user did not provide a correct answer, generate a message thanking him or her for their visit.
The form should have these:
Title: Contact us
Full name*
Email address*
Website
Subject*
Your message
To help prevent automated spam, please answer this question
*What is 10 + 5?
And submit form button
Fields that are marked with an (*) Make required fields.
Use ASP.net validation controls to validate the e-mail address to check that the user has in fact typed in a valid e-mail address.
Code the equation (10+5) using C# syntax. Use appropriate selection to check if the user has given the correct answer. If the user did not provide the correct answer, generate a message thanking him or her for their visit. If the user did not give the correct answer, direct him or her back to your home page.
When your project is completed, submit it in this dropbox.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started