Hi all,
Hope you are doing well.
I am trying to solve one problem using Velocity to Display " Hi Member" instead of Name in First Name field when it consists of multiple names.
Example : Rodney William Hydes
I was thinking to use length check but we don't know the max chars that can be input in this field. So if it is just one input and length is more than 2 then I have used the code to display the name by taking the index at 0.
However, it seems like I would need another condition when length is greater than 2 and then find a solution to display Hi Member instead of name if its not in one string.
Any inputs will be appreciated. Hope it is not confusing.
Kind Regards,
Vidhi
Solved! Go to Solution.