[ ] AEM Version - 6.5 , Including Service Packs - 6.5.11
[ ] ACS AEM Commons Version: 5.1.0
[ ] Reproducible on Latest? Yes
Expected Behavior
When using embed component to load marketo forms if the request parameter or Javascript variable is not passed then empty value should be returned instead of null.
Actual Behavior
We are using embed component in our page to load the Marketo Forms. When we are trying to set Hidden value and set value in Marketo form . We have noticed that If request Parameter or Javascript Variable is not present , then it is returning null instead of empty . On form submission , this null value is getting submitted to the Marketo server.
Steps to Reproduce
Create a Vanilla AEM 6.5 Instance
Install SP 6.5.11
Install ACS Commons version 5.1.0
Goto Tools -> Cloud Services -> Marketo
Add marketo instance configurations
Create a new page under Sites
Add the embed component to the page
Edit the component
Select a Marketo Form to load in the page
Select values tab
Select Set Value
Select a field name from the dropdown
Select Request Parameter as value source
Input the desired value
Save the component
Try to load the form without sending the request parameter
Required Information
Expected Behavior
When using embed component to load marketo forms if the request parameter or Javascript variable is not passed then empty value should be returned instead of null.
Actual Behavior
We are using embed component in our page to load the Marketo Forms. When we are trying to set Hidden value and set value in Marketo form . We have noticed that If request Parameter or Javascript Variable is not present , then it is returning null instead of empty . On form submission , this null value is getting submitted to the Marketo server.
Steps to Reproduce