Custom data on sidebar in Doctype's New form view

Hi,

I want to show some relevant data in the sidebar when a particular’s doctype new form ( and saved form ) view is opened. Whats the best non hacky way to achieve this. I have a custom app installed.

I guess the content of sidebar is currently hidden when the new form view is opened and its gets shown the the doctype is saved.

Thanks,
Palash