[SOLVED] How to make button appear/activate after reCAPTCHA is completed?

I have a button linked to an external site which I don’t want to be accessible until the CAPTCHA has been completed by the user. How can I accomplish this?

Thanks!

Edit (solved):

I fixed it! To anyone who has this issue in the future, try this:

//hide button to begin with $w . onReady ( function () { $w ( ‘#Section1RegularButton1’ ). disable ();
//on timeout, do NOT enable button $w ( ‘#captcha1’ ). onTimeout (() => { $w ( ‘#Section1RegularButton1’ ). disable ();})
//on captcha error, do NOT enable button $w ( ‘#captcha1’ ). onError ( error => { $w ( ‘#captcha1’ ). reset () $w ( ‘#Section1RegularButton1’ ). disable ();});
//when captcha is verified, DO enable button $w ( ‘#captcha1’ ). onVerified (() => { $w ( ‘#Section1RegularButton1’ ). enable ();}) $w ( ‘#captcha1’ ). reset ();});

I fixed it! To anyone who has this issue in the future, try this:

//hide button to begin with
$w . onReady ( function () {
$w ( ‘#Section1RegularButton1’ ). disable ();

//on timeout, do NOT enable button
$w ( ‘#captcha1’ ). onTimeout (() => {
$w ( ‘#Section1RegularButton1’ ). disable ();
})
//on captcha error, do NOT enable button
$w ( ‘#captcha1’ ). onError ( error => {
$w ( ‘#captcha1’ ). reset ()
$w ( ‘#Section1RegularButton1’ ). disable ();
});
//when captcha is verified, DO enable button
$w ( ‘#captcha1’ ). onVerified (() => {
$w ( ‘#Section1RegularButton1’ ). enable ();
})

$w ( '#captcha1' ). reset (); 
});