form表单中的id值 = 外部input的form属性值。
如下:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<form action="test.php" methods="get" id="test">
<input type="text" name="emm" id="" required>
<input type="submit" value="提交">
</form>
<input type="text" name="wmm" id="" form="test" required>
</body>
</html>
地址栏获取到的值:01_html/test.php?emm=sfd&wmm=ww