(This is related to
Unique Code based on User Id (68628)
).
I have added a custom field (IP Licence - ip_licence) to the Field Manager and made it invisible on the subscription form, but visible (uneditable) on the Profile. I would like it to be:
- Caculated against Membership No & Plan on Plan Subscription (and have the PHP code for doing that).
- Displayed on the Member Profile Page and on the Membership Card
What's the best way of doing this?
I am able to generate the IP LIcence code in a K2 Item, using Regular Labs Sourcerer within a K2 Item which generates something like this:
P-DW: P001006 dd.2020-08-03.
I have, so far, been unsuccessful in either (a) generating this code as the default value of a custom field or by adding it into a card layout design.
Any ideas on how I can do this elegantly?
My next step would be to investigate putting the code into the registration override file.
Thanks, Tuan!