如何在dojo中发生错误时更改工具提示显示的默认消息
默认情况下,每当我提交表格时,没有在文本字段中输入任何内容,我都会收到一张表格“请填写此字段” 如果需要,如何将邮件更改为“名字”如何在dojo中发生错误时更改工具提示显示的默认消息,dojo,Dojo,默认情况下,每当我提交表格时,没有在文本字段中输入任何内容,我都会收到一张表格“请填写此字段” 如果需要,如何将邮件更改为“名字” < html > < head >< /head > < body > < form action="a.html" > < label for="firstName">First Name: < /label > < input type="text" id="f
< html >
< head >< /head >
< body >
< form action="a.html" >
< label for="firstName">First Name: < /label >
< input type="text" id="firstName" name="firstName"
dojoType="dijit.form.ValidationTextBox"
required="true"
propercase="true"
promptMessage="Enter first name."
invalidMessage="First name is required."
trim="true"
/>< br>
< input type="submit" value="submit"/>
< /form>
< /body >
< /html>
听起来您也想设置“missingMessage”: