Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Radio Button

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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..

//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?

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
change radio button size ?Radio Button

this might sounds like an easy question but I have yet to figure this out.

How does a person increase the size of a radio button? I need to make the circular clickable area larger. The text next to the button can stay the same size - doesn't matter... When I go into component inspector and try enlarging it, the radio button itself remains the same size. Uggg, seems like there should be a way to do this, but...

any suggestions?? 

thanks in advance!

Share this post


Link to post
Share on other sites
RadioButton not being selectedRadio Button

I'm making a guessing game for a project. I want this to happen: when a edited picture shows , the user should be able to pick one of the 3 options. If they get the answer right then a message box should come up saying "correct" and the real picture of the celebrity would show. If they get the answer wrong then it would be the other player's turn. The problem is that the user is not able to select a radio button. The code I have so far:Select Case beyonce Case beyonce picCelebrity.Image = My.Resources.Beyonce2 rdbOption1.Text = "Beyonce" rdbOption2.Text = "Michelle Obama" rdbOption3.Text = "Jordin Sparks" If rdbOption1.Checked = True Then MsgBox("Correct!", MsgBoxStyle.MsgBoxRight) picCelebrity.Image = My.Resources.Beyonce Else If rdbOption2.Checked = True Then MsgBox("Incorrect! Player" & count & "gets a chance", MsgBoxStyle.OkOnly) Else If rdbOption3.Checked = True Then MsgBox("Incorrect! Player" & count & "gets a chance", MsgBoxStyle.OkOnly) End If End If End Select

 

-question by mee =)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.