How to create an HTML static dropdown menu

in dropdownmenu •  7 years ago 

Hi,
In order to create a HTML form with a dropdown menu, which is static. We can code it using the select element.
For example, when a program committee member reviews a paper, there are two options for
recommendation, "y" or "no", this can be coded as the following HTML form (contirbutions of Andre Stepho
Daniel Liu)

(html comment removed:

Update Review

<b>Enter reportID:</b>
<input  type="text" name="v" id="v"><br><br>

<b>Enter date:</b>
<input  type="text" name="date" id="date"><br><br>
      
<b>Enter comment: </b>
<input type = "text" name = "comment" id = "comment"><br><br>

<b>Enter recommendation (Y/N): </b>
<select name="recommendation">
    <option value="Y">Y</option>
    <option value="N">N</option>
</select>

<br></br>

<b>Enter paperID: </b>
<input type = "text" name = "paperid" id = "paperid"><br><br>

<b>Enter email: </b>
<input type = "text" name = "email" id = "email"><br><br>

<b>Enter memberID: </b>
<input type = "text" name = "pcmemberid" id = "pcmemberid"><br><br>


      <input  type="submit" value="Submit" >
    <p>${statusMsg}</p><br><br>
)
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!