I am creating a form with tabs. It is a nice concept but the problem is I am finding the form becoming very monolithic.
Is there a way to modulize the form better so I can organize my functions.
What I want to do is make modules for error checking so before the client can submit the information in the controls can be validated . How can i do this
for example I was trying to do this in a module
public sub clientFormPageErrorCheck()
if txtClientID.Text.equals("") and txtFamilyNumber.text.equals("") then
throw new system.exception("Client ID or Family number must be entered.")
it will work in the form but not in the module