Both these questions have inverted word order. "you wouldn't" and "you didn't" should be "wouldn't you" and "didn't you" in these questions as written. =>
"Why wouldn't you have written it before, at the appointment?
Thank you
I did write it that way first time but it seemed so weird to me that I formed it as of above
I should have stuck to the grammar no matter how weird it seemed