nerdexam
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)
  • A
    16% (6)
  • B
    76% (29)
  • C
    5% (2)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 9A0-127 Practice