AD0-E125

AD0-E125 practice questions, page 2 of 2, with answer review and explanations.

Question 6

An AEM Forms Developer uses a subform on a page to display a large amount of data with the form. The Developer uses a subform to repeat and expand data items in a row. However, when a large amount of data is merged within the form, the subform expands beyond the bottom edge of the rendered page. The Developer needs to split the data onto the next page of the rendering page.How should the Developer resolve this issue?

  1. Set the subform object content as Flowed to break it onto the next page
  2. Select the Allow Page Breaks Within Content option to break the subform and render data items onto following pages
  3. Use a table object to render the large amount of data items in rows instead of a subform and make it repeating for each data item
  4. Specify a Maximum number of repetitions on the subform so that it does not expand beyond the bottom edge of the rendered page.

Question 7

A Forms Developer creates many AEM Forms to generate letters for ABC LLC, an insurance company. ABC LLC prints and sends thousands of letters to customers to maintain their business relationship. The IT Infra team recommends making letters smaller to optimize the performance of AEM Server when generating letters.In which two ways can the Forms Developer reduce the size of the design? (Choose two.)

  1. Reduce the size of the Images field used in the design to reduce the Image logo size
  2. Ask the Infra team to scale up the form server instance
  3. Remove any embedded font from the form design
  4. Limit the number of characters on the fields of Form to limit its size
  5. Reduce the resolution of the images used within the form design

Question 8

A Forms Developer wants to validate a complete form before final submission. While trying to submit, a field is set as not valid. The submission does not happen.Where can the Developer find the field error message using Adaptive Forms JavaScript Library API reference?

  1. ErrorMessage from GuideResultObject object
  2. getNextMessage method returned by submit API
  3. errorText property returned by validate API

Question 9

A company wants to gift their employees watches after a successful financial year. The firm tasks a Forms Developer with designing and distributing a form to its 500 employees via email to capture their choice of wrist watches.The list of watch choices are: Gold watch, Silver watch, Smart watch.As part of best practices, the AEM Designer uses a Drop-down list control (DropDownList_Watch) for the watch selection and two Text fields controls (TextField_Current_Selection, TextField_Previous_Selection) to display current and previous selected watch choices.What is the correct scripting on the change event of DropDownList_Watch to display the currently and previously selected watch?

  1. TextField_Current_Selection.rawValue = DropDownList.Watch.newText;TextField_Previous_Selection.rawValue = DropDownList_Watch.rawValue;
  2. TextField_Current_Selection.rawValue = DropDownList_Watch.rawValue;TextField_Previous_Selection.rawValue = DropDownList.Watch.prevText;
  3. TextField_Current_Selection.rawValue = DropDownList.Watch.value;TextField_Previous_Selection.rawValue = DropDownList.Watch.prevText;
  4. TextField_Current_Selection.rawValue = DropDownList_Watch.newText;TextField_Previous_Selection.rawValue = DropDownList_Watch.value;

Question 10

What are the prerequisites for a Forms Developer to start building a Custom Component, before the development begins?

  1. Code used in project > Deploy the code base to a local AEM instance using Maven
  2. Code used in project > Validate the code base on a local AEM instance using the Package Manager
  3. Code used in project > Publish the page from the code base to a local AEM instance using Maven > Validate the Component
  4. Code used in project > Deploy the code base to a local AEM instance using the Felix Console > Validate the finished package