• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

form validation help

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Desperado
Posts: 3226
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic