On the same principle as a sight tube, you could have a standpipe containing a float sensor. Don't forget it must be vented and high enough to stop surges spurting out. It will only give a meaningful reading when the boat is level.
I lift up the cabin sole and can usually tell to a rough 1/8th of total capacity just how many litres of water in the three connected flexible tanks is remaining: 210 (full) , 180, 150, 120, 90, 60, 30, 0 (err.. empty).
This can also be calculated as a wasteful 15 litres/day per person for a couple on a week's worth of coastal cruising.
Or a parsimonious 5 litres/day for a singlehander which should allow for a month's ocean crossing with one week's extra supply to spare, assuming all washing up and boiling of rice, spuds etc is done in seawater.
Much depends on how flexible the tank is. If it sags a lot then the tank may show a high level of fluid when in fact the sides have sagged and there is very little in the tank. Best trick then is to look at the tank shape.
If however like aircraft fuel tanks the bag is well supported by press studs so that it retains its shape even when empty then the above sight gauge etc will work OK. olewill
I have fexible tanks and I fitted a secondhand water meter bought on ebay (about £10).
Read the meter when tanks are full. Empty tanks and read again. This gives your capacity (C).
Then read each time you fill (R1) and when you want to know what's left (R2).
The amount left = C - (R2-R1).