透过以这些建构来间接存取内部栏位,您可以防范无效的输入值。
By using these constructs for indirect access to internal fields, you can guard against invalid input values.
此函数将正确地过滤您的输入,因此它不包括无效字符。
This function properly scrubs your input so it doesn't include invalid characters.
如果您输入一个无效的表达式,其文本将变为红色。
如果用户输入无效的数据片段,应用程序可立即提示用户,在用户提交页面之前改正问题。
If the user enters an invalid piece of data, the application can immediately prompt the user to correct it before he submits the page.
只第二种方法是不够的,因为只用这种方法仍然可能输入无效的值。
The second method is insufficient because it is still possible to enter an invalid value.
必须清空这个变量,否则这个变量仍然包含上一次的输入值,进一步的选择就是无效的。
You have to clear the variable, otherwise the variable is filled with the last input value and further selections will be invalid.
假设所有的输入都是有效的,并且没有对无效状态的核查。
Both assume that all inputs are valid and no checks for invalid state are made.
最后一步是检验其他糟糕的极端例子——输入了无效的单词。
The last step is verifying the other dreaded edge case, where an invalid word is entered.
考虑用户对UI可能执行的所有动作,例如单击错误的位置或输入无效的值、重音字符或不常见的字符。
Consider all the other things a user might do with the UI, such as clicking the wrong points or entering invalid values, accented characters, or unusual characters.
最后的结果是程序员不能确定输入何时无效,也不能确定是什么打断了和用户及数据本身的隐式的约定。
The end result is that the programmer cannot determine when the input is invalid, which breaks an implicit contract with users and the data itself.
如果测试人员不注意地输入了错误的数据或漏看了不匹配数据,测试结果就无效了。
If the tester inadvertently enters incorrect data or overlooks a data mismatch, the test results become invalid.
本机代码可能尝试访问具有无效输入(如过时的本地引用)或编码错误的对象。
Native code may attempt to access an object that has invalid input (such as a stale local reference) or that is coded incorrectly.
最后,设置在输入无效时显示的错误消息:除了消息属性之外,还要输入消息“Theacceptablevalueshouldbeginwith'ID ' followedbysixdigits .”。
Finally, set the error message that is displayed when the input in invalid: Beside the message property, enter the message: "the acceptable value should begin with 'id' followed by six digits."
输入无效的密码将会引发可选流程2。
当然,也存在一些极端的例子,比如一个用户按下了FindWord按钮但没有输入单词,或者,用户输入了一个无效的单词。
Of course, there are edge cases as well, such as if a user presses the Find word button without having entered a word, or if the user enters an invalid word.
由于Calendar组件禁止手动输入,所以不可能输入无效的日期。
Because manual input is disabled for the Calendar component, you can't even enter an invalid date.
用户可能把无效的信息输入到一个设计得很差的表单。
Users could enter invalid information into a poorly designed form. Some design points to ponder.
现在,还有一个问题就是不能防止用户输入无效的值,例如 “42”或者 “bleh”。
Now, the problem here is that there's nothing preventing a user from entering a nonsense value, such as "42" or "bleh."
如果输入诸如tx之类的州名称,可能会被verisign视作无效,这时您将接收到错误消息thestatevalueusedin thesubmittedCSRisnot valid。
A state name such as TX may be considered invalid by VeriSign, in which case you would receive the error the state value used in the submitted CSR is not valid.
超过应用程序功能的期望值或界限(例如,当输入无效的信用卡号时,恰当的错误处理启动了吗?)
Exceeding expected values or boundaries of the application's function (e.g., does the right error handling get triggered when entering an invalid credit card number?)
字符串函数的输入字符串数据可能拥有源字符串中的一些错误字符或无效字符。
The input string data to string functions may have wrong or invalid characters in the string that it is supplied with.
输入出错,致使你错误的引用了一个无效的内部链接。
You referenced an invalid internal link by mistake because of a typo.
将数据库针对无效代码的输入结果(如空查询结果)转换为服务希望的错误。
Convert the database's result for an invalid symbol, such as an empty query result, into the error the service expects.
invalidMessage:在输入任何错误的值时显示的无效消息。
InvalidMessage: invalid message to be displayed in case of any wrong value entered.
如果说输入的值无效,就会向FacesContext中添加一个错误消息,并且该组件会被表示为无效的。
If an entered value is invalid, an error message is added to FacesContext, and the component is marked invalid.
由于大多数工具都接受使用连字符(-)的标准输入作为一个参数,因此即使使用cat来分散stdin中的多个文件,参数也通常是无效的。
Because most tools take standard input as an argument using a hyphen (-), even the argument for using cat to intersperse multiple files with stdin is often not valid.
指定的电子邮件帐户无效。请输入有效帐户,然后单击“下一步”继续。
The specified email account is invalid. Please enter a valid account and click Next to continue.
如果返回的值为false,意味着用户输入无效,Web浏览器不会向服务器提交表单数据。
If the returned value is false, meaning that the user input isn't valid, the Web browser doesn't submit the form data to the server.
起始地址无效。请输入一个有效的地址。
结束地址无效。请输入一个有效的地址。
应用推荐