getFormView

returns the master form of the button

object getFormView();
objectthe view object of the master form

Example

// "myBtn" is the ID of the button
var masterForm = $$("myBtn").getFormView().validate();

Back to top