The Omnibus Election Code itself allows the withdrawal until midday of election day, but the Comelec, in the previous automated polls, gave a deadline for "substitution due to withdrawal." The practical reason was to finalize the name on the ballots, but it also stopped candidates from exploiting substitution close to election day.