Upvote 1

change color of a datalist fields text

Answered oscar ward 6 years ago

Hi, Ive been trying to have a data lists field value checked and if its below 0 have it turn red. and as long as the value is positive it should display green.

Ive added a on data change event to the row using the event to determine if the value is less than 0. what am I missing...ive tried the function on the field itself..but just cant figure it out...


if the fields value is say -13 i want it red but if its 13 it should display green

Replies (1)

Dear Oscar,

Do you have an example .vp file of what you're describing so we can take a look? You can attach it in a .rar format, or upload it to a file sharing service such as Dropbox, and attach the link to it here. +


Leave a Comment
Attach a file