on 05-20-2009 3:39 PM
Hi All,
I am using simple HTML for BSP program having two fields TCODE and check box if user cecks check box I need to identify that TCODE,it may be more than one can any one suggest me how to proceed.
Thanks n regds,
Sree.
Hi Sree,
Can you please post your code here of layout and OnInputProcessing?
Regards,
Abhinav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sree,
Are you using Pages with flow logic or MVC?
Try this:
<html_b checkbox i-d = "cr1"
te-xt = "User1"
on-Click = "chkBox1" /
<html_b checkbox id- = "cr2"
te-xt = "User2"
on-Click = "chkBox2" /
and in Do_HANDLE_EVENt or OnInputProcessing
DATA: event TYPE REF TO cl_htmlb_event.
DATA lr_checkbox TYPE REF TO cl_htmlb_event_checkbox.
lr_checkbox ?= event.
Please remove - from htmlb code above and use the proper syntax I could not paste the proper code.
Hope this helps.
Regards,
Abhinav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sree,
Try using htmlb extension "checkbox" for this.
You mentioned, you have 2 fields TCODE and checkbox, I guess you can use TCODE in the text of check box and if you have more then one TCODE you may also use checkboxgroup.
You can go to Tag Browser under htmlb extensions and see this, also on your BSP page click F1 on the extension to see the documentation
Hope this helps,
Abhinav.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhinav,
Thanks for your reply,
I assigned check box values to variables like usr1 -> checked,usr2 -> unchecked this checked and unchecked assigned to variable how can I get this value in my program,if I am using request->get_form_field('checkname') but it is holding single value,can any one help me.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.