nastey Posted September 17, 2006 Share Posted September 17, 2006 what is the code for matching the two specific words in 2 text fields? simular like a username and a password. and then, if those 2 words are matching, and by pressing the button down, to open! and if they don't match, not to open the page. that is for text fields, and how about check boxes and radio buttons? if the correct button or check box is selected, then by pressing the button to go to the specific page. some kind of a quiz. thanksI meant this:For example:Which is the biggest river and where is it? ______________ River |____________|_ (insert its name in the text boxes)Country |____________| ____ |ok| (press the button if you think it is correct)And if the person writes "Amazon" and "Brazil" then by pressing ok, leads him to the next question, for example!And if he writes, for instance "Nile" and "Egypt", than when he presses OK, it will link him down to the first question, for example.And the same happens with the text boxes and radio buttons. If the ringht box or button is selected, then by pressint the OK buton, he can continue, ok? Link to comment Share on other sites More sharing options...
aquatsr Posted September 17, 2006 Share Posted September 17, 2006 I don't know exactly how to do what you want but I do know that you can use javascript to achieve your goal. Link to comment Share on other sites More sharing options...
nastey Posted September 18, 2006 Author Share Posted September 18, 2006 I don't know exactly how to do what you want but I do know that you can use javascript to achieve your goal.For example:Which is the biggest river and where is it? ____________________ River |____________|_ (insert its name in the text boxes)Country |____________| ____ |ok| (press the button if you think it is correct)And if the person writes "Amazon" and "Brazil" then by pressing ok, leads him to the next question, for example!And if he writes, for instance "Nile" and "Egypt", than when he presses OK, it will link him down to the first question, for example.And the same happens with the text boxes and radio buttons. If the ringht box or button is selected, then by pressint the OK buton, he can continue, ok? Link to comment Share on other sites More sharing options...
holmedwa04 Posted September 18, 2006 Share Posted September 18, 2006 Haven't you already said that in your previous post? Link to comment Share on other sites More sharing options...
aspnetguy Posted September 18, 2006 Share Posted September 18, 2006 Haven't you already said that in your previous post?he did. he juast cut and pasted the last half of his first post. Not sure why. Link to comment Share on other sites More sharing options...
holmedwa04 Posted September 18, 2006 Share Posted September 18, 2006 Ok, never mind, I know this is like one of the most random questions ever, but how do you know the ###### of a user, because it doesn't tell you anywhere, or do you just have to guess by there name? Link to comment Share on other sites More sharing options...
aspnetguy Posted September 18, 2006 Share Posted September 18, 2006 I assume you meant gender of a user (note the ##### in your post). Well I don't...I usually generalize and say he....I hope I don't offend anyone with that... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now