Adobe
9A0-127 · Question #2
Given the following code: <cferror type="validation" template="handler.cfm"/> <cfform> Enter a value: <cfinput type="text" required="true" name="myinput" validateat="onServer" /> <cfinput…
The correct answer is B. The ColdFusion default validation error handler page is displayed. See the full explanation below for the reasoning.
Question
Given the following code:
<cferror type="validation" template="handler.cfm"/> <cfform> Enter a value:
<cfinput type="text" required="true" name="myinput" validateat="onServer" /> <cfinput type="submit" value="submit" name="submit" /> </cfform> What happens when the form is submitted and validation rules are broken?
Options
- AThe file handler.cfm page is displayed.
- BThe ColdFusion default validation error handler page is displayed.
- CThe form page is displayed.
- DA runtime error occurs.
How the community answered
(38 responses)- A16% (6)
- B76% (29)
- C5% (2)
- D3% (1)
Community Discussion
No community discussion yet for this question.