随机生成一个js表单,包括职业资格名称、职业资格名称、职业资格等级、证书编号、获得时间、证书有效期、发证单位、认证计划编码、认证活动编码、实操考试成绩、证书图片
时间: 2023-07-10 08:36:24 浏览: 47
好的,以下是一个随机生成的 HTML 表单,包括职业资格名称、职业资格等级、证书编号、获得时间、证书有效期、发证单位、认证计划编码、认证活动编码、实操考试成绩、证书图片等字段:
```html
<form>
<label for="name">职业资格名称:</label>
<input type="text" id="name" name="name" value="资格名称_123"><br><br>
<label for="level">职业资格等级:</label>
<input type="text" id="level" name="level" value="等级_3"><br><br>
<label for="number">证书编号:</label>
<input type="text" id="number" name="number" value="证书编号_456"><br><br>
<label for="time">获得时间:</label>
<input type="text" id="time" name="time" value="2021-09-01"><br><br>
<label for="validity">证书有效期:</label>
<input type="text" id="validity" name="validity" value="3年"><br><br>
<label for="unit">发证单位:</label>
<input type="text" id="unit" name="unit" value="单位名称"><br><br>
<label for="plan_code">认证计划编码:</label>
<input type="text" id="plan_code" name="plan_code" value="计划编码_789"><br><br>
<label for="activity_code">认证活动编码:</label>
<input type="text" id="activity_code" name="activity_code" value="活动编码_1011"><br><br>
<label for="score">实操考试成绩:</label>
<input type="text" id="score" name="score" value="90"><br><br>
<label for="image">证书图片:</label>
<input type="file" id="image" name="image"><br><br>
<input type="submit" value="提交">
</form>
```
这个表单中的所有字段都是随机生成的,你可以根据自己的需求进行更改。需要注意的是,证书图片需要使用 `<input type="file">` 标签来上传,这个标签不支持随机生成。如果你需要上传证书图片,需要手动选择文件。
相关推荐
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)