IBM
C2040-403 · Question #62
Jane is attempting to debug a problem with her form. The requirement states that the instance('formData')/info/data/firstName element must be mandatory. Which of the following XForms statements…
The correct answer is D. <xforms:bind nodeset="instance('formData')/info/data/firstName" required="true()"></xforms:bind>. See the full explanation below for the reasoning.
Question
Jane is attempting to debug a problem with her form. The requirement states that the instance('formData')/info/data/firstName element must be mandatory. Which of the following XForms statements defines this field as mandatory?
Options
- AThe global.global.ufv_settings[submitwithformaterrors] property is set to 'permit'.
- B<xforms:bind nodeset="instance('formData')/info/data/First_Name"
- C<field sid="FIELD1">
- D<xforms:bind nodeset="instance('formData')/info/data/firstName" required="true()"></xforms:bind>
How the community answered
(28 responses)- A14% (4)
- B7% (2)
- C4% (1)
- D75% (21)
Community Discussion
No community discussion yet for this question.