I would like to know if I am able to code the following logic in jotform