Is there a chemical which fluoresces only after coming in contact with water?
Many fluorescent dyes are not fluorescent in their solid states. Fluorescein and similar dyes (rhodamines, eosines) for example. They need to be dissolved in order to be fluorescent (so just wetting them with a bit of water won't work either).