There's a similar question asked here: Use multiple widget types for one field but I was unable to reinstate the question with mine.
I have created a custom field widget with extended capabilities for authenticated users for a field. However the widget strongly relies on the person having a registered user account in the system, but I'd still like anonymous users to be able to input values for the field with the default widget. And to think of it, admins would have more use of the default one aswell.
The field is a customer_profile_reference field, so just rendering another type of field wouldn't work, I suppose (like text field instead).
Is there a way to fall back on the default widget with it's own validation when my custom widget has allready been initiated by being defined as the widget for the field in the UI? Basically I wish for an end result, where my widget would stay untouched if user is anonymous or has admin role, and another one is used.
Appreciate all and any help,