仍然显示带有-webkit-appearance的表单错误:没有?

时间:2018-08-12 08:52:36

标签: html css forms webkit

我在INSERT INTO Ink ( DesignID, Mesh, Ink ) SELECT * FROM ( SELECT DesignID, Mesh1, Ink1 FROM Design WHERE Ink1 IS NOT NULL UNION ALL SELECT DesignID, Mesh2, Ink2 FROM Design WHERE Ink2 IS NOT NULL UNION ALL SELECT DesignID, Mesh3, Ink3 FROM Design WHERE Ink3 IS NOT NULL ) 中有这样的输入:

<form>

通常,当我尝试提交表单时,它会在复选框下方显示如下错误: "Please tick this box if you want to proceed."

但是,当我在CSS中将此行赋予它时,该错误不再出现:

<input type="checkbox" required>

有什么办法可以使它看起来不像复选框,但仍会提示错误?理想情况下,我不想使用任何其他JavaScript。

0 个答案:

没有答案