How often does NM cable have to be stapled to the floor joist or rafters in a home when running it perpendicular or diagonal through them, or can the cable just be supported by them without being fastened, since they are only 16 to 24 inches apart?
Through bored hole will be supported and satisfy the requirement.You'll need to staple or by other approved means near your j-box to secure.Along side joists will need to be a maximum of 4'6'' between supports or secured methods.
If the space between the top of joist & bottom of roof rafter is less than 3 ft