cancel
Showing results for 
Search instead for 
Did you mean: 

on toggle in checkbox

Former Member
0 Kudos

Hi

i have used checkbox it has on toggle propert(toogle and submit),can you please expalin the difference between them

Thanks

Rahul

Accepted Solutions (1)

Accepted Solutions (1)

former_member185086
Active Contributor
0 Kudos

Hi

It is a action for CheckBox

onToggle (boolean checked, int index)

This event is triggered when the user checks a checkbox in the CheckBoxGroup.

Event parameters

checked -boolean The new value of the checkbox.

index int Index (0..n) of the selected checkbox.

Answers (1)

Answers (1)

pravesh_verma
Active Contributor
0 Kudos

Hi Rahul,

There is only the toggle property. What is the submit property you are talkign about?

OnToggle is the event which is called everytime you select some check one of the Check Box. So you can do whatever validations and check on this event OR any of your logic.

Please refer to this link for more details:

http://help.sap.com/saphelp_nw04/helpdata/en/0a/16e94d251a164392f3a3415c6d643a/content.htm

Regards,

Pravesh

Edited by: Pravesh Verma on Mar 3, 2009 5:52 AM