How to rerender the html form in erpnext?

HI,

I am facing a rendering issue on the form in ERPNext, I have added the fields in separate div element and added a style to it. Now for some form I don’t want that structure, it should follow the same structure of ERPNext.

But the form HTML element are loads only once in erpnext. How do I load the Html elements again on doctype?

Is any way to achieve this?

Version:
ERPNext 15