on 2022 Sep 26 12:35 PM
Hi, I'm experiencing this problem. When I try to put a custom message on a boolean checkbox that I added on my lite and full registration screensets, my custom error message gets overwritten by the default error message 'This field is required'. This happens for all the locales I'm using, and the field is not required in the schema but just 'when visibile'. Did someone experienced the same problem?
Request clarification before answering.
Hi Silvia,
Can you share more details for your implementation.
I just tested the "customLang" functionality and its working on my local site.
for example:
gigya.accounts.showScreenSet({
screenSet: "Default-RegistrationLogin",
customLang: {
this_field_is_required: "Required"
}
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi divyani179,
You can use Label element + Visible When to define a condition for your custom inline error.
Also, you can access the Label element and set a condition through the Javascript using onFieldChanged.

To imitate custom server error you should set a condition using onBeforeSubmit and return false in the case when your condition doesn't suit
Hope it helped.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.