XF 1.5 Conditional text based on user field selection choice.

Alpha1

Well-known member
I have a custom profile field that asks if the user wants to buy a user upgrade. I want to use custom value html to display a text on the profile depending on the choice of the user.
If the choice is YES then display link to account upgrade page.
If the choice is NO then display text.

How can I do this?
 
Where do you want the link to appear? On their profile page but where?

Currently if the user choose YES then the profile field displays:
Do you want to upgrade your account: Yes

I want it to display instead:
You opted to upgrade your account: Click here to purchase.

The concept is the same - just adapt the field title/name and template for your specific use.
Is the above not possible by using the custom html value field?
 
Top Bottom