a custom user field is used in a template like this:
$post[field1]
i wonder if there is any way that enables me to replace that field's value depending in a sort of condition.
like the following:
assume we have user custom
field1
which has (for example) two choices of a (Single-Selection Radio Buttons)
i.e. choose:
choice A
choice B
the user will choose either choice A or choice B, which will be returned as value of $post[field1]
my request is to replace the value of $post[field1] in the template only, like this:
if field1 = "choice A"
then $post[field1] = "something else 1";
else $post[field1] = "something else 2";
so, the user can see (choice A & choice B). but when posting them in the template something else will appear. I wish that was so clear. And btw, it took me so long time searching for a solution with no luck 