Hi All,
I am trying to populate and element on My configuration page based on values of other element on same page without having to do refresh . For eg: I have two types of elements on config page one is drop-down box and other is set of check boxes. I want to show selected text boxes on my Jenkins configuration page based on the value user selects from dropdown. Please suggest if any way possible doing this without having to refresh the page .
I tried something to achieve this using below method in my Descriptor class however i am not sure now how to read the value of this element in my builder class.
public FormValidation doCheckLocal(@QueryParameter String local){
if(local.isEmpty()){
return FormValidation.respond(Kind.OK, "<input type=checkbox name=cob> Creport<br>");
}
return FormValidation.ok();
}