How to put a condition on using my forms