Set Focus following feedback message

I have a form which is not wrapped in a form widget.  I have server side validation which triggers a feedback message to indicate when a checkbox value is not entered.  I need to be able to set focus on this checkbox following this error.

Can anyone suggest how I can go about this?


Hi Liz,

You can try to use the action Input_FocusFirstInvalid from the RichWidgets module.

Best Regards,