Conditions not working my PDF form