Device box and device junction box for installation in standing formwork. A modular program with 2- or 3-part boxes that are simply nailed to the formwork with flat front parts. The special, flexible design ensures an integrated spring travel that offers a secure hold between the formwork.