1

I'm having a problem redirecting a user on login. I have a user field field_redirect_field, that is a select list (text).

I want to have a list of links of my site and the user can select in a list where he redirects after logging in. (I create the list manually)

this is an example of my values list:

user/me/edit|me

The key is user/me/edit and the label is me. Now the problem is in my rule I have a redirect to the field [account:field_redirect_field]. But he redirects to the label and not to the key.

This is what I've tried:

I've tried to change the display of the redirect field by going to Manage Display and set the redirect field to show the Key instead of the label. But the strange thing is that he still shows the value when I want to edit a user.

enter image description here

How can I fix this?

1

Go to Manage Display, on "CUSTOM DISPLAY SETTINGS" enable the checkbox "Token"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.