I am having a form with a drop down and want to display the fields below it based on the drop down value selected.
for example: my form has a drop down <select value> <values: A, B ,C, D)
when I select A then I should get displayed a set of fields ( like input fields, drop down fields etc) just below the main drop down and when I choose B then it should display a set of fields specific to B and like that..
I have a table that has parts with multiple characteristics. Part Number, Height, Width, Capacity, Price, Etc. I would like to have a drop downs for all of these values, when a user selects one of these values it will filter the results into a list. Ex. user selects a part that has a Height of 6 and width of 10 it will only list those parts. As I said earlier, I have a script that will give me all the parts, however I am not able to make the onchange list parts with multiple values.
how to populate a dropdown based on Another dropdown selection. This all should be a dynamic. Eg: I have two text boxes one is TechID and other is JOB ID. When I start typing Tech ID it suggests me the list of IDs which start with the input string i have put in Tech textbox. When i select the Tech ID the jobs associated to that Tech ID should be displayed in JOB ID text box as a dropdown list.
I've been beating my head against a wall for a few days trying to get this working. I'm trying to create a dynamic menu where a user selects one item and another select list is shown, then another and another (and so on). Here is my JS, it *should* be taking the ID of the div, comparing it to the selected value and then showing another div by settings it's class property to visible:
I am trying to create a drop down list which depend to the value selected from the previous drop down list. I can add it without problem, but If I change again the value of the first drop down list I would like to remove the previous drop down list generated from the first value. If I try to remove it when I create the element, it even does not create the element, the remove element function seems to work because when you click on the remove link it works.
I will like to know if there is anyway to view all the rules that I have currently in the Jquery validation plugin. Currently, I am trying to add in rules dynamically through the rules(add) function after adding some dynamic fields through the user inputs. the rules are added in this manner.
grab the selected value from a drop-down. The alert just shows an empty message. At least it is not showing undefined (as it was for my other attempts - you can see what these were from the commented out code), but I would expect it to display one of the values One-way, Reciprocal or Other. Perhaps I have to do some conversion on the result.
There is a drop down list on my Web page with various values to be selected by the user. Once the user has selected a value, he/she clicks on the submit button. When he/she does that I would like 2 things to happen: the selected value of the drop down list is passed to another html page which opens in a new brower window open.
I've tried searching the forums extensively for this, but to no avail, so apologies if it's already been covered..
As the subject of the thread reveals, I want to create two sets of drop down menu's with the contents of the second being triggerred by the option selected on the first. However, I want to retrieve the options set for the 2nd menu via a php/mysql query.
I.e Menu 1 boasts: Users and Members for options.
If I select Members, I want a query to run that selects all Members and outputs as via menu options.
I am trying to make several fields in a HTML form validated, but only when a dynamic checkbox is selected. I am not sure how to do this.
Here is a snippet of the dynamic checkbox code: <% Set RSLIST = Server.CreateObject("ADODB.Recordset") SQLLIST = "SELECT * FROM Newsletters ORDER BY Newsletter_Name" RSLIST.Open SQLLIST, Conn, 1, 3 %> <%Do While Not RSLIST.EOF%> <input type="checkbox" name="Newsletters" value="<%=RSLIST("ID")%>"><%=RSLIST("Newsletter_Name")%>
I would like to make three fields (company, phone_work, license) mandatory when one of the "ID" (i.e. ID 2) is checked.
I am having a form with a drop down and want to display the fields below it based on the drop down value selected. For example: my form has a drop down <select value> <values: A, B ,C, D) when I select A then I should get displayed a set of fields (like input fields, drop down fields etc) just below the main drop down and when I choose B then it should display a set of fields specific to B and like that. What technology / script to use this to achieve this. I have also attached the sample html page.
I have a select control that has over 400<option></option>. To cut down on the user having to scroll through all 400 options I have included a text control that acts as a "Quick Index" and with each char entered into the text box the options are narowed. The problem I am having isthe once I have determined which option should be selected, how to set the option to value of "selected"