Setting a profile field default value

Is there any way to set a default profile field value? I am thinking I may have to  do it in a BeforeCreate event

usersApi.Events.BeforeCreate += userArgs =>
{
    userArgs.ProfileFields["Contact_Via_Text "].Value = "true";
};