make it different if its a checkbox or a textbox