Thanks for the quick reply.
I didn't end up using your suggestion though, as a co-worker gave me an easier solotion with no coding involved.
I entered the following formula into default value of the text box where I want the result:
concat(textboxone, substring(textboxtwo, 1, 1))
It appears to work like this.