Changed initial value of text field to support 'default' option value

Changed initial value of text field to support 'default' option value. This also adds support for a default value to the email field since it extends the text field.