How can I do "if" function in form without js programing?