Regardless of the type of foundation that is used and its specific configuration, the foundation out line should be carefully and accurately laid out before any excavation is made.
Whenever possible, a transit or similar means should be used to layout the foundation perimeter. This will ensure accurate placement of corner measures and in turn, ensure a square foundation.
The foundation is square and level, Measure diagonally to the farthest points of the foundation frame / string- line. Adjust the frame / string- line as necessary until the two diagonal dimensions are equal. If the diagonal lengths are equal, the framing is square. Ensure the foundation is level.