How do I set up a default value for a text field?
Usually you setup the default value when configuring the filter -- if you've got an exposed content:type filter, then you set the default values by selecting one or more content types in the Configure filter criterion dialog.

I wouldn't do this via hook_form_alter (or similar) as you'll be fighting Views the whole way.