I have a layout called "Project", on this layout I have a portal that shows a list of persons that have been added to this project. "Person" is a related table.
I need a script that when the user is trying to create a new person from "project" check if the person first and lastname already exist, if not he create the person and adds him to the portal-list on "project". If the person hi is trying create exist, I can just show an custom message.
Here is the view on "Project":
Do somebody have and example of this kind of script?