I'm trying to find a drop down menu system that allows two levels of drop down, BUT, the whole navigation system needs to be able to work cross browser and inthe centre of the window. All the one's i find position themselves to the left with the drop downs positioned at a defined location. Does anybody know where to find a good one.
I am trying to use jquery: validation plugin by Jörn Zaefferer. Which works really well I have to say. The one limitation I am trying to work around is how I can run validation for required fields before I submit a form. At the moment I have to submit the form before I see the error messages for required fields I would like to see them prior as the user tabs through the form.
How do I disable the submit button if all required fields in a form are not filled in? Say I have a form with Name, Age,message, and email. Name, message and email must be filled in or else the submit button will not show or will be disabled and then enabled once filled. If the fields are filled in then the submit button will show. If the fields are filled in but then one is deleted then the submit button will hide. Ideally if I can have it disabled that will work, if not I will settle on hide at this point.
I have a dropdown menu and two checkboxs and when the user selects something from the dropdown menu I need it to change the text in the textbox field to 80. Then if the user checks off the first checkbox it'll add 20 to the total and if they select the next checkbox it'll add 30. When they change the textbox value it should uncheck the checkboxs and bring the value back to 80.
<select name="catalogPage" > <%for i = 1 to 396%> <option value="<%=i%>.pdf"><%=i%></option> <%next%> </select>
And that works fine, but Ive tried countless different things and nothing seems to give me the desired result.
however the validation still fails on the creditcard field. If I enter this in to Firefox's console:
it returns false.
To make matters more confusing, this validation only fails on my form when I am passing a particular parameter in the URL string. I've scoured my code and cannot figure out why that parameter would have any impact whatsoever on this matter.
I am trying to find out how to create a drop-down menu in a form that when for example "Option 1" is selected a second drop-down menu appears with further options that are specific to the first option. For example;
On an HTML page with 2x different forms, how can I redisplay the same page after a submit, restoring the values from BOTH forms even though only one was submitted?
I have an existing PHP program that I am modifying, and need to redisplay the same page after a submit (the button that submits is a "change shipping" button, that allows the user to continue with the rest of the page). The problem is that there are TWO forms - the one that allows you to change shipping, and the other where the user can fill in the billing address. Making this into one form is not really an option, due to how the program is set up.
Since they are 2 different forms, submitting the "change shipping" form does NOT bring the billing address fields to my PHP code in the POST. This makes restore difficult.
I have a search interface that I'm building that uses radio buttons, jump menus and a keyword search text box.
Is there a way to have a little "go" button next to the text field that will submit just the search string in the text box to my searchresults.php page?
Right now, any submit button I put within the page submits all parameters from my radio buttons and jump menus in addition to the keyword values. I would like the keyword entry box information only to be used if there are any values in it and have any other variables (e.g. from the radio buttons) to be null so I don't get a search with keywords AND radiobutton values. Of course, if nobody clicks the radiobuttons, no problem, no values are passed, but I'm sure some pesky user will have some checked and then decide to do a keyword search...
I'd rather send the info to the same PHP results page, so I don't want other values to muddle up the keyword results. I'm sure I could erase the other values with an 'if keywords=anything then other variables are null' statement, but I want the user to think they're only submitting the keywords from the entire page (which is what a 'go' button next to the field would imply) and I thought there might be a simple way.
I'm trying to accomplish something unique that I am not finding any examples for in web searches.I have a webpage with arrow pictures that I will set up with a clickable link that will send http arguments to a php script.I need to grab the selected value in one of the drop down menus on that same page and send that as one of the html arguments when clicking on one of the arrow buttons.
I have the perfect form for a client - but its missing one thing. She sells hair clips in various colors. A user can select a hair clip color and quantity quite easily (as seen in the code below). My issue is that she wants to be able to give the user a 'special price' based on the quantity ordered by the user. Contrary to simply adding the default price of $7 over and over again based on the quantity selected.The way I want it to work...
1 clip is $7 2 clips are $12 3 clips are $22 5 clips are....etc.
1 clip is $7 2 clips are $14 3 clips are $21 5 clips are....etc.[code].....