Hello
I'm using a basic form for the portal, which has a system required field for contact.
I need to set the contact either by the logged in user, which I have managed by using entity metadata. However if the user is not logged in I would like the field to be populated from the answer of another field, answers would be anonymous or guest. So if anonymous was selected the system required contact field would be populated with the anonymous contact. If guest was selected the system required contact field would be populated with guest.
Contact field is system required and I am not able to alter this.
Is there a low code/no code way of doing this?
Any help or advice is greatly received.