Question: are triple contractions grammatically correct?
Answer: Typically, even single contractions are avoided in formal writing. When single and double contractions are to be avoided in the written form, then triple contraction is no exception to the rule, so should be avoided in the written form, specially in the case of formal writing.