Making second textbox"Required”(*) based upon “selected” value of Dropdown list : This is my dropdownlist 

    <asp:DropDownList CssClass="DropDownForm" ID="PositionShift" runat="server">
                           <asp:ListItem Text="Please Select" Value="" />
                           <asp:ListItem Text="option1" Value="1" />
                           <asp:ListItem Text="option2" Value="2" />
                           <asp:ListItem Text="option3" Value="3" />
                           <asp:ListItem Text="option4" Value="4" />
                            <asp:ListItem Text="option5" Value="5" />
                           <asp:ListItem Text="option6" Value="6" />
                           <asp:ListItem Text="option7" Value="7" />
                           </asp:DropDownList>
label  

    <asp:Label  ID="RequisitionNumberLabel" Text="Requisition Number" runat="server"></asp:Label>
textbox

    <asp:TextBox ID="RequisitionNumberTextbox" runat="server" ></asp:TextBox>

So, When ever user choose Option1, option5 , option6, then make RequisitionNumberTextbox as a required field with showing "*" on its label. Otherwise its not required and no need to show * on label. 

I found some related example but I cant figure out on my own.I was trying on Jquery Completely beginner.Thank you 


 

