Disable button if the previous button has not been submitted

Make the “driver” button disabled on load (on the property panel.
Then:

$w.onReady(() => {
    $w('#dataset1').onReady(() => {
        $w('#dataset1').onAfterSave($w('#driverButton').enable);
    })
})