hi all, I need to show user's some fields on the screen and provide a check box besides each one of it such that the user checks the box. And when the user clicks on the submit button at the end then I need to supply these field names (which ever one's are selected) to the procedure. thanks, greddy
posted 15 years ago
<FORM ACTION="CGI script or Servlet"> <INPUT TYPE="checkbox" NAME="checkbox1" VALUE="check1">Check Here </FORM>
Checkboxes: Checkboxes (and radio buttons) are on/off switches that may be toggled by the user. A switch is "on" when the control element's selected attribute is set. When a form is submitted, only "on" checkbox controls can become successful. 17.13.2 Successful controls A successful control is "valid" for submission. Every successful control has its control name paired with its current value as part of the submitted form data set. A successful control must be defined within a FORM element and must have a control name.
Tony Alicea Senior Java Web Application Developer, SCPJ2, SCWCD