I've a choice field in a list form where multiple selection is enabled. I want to click a button (a custom one I've added) on selection of some options. How can this be achieved? Thanks in advance.
Regards, Korak
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityYou can use JQuery for this purpose.
$(document).ready(function () {
$("#idoftheTableElementContainer input").each(function () {
$(this).change(function () {
//label next to checkbox holds the value.
if ($(this).next().val() == "random value") {
$("#idofbutton").click();
}
});
});
});
Make sure JQuery is referenced to the page.