on 2020 Sep 08 9:34 AM
Hello Experts,
I am working on lite-registration screen set.
We have populated email field of SAP CDC screen-set using js script at web page.
email is taken from URL of web page.
This logic, renders that email field of SAP CDC form is pre-populated as expected.
Email Field is read only.
Problem is when I submit the form, "formData" object doesn't collect email field value and system throws "missing required parameter " error(400002) for email field.
Please suggest if there is any best practice for pre-populating the data for lite user which holds his/her own data in URL or Body of https request
e.g. https://www.foo.com/lite?email=abc123@foo.com
Thanks,
Rohit
Request clarification before answering.
Hello Rohit
You're talking about lite account progression to full account?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, My user is basically redirected from third party system to website. When user lands on my website I publish Lite registration form. Here user comes with email address in URL query parameter. I want to use that email address from URL and pre populate the Lite registration form.
I have populated the email field using below js,
var input = document.getElementById("gigya-textbox-email");
input.value = email;
All seems good till pre populate email address in the form. but when submitted SAP CDC throws "missing required parameter " error(400002) for email field.
When I checked in debugging, FormModel and FormData objects are not capturing email information though it is already placed on the form.
you can listen to onBeforeSubmit event and add this value to the form data
https://developers.gigya.com/display/GD/accounts.showScreenSet+JS#accounts.showScreenSetJS-onBeforeS...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.