July 31, 200917 yr Hello everybody. The easy part: I want to create a HTML form. The hard part: When the user clicks submit I want the information on the next page to depend on what they entered on the form. For example the form asks "Do you have a dog?" and the user click a radio button saying yes I want the next page to display information about dogs. When the form asks "Do you have a cat?" and the user click a radio button saying yes I want the next page to also display information about cats. But when form asks "Do you have sheep?" and the user click a radio button saying no I don't want the next page to display information about sheep. Thanks in advance.
August 6, 200917 yr Hello everybody. The easy part: I want to create a HTML form. The hard part: When the user clicks submit I want the information on the next page to depend on what they entered on the form. For example the form asks "Do you have a dog?" and the user click a radio button saying yes I want the next page to display information about dogs. When the form asks "Do you have a cat?" and the user click a radio button saying yes I want the next page to also display information about cats. But when form asks "Do you have sheep?" and the user click a radio button saying no I don't want the next page to display information about sheep. Thanks in advance. You need to look into dynamic web pages, PHP is a server-side option, Javascript would be a client-side option. W3C have very basic tutorials on both to get you started, Google for some more in-depth tutorials.
Create an account or sign in to comment