|
|
|
|
![]() ![]() |
Jul 26 2005, 09:34 PM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 407 Joined: 13-December 04 Member No.: 2,696 |
I am trying to maintain the radio button selection on a Submit, but the form refreshes to its default selection.
BTW, After a Submit is clicked, the radio form stays visible on the top of the screen while the query results are displayed on the bottom half of the screen (we're using an internal, embedded link). That's when the default selection comes into place. Any help would be appreciated. Please respond Kvarnerexpress. |
|
|
|
Aug 15 2005, 12:11 AM
Post
#2
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 661 Joined: 10-January 05 Member No.: 3,189 |
I am not sure of what you mean, can you clarify by showing some code or a screenshot?
thanks, whyme |
|
|
|
Aug 15 2005, 07:01 PM
Post
#3
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 362 Joined: 2-March 05 From: The Netherlands Member No.: 4,097 |
Have you assigned values and names to the radio button?
and what other language are you using to fetch the radio button selection? i am focussed on php so this'll be in php.. CODE //Query page: <?php <form action=\"your_result_page.php\" method=\"post\"> <input type=\"radio\" name=\"radio_name\" value=\"1\">Option 1 <input type=\"radio\" name=\"radio_name\" value=\"2\">Option 2 <input type=\"submit\" value=\"submit\"> </form> //Result Page: print "You have chosen ".$_POST['radio_name']."."; print "<br>"; print "Is this correct?"; //add more.. remember to use the same "radio_name" is this what you were looking for? |
|
|
|
Aug 15 2005, 07:02 PM
Post
#4
|
|
|
Member [Level 1] ![]() ![]() ![]() ![]() Group: Members Posts: 59 Joined: 8-June 05 Member No.: 7,996 |
If just go back in history to the page containing the radio buttons, the value should be preserved.
If you go there by a link, you would need to use php or cookies or something else to show the page how like the visitor left it. Maybe if you can be more precisely... |
|
|
|
Jul 8 2008, 02:06 PM
Post
#5
|
|
|
Trap Double Mocha Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2,360 Joined: 21-September 07 Member No.: 50,369 |
raise check event of radiobutton by passing it from other page using querystring
Radio Button I have two pages on one page there is button and on second there is button and radiobutton I want to check that radiobutton when button on first page is click and that value of check event is pass through querystring with second psge name -question by rahul |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 6th September 2008 - 05:02 PM |