Using user's name

Good day,

I want to auto generate a code in which I have to use the initials of the user, not the client’s. For example, if the person logged in the system his surname is John and first name Paul, my code should be JP…
In addition to that, how do I use the V(event_count) so that I generate a sequential code for the number of events a user is creating in a day? For example if John Paul is adding 2 new clients in March/2022, the clients’ code should be as JP1032022(where 1 is the event number, 03 is the month and 2022 is the year) for the first client, and second client JP2032022 respectfully.

Thank you :slightly_smiling_face: