我該如何做到這一點?
HTML表單代碼:如何在此表單中製作reCaptcha?
<div id="myDIV" style="">
<form name="login">
<h2 style="position:relative;right:107;bottom:10">Sign in</h2><p style="position:relative;right:55;bottom:5">to NASP Stacks database</p>
<input class="input" name="id" type="text" placeholder="Username"><br><br>
<input name="pass" type="password" class="input" placeholder="Password"><br><br>
<script>
{
"success": true|false,
"challenge_ts": timestamp, // timestamp of the challenge load (ISO format yyyy-MM-dd'T'HH:mm:ssZZ)
"hostname": string, // the hostname of the site where the reCAPTCHA was solved
"error-codes": [...] // optional
}
</script>
<div class="g-recaptcha" data-sitekey="6LdHRDgUAAAAAFg8efAOvTVM_9crHq_UQm_aveaW"></div><br>
<b><input class="button" type="button" value="NEXT" onClick="pasuser(this.form)"></b>
</form>
</div>
我怎樣才能讓reCAPTCHA的這種形式必填字段?我嘗試了其他帖子,但他們沒有工作。我之前添加了很多東西,但他們沒有工作,他們堵塞了代碼。任何人都知道如何使它成爲必需的?