<p><?php $theform->showField("repeattype"); ?> </p> <p>every <?php $theform->showField("repeatevery"); ?> <span id="repeatTypeText">day(s)</span></p> <div id="DailyDiv"></div> <div id="WeeklyDiv"> <p><?php $thetable->showWeeklyOptions($therecord, $repeatBase); ?> </p> </div> <div id="MonthlyDiv"> <p><input type="radio" id="monthlyEach" name="monthlyWhat" onchange="monthlyChange();" value="1" <?php if (!$therecord["repeatontheday"]) { echo 'checked="checked"'; } ?> /><label for="monthlyEach"> each</label></p> <p><?php $thetable->showMonthlyOptions($therecord, $repeatBase); ?>