Enable form button after purchase

Hi,
I want to enable my form submit button after the guest has made a purchase.
In other words, they fill out info in the form, then they pay a deposit or full payment on a product, and then I would like the submit button to be enabled.

Thanks,
Axel