You need to sign in to do that
Don't have an account?
sfck
label for multiselect
Hi,
I have a visualforce page with one of those salesforce multiselect controls on it where you pick from the left hand box and place the desired options into the right hand box.
There is an html label on the control and I need to know what to specify in the "for" attribute for the label. Since the control consists of four different html elements (x_unselected, x_right_arrow, x_left_arrow and x_selected), which one should I associate with the label? Or is it impossible to associate a label with this kind of control?
Thanks
If a user were to click on the label which form element should be given focus? My hunch is the unselected list makes the most sense. You don't technically have to specify the 'for' attribute, but it can help the user-experience.