Yes, you can useCreate a clientlib (or your sites clientlib) add this function in itYou have to declare the form variables names,then call one method from rootpanel and pass som exp of rootpanel as parameter. Now you got the som of rootPanel. then call the below method inside the roopanel methodfunc...