Add ifs to forms