• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:checkbox tag

 
Manish Moorjani
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a form in which I have mulitple records
like this

Name Owns Car

Manish (checkbox here)
Amit (checkbox here)
Rajesh (checkbox here)

Save button

For the checkbox ,I am using
<html checkbox propertyName=checkCar value= ??? >
In the value I want to put the unique id of the name, so that I can determine for which user the checkbox was clicked.
I am using html iterate to print the names

Thanks
Manish
 
Ram Munshi
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use <html:multibox > for such kind of thing ,and in action form you can take an array of string to represent array of string to store the values. I suppose.

Ram
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic