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.
I currently have a PHP menu that drops the appropriate brand names to select by brand. The selection is made by pressing the submit button. The goal is to select a brand utilizing javascript to pass variables on to the brand.php page rather than 1)click the brand then 2) click the 'submit' button. I have very little js experience, so I'm looking for suggestions on examples, links, tutorials,
I have this code, I know it has ASP in it but the ASP isnt giving me the hard time, the javascript is (I think...). Right now users can use this drop down menu to get to a certain page, but instead i need to have them type in a number and then have it go to that page in a new window (as they are PDF files) and if not, display an error. Right now I have
<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.
I have two drop down menus. I want two values to be added based on what they picked and then outputted to a text field to show a grand total in a dollar amount.
This is what I have:
Code:
Code:
Note I haven't did any type of code for the 2nd drop down menu just in case anybody says I don't see anything. I was working on trying to get started in the right direction.
however the validation still fails on the creditcard field. If I enter this in to Firefox's console:
$("#OForm").validate().element("#creditcard");
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 couple of kludgy ideas on how to work around this (mostly javascript based - e.g. setting hidden fields in the "change shipping" form when the user is changing the billing fields). However, I was wondering if there were any other easy solution to acheive this.
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.
Right now those drop down lists are just html form controls, would this all work together better if they were instead javascript drop down menus? I really want to build this page the best way for it to be built and I'm not afraid to make changes if there is a better way than what I'm using now.
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.
...however, with the way that the javascript is set up now I'm only able to select one default price. This means that whatever quantity is selected -- it's simply multiplied by the number 7 to provide a total.
1 clip is $7 2 clips are $14 3 clips are $21 5 clips are....etc.[code].....
I have a form with a text field and a submit button. I don't want the form to submit if the text field is filled in correctly. for example a email address typed in the text field area. I'm working with spry validation but i guess i need to add some kind of onSubmit event, with javascript. I have some idea but not sure what to fill in by the "if statements" in the script.
I am developing a small app in Joomla! where I need to sequentially number file folders. On the page where I add new folders I have a select menu to select the type of folder. In this case, either Action, Reference, or Archive. What I want to have happen is after I select the type of folder, I want to enter the next available number in the form field. I realize to do this without resubmitting the page I need to use javascript and onchange. The problem is I am almost clueless when it comes to javascript (I am working on it though) so I need some help. This is what I have.