cancel
Showing results for 
Search instead for 
Did you mean: 

How to i identify the items are checked are not.

Former Member
0 Kudos

Hi,

I have say 5 items for which i have check box for all the items.

I am able to create the BSP Application with the check box using the iterator.

How to i identify the items are checked.

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Kudos

in your oninputprocessing write the following code to get all the form fields/value and get the checked enteries.

data: fields type tihttpnvp,

field type ihttpnvp.

call method request->get_form_fields

changing

fields = fields.

loop at fields into field .

endloop .

Former Member
0 Kudos

Hi,

thanks,

But the solution will give only the form field name, but how do i identify whether the field is checked or not.

athavanraja
Active Contributor
0 Kudos

you mean you wanted to read the values in the row where check box is checked? if yes if you have used p_cell_id as the id of the checkbox , then that contains the row number with which you can read your itab to get the values of the row

Former Member
0 Kudos

Hi,

Thanks for ur reply,

Can you please show the sample code how to get the values

athavanraja
Active Contributor
0 Kudos

Why do you want to use custom check box if multiple row selection is the requirement. you could simply set selectionMode = "MULTISELECT" to your htmlb:tableView

Raja

Former Member
0 Kudos

I wanted to display the selected items only in the next screen

Answers (0)