File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

form validation help

 
greddy
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic