The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> help html/php (absolute beginner)
post Apr 21 2017, 07:37 AM
Post #1

Group: Members
Posts: 1
Joined: 21-April 17
Member No.: 26,378

hello, i need help for a website

how can i make appear another dropdown menu if i choose for example "master" in the first dropdown menu

<form class="form-horizontal row-top-margin" action="training.php" method="post">

<div class="form-group">
<label for="degree" class="col-sm-2 control-label">DiplĂ´me</label>
<div class="col-sm-10">
<select class="form-control" name="degree">
<option value="none">Aucun</option>
<option value="baccalaureate">Baccalauréat</option>
<option value="bachelor">Bachelor</option>
<option value="masters">Masters</option>
<option value="phd">PhD</option>
<option value="other">Autre</option>

This post has been edited by nicotier: Apr 21 2017, 07:43 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Apr 21 2017, 10:12 AM
Post #2


Group: WDG Moderators
Posts: 7,839
Joined: 10-August 06
Member No.: 7

When the form is submitted, the PHP script in training.php could check if the "masters" value was submitted, and if so create a new HTML page with the other dropdown menu.

For the basics of PHP forms, see
User is online!PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


- Lo-Fi Version Time is now: 24th June 2018 - 07:26 PM