Can I fetch data from a database and use it as a condition on my form?