Formally is defined as done in a socially-accepted and orderly way.
(adverb)An example of formally is a man asking his girlfriend's father for permission to ask his daughter to marry him.
See formally in Webster's New World College Dictionary
adverb
Origin: ME formali, formeliche