Update mod_form.php

Added type for text elements