asked on April 20, 2023
Is there a way to set the focus of the current form to a particular field?
I've tried the basic stuff, but continue to receive errors on the console.
LFForm.findFieldsByVariableName('OtherNames').fieldId.trigger('focus');
LFForm.findFieldsByVariableName('OtherNames').fieldId.focus());
LFForm.findFieldsByVariableName('OtherNames').focus();
The error I am receiving is: 'Uncaught TypeError: Cannot read properties of undefined ...'
0
0