Is there a way to set the focus on a field in LPL code?
Hi can you clarify what you're asking?
In lpl code can you set the focus on a field so the cursor is in that field?
No, LPL doesn't provide this. When a form opens though the UI should be putting cursor focus into the first editable field, I think, I hope. You could look to make configure that field be the first field then.
Thank you. I was hoping if a condition was not met you could force the focus on a field. We are trying to conditionally make a base field required. The when function does not allow for using if statements. Action Cofiguration seems to be limited. Action configurations could be the way to accomplish what were are attempting. We are still in the process of learning all that can be done with LPL code and Actions.