Announcement Announcement Module
Collapse
No announcement yet.
How to set a radiobutton in <form:radiobutton/> pre-selected? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to set a radiobutton in <form:radiobutton/> pre-selected?

    My code looks as follow:
    Code:
    ...
    		<td>Male<form:radiobutton path="sex" value="M" /></td>
            <td>Female<form:radiobutton path="sex" value="F" /> </td>
    ...
    What I want is: as I start the this page, the radiobutton for "Male" is pre-selected.

    Someone knows the syntas?

  • #2
    Initialize your form object with the sex of value M.

    Comment


    • #3
      You are right.

      Thanks.

      Comment

      Working...
      X