asked on September 18, 2024
I would like (in the new forms designer) to enable and disable a field based on another fields value as it changes. This is what I am starting with and it isn't working:
LFForm.onFieldChange(() => console.log("change"), {fieldID:8});
{
if(LFForm.getFieldValues({fieldID: 8}) === "1")
{
LFForm.disalbeFields({fieldID: 6});
}
{LFForm.eanbleFields({fieldId: 6});
}
});
Help?
0
0