returns master form for the input
// "mytext" is the ID of the input var masterForm = $$("mytext").getFormView().validate();