hide a DIV on node edit form, but display on node creation I have a field that is part of a conditional related to several field collections. As such, it needs to be rendered when adding or editing a form. However, once the node has been created, I don't want users to be able to modify the value. So on the edit page, I want to hide the DIV surrounding it.

I thought I could trick it with CSS in Panels, but add and edit use the same page and the same CSS shows in each.
Whene you go to node create page, the body tag has class "page-node-add", but on edit node page - "page-node-edit".
So you can add CSS code:

.page-node-edit #your_div_id {display: none;}