jjk4985...your cracks were caused by drying shrinkage, something for which control joints should be placed. There are numerous references for this but typical codes do not address this as the code is concerned about structural sufficiency, not cracks which have little or no significance to structural integrity.
There should have been control joints placed in the sidewalk. Lets assume the sidewalk was 4" thick. The maximum spacing for a control joint for this thickness would be about 36 times the thickness or 144 inches (12 feet). That's assuming a relatively square placement. Since sidewalks are not square, but are rectangular, shrinkage naturally tries to make them into squares as the drying shrinkage process is relatively uniform and the concrete is relative uniform at that stage of curing. So the controlling factor then becomes the geometry. Control joints should be placed so that the length-to-width ratio is no more than about 1.2:1. So if your sidewalk was 4 feet wide, your joints should have been no more than about 5 feet apart.
The joints should have been specified to have been tooled into the plastic concrete or saw-cut within about 8 to 12 hours of initial placement.
As noted, there are numerous references for this, particularly from American Concrete International. Check their publication for slabs on grade. The Portland Cement Association also has good publications on this subject.
As a rule of thumb, control joints should be spaced at 24 to 36 times the thickness of the concrete for plain concrete.
It is a common misconception that concrete needs "expansion" joints. Those are rarely needed. Concrete rarely gets bigger in volume from the time it is placed. There are a few exceptions such as long, thin strips of concrete (like sidewalks, runways, and roadways), but even then expansion joints are spaced relatively far apart (100 feet is common); whereas control joints are needed at close spacing in concrete to control drying shrinkage, a much more prominent condition than expansion.
In order of use, the types of joints used in concrete are:
1. Control
2. Construction
3. Isolation
4. Expansion