Salesforce Certified Marketing Cloud Account Engagement Specialist free question 3 / 10 · Domain 3: Account Engagement Forms, Form Handlers and Landing Pages
A developer's external form allows file uploads, so its form tag uses enctype="multipart/form-data". The form is connected to a form handler. What does the Help article say about this setup?
- The handler accepts it and stores the uploaded files on the prospect's record
- The handler does not accept multipart/form-data, so the form needs another enctype
- The handler accepts it when the external field names match the input names exactly
- The handler accepts it but quietly ignores the file input fields
Show the answer and explanation
Answer: B
Why this is correct
Form handlers integrate with forms that use an empty enctype attribute or an enctype of application/x-www-form-urlencoded. They don't accept multipart/form-data, so a form that needs it cannot be connected as it stands.
Why the other options are wrong
"The handler accepts it and stores the uploaded files on the prospect's record" … The article says form handlers don't accept multipart/form-data, so there is no handling of uploaded files at all.
"The handler accepts it but quietly ignores the file input fields" … Form handlers accept an empty enctype attribute or application/x-www-form-urlencoded, so multipart/form-data is rejected as a whole and the file inputs are not dropped on their own.
"The handler accepts it when the external field names match the input names exactly" … Matching external field names is a separate requirement from the Create a Form Handler article, where the names are case-sensitive. It does not change which enctype values are accepted.
Key point
The two accepted choices are an empty enctype attribute and application/x-www-form-urlencoded.