As with any systematic problem, this starts with clearly defining the requirements of the entire project and understanding your development tools.
You need to have a form layout and identify the conceptual fields to use like a customers information that incudes things like name, address, account number etc for each group of fields. I would then look at using hierarchical field names for each grouping of fields.
Using hierarchical fields one can manipulate all the fields below a parent level by just referencing the parent level name and the field property you want to manipulate.. All the fields below the parent level will reflect the change in the changed property.
I would also look at using document level functions to perform repeated tasks where only a limited number of items within the action are changed. Using a furnction that accepts parameters for the items that change simplify the coding in fields to a call to a function with provided paraters and a possible return of result for the defined processs.
How to create Parent fields?
A parent field could be the top most level or any level below the top most field.
I establish a naming structure and follow that structure design.
So if I have to work with an account I would need the account number, the name and address. Some of these elements could be sub divided into fields that are parts of the larger group. Name could have a prefix, first, MI, last, and suffix.
So I create the following field names:
account.number - the account number
account.name.prefix - prefix for account owner's name.
account.name.first - account owner's first name.
account.name.MI - account owner's middle initial
account.name.last - account owner's last name.
account.address.numbr - street number of address.
account.address.street - street name for address
account.address.apt - apartment/suite for address
account.address.citu. - city for address.
account.address.state- stat or province for address
account.address.county - country for address
You now have levels of "account", "account.name" and "account.address"