A Digital Developer needs to add a new form to the shopping cart page to allow customers to enter their rewards pass ID. There is already an existing cart.js controller that handles processing of the other cart forms. In addition, a form field node is in the form XML and the necessary form input is present in the ISML template.
The code below is the submit button for the ISML markup.
What additional steps must occur before the Digital Developer can begin writing the processing code
for this request?
A . • Add an <action /> node to the form definition XML with the attribute formid=’’addRewardFaas"
• Add the key addRewardPass, with a processing function as a value, to the object passed to the Form.handleActionO method in the Cart .j* controller
B . • Add the attribute addtl-fonn-action^’addRewardPaas"1 to the ISML form
• Add the key addRewardPass, with a processing function as a value, to the object passed to the Form.handleActionO method in the cart.3s controller
C . • Add a <submit /> node to the form definition XML with the attribute formid=’’addRewardPas3"
• Add the key addRewardPasa, with a processing function as a value, to the object passed to the Form.handleActionO method in the Cart.ja controller
D . • Add an action /> node to the form definition XML with the attribute formid="addRewardFa3s"
• No change to cart.3a controller required
Answer: A
Latest CCD-102 Dumps Valid Version with 60 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund