Hi Ray
The field name (sel1) has the original repeat region, but the select options are renamed e.g. $wa_startindex1 as below. It works!
<select class="browser-default custom-select" name="sel1_<?php echo($wa_startindex); ?>" id="sel1_<?php echo($wa_startindex); ?>">
<option value="" disabled <?php if (!(strcmp("", ($rsForm->getColumnVal("fr_sel1"))))) {echo "selected=\"selected\"";} ?>>Choose option</option>
<?php
$wa_startindex1 = 0;
while(!$rsSelects->atEnd()) {
$wa_startindex1 = $rsSelects->Index;
?>
<?php /*START*/ if ($rsSelects->getColumnVal("fs_sel_no")=="1"){ ?>
<option value="<?php echo($rsSelects->getColumnVal("fs_id")); ?>"<?php if (!(strcmp($rsSelects->getColumnVal("fs_id"), ($rsForm->getColumnVal("fr_sel1"))))) {echo "selected=\"selected\"";} ?>><?php echo($rsSelects->getColumnVal("fs_sel")); ?></option><?php } /*END*/ ?>
<?php
$rsSelects->moveNext();
}
$rsSelects->moveFirst(); //return RS to first record
unset($wa_startindex1);
unset($wa_repeatcount);
?>
</select>
</td><?php } /*END*/ ?>
Cheers
Chris