S3SQLCustomForm: don't try to mark fields as required if readonly.