You might be confusing the word formally with formerly. These words are commonly misused.

Word parts change

formal + -ly

Pronunciation change

Adverb change

Positive
formally

Comparative
more formally

Superlative
most formally

  1. If you do something formally, you do it in a formal way.
    They expect you to formally behave yourself. If not, I doubt you will get the job.