A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
repopulate radio button
Joined: Mar 14, 2011
Jul 19, 2011 23:13:25
Hi everyone,please tell me how to repopulate the radio button after form submission.
Thanks in Advance
Joined: Dec 20, 2006
Jul 20, 2011 01:47:16
I am trying to route your post to the correct forum.
Your form, is that a
, or something else?
OCUP UML fundamental and ITIL foundation
Joined: Aug 01, 2010
Jul 21, 2011 18:57:24
Do you mean either of below:
- you want to cache the previous radio button selection,
- persist it somewhere and us next time,
- repopulate it to a default value
if no, please elaborate the requirement. Also, are you using some framework like jsf etc. or simple servlets/jsps??
I came to this world on a Learner's License
It is sorta covered in the
JavaRanch Style Guide
subject: repopulate radio button
Use CSS to make a button in pressed mode
Text wraps underneath radio buttons
get value from radio button
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014