During Drosophila oogenesis, patterning activities of the EGFR and Dpp pathways specify several subpopulations of the follicle cells that give rise to dorsal eggshell structures. The roof of dorsal eggshell appendages is formed by the follicle cells that express Broad (Br), a zinc-finger transcription factor regulated by both pathways. EGFR induces Br in the dorsal follicle cells. This inductive signal is overridden in the dorsal midline cells, which are exposed to high levels of EGFR activation, and in the anterior cells, by Dpp signaling. We show that the resulting changes in the Br pattern affect the expression of Dpp receptor thickveins (tkv), which is essential for Dpp signaling. By controlling tkv, Br controls Dpp signaling in late stages of oogenesis and, as a result, regulates its own repression in a negative-feedback loop. We synthesize these observations into a model, whereby the dynamics of Br expression are driven by the sequential action of feedforward and feedback loops. The feedforward loop controls the spatial pattern of Br expression, while the feedback loop modulates this pattern in time. This mechanism demonstrates how complex patterns of gene expression can emerge from simple inputs, through the interaction of regulatory network motifs.