2023-06-27, 08:56 PM
These 4 custom profile fields are drop-down options with # values. These show on the Member Profile. Would it be possible to also add up the #s the user selected from each field to get a total? I am needing a code I can put onto the Member profile page so it can show "Total: [whatever the total is]"
{$userfields['fid1']}
{$userfields['fid2']}
{$userfields['fid3']}
{$userfields['fid4']}
Example:
User selects the following:
field 1 = 1
field 2 = 1
field 3 = 5
field 4 = 3
Total: 10
{$userfields['fid1']}
{$userfields['fid2']}
{$userfields['fid3']}
{$userfields['fid4']}
Example:
User selects the following:
field 1 = 1
field 2 = 1
field 3 = 5
field 4 = 3
Total: 10