cancel
Showing results for 
Search instead for 
Did you mean: 

Check Box text

Former Member
0 Kudos

Hi Experts,

I want to display checkbox text which is checked by user.. Any suggestion

Regards,

vino

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

vijay,

I have 3 checkbox on my first page, i want to dispaly the corresponding selected checkbox text on second page

former_member188685
Active Contributor
0 Kudos

yes it is possible, using the event you can find the details of which checkbox clicked , and get the id from the event, using the id we can pass the text.

DATA: event TYPE REF TO if_htmlb_data.

DATA: checkbox_event TYPE REF TO cl_htmlb_event_checkbox.

event = cl_htmlb_manager=>get_event_ex( request ).

IF event IS NOT INITIAL AND event->event_name = htmlb_events=>checkbox.

checkbox_event ?= event.

endif.

now checkbox_event will have the id , based on id you can display the texts.

Former Member
0 Kudos

vijay i cant able to get the check box event

former_member188685
Active Contributor
0 Kudos

you can use the attributes text of htmlb checkbox tag.

<htmlb:checkbox id        = "<%= check %>"
                      text      = "Text for checkbox" />

Former Member
0 Kudos

edited