Hi Dear,
I am attempt to add additional field while signup, I go through the lock options, There is no radio buttuon option, So i used a checkbox on validator i try to disable if both box checked ,
Now my question is how to acces the 1st checkbox value in 2nd checkbox as the below code,
additionalSignUpFields: [
{
type: "checkbox",
name: "recruiter",
prefill: false,
placeholder: "I am a recruiter!",
validator: function (checkboxValue) {
console.log("We are in recruite");
console.log(checkboxValue);
},
},
{
type: "checkbox",
name: "candidate",
prefill: false,
placeholder: "I am a candidate!",
validator: function (checkboxValue, additionalSignUpFields) {
console.log(additionalSignUpFields);
},
},
];