# Relating a Foundset record to a row in a form

**URL:** <https://forum.servoy.com/t/relating-a-foundset-record-to-a-row-in-a-form/20378>\
**Category:** Questions\
**Created:** [November 25, 2020, 3:24am UTC](https://forum.servoy.com/t/relating-a-foundset-record-to-a-row-in-a-form/20378 "2020-11-25T03:24:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@roddy](https://forum.servoy.com/u/roddy)\
**Post date:** [November 25, 2020, 3:24am UTC](https://forum.servoy.com/t/relating-a-foundset-record-to-a-row-in-a-form/20378/1 "2020-11-25T03:24:07Z")

</div>

If I wish to pre-validate data being loaded into a form; I can iterate through the foundset of the form in onShow() but how would I then update the style of a column (say, turn it red) on a row to reflect any validation issues?
