in reply to conditional submit buttons

You could always disable the button at a certain point:
if (End...) { $button->configure(-state => 'disable') }