0

I have a webform containing a link. I want to change the link depending on the users accessing the webform.
For anonymous users, the link should point to user/register?destination=[current page]; for authenticated users, the link should point to form/event-registration.

0

In build > elements you will need to create 2 html markup or Advanced HTML/Text elements

Each one will have the links mentioned enter image description here

There is a setting access that you can choose who has access to it

For the other link you can choose anonymous enter image description here

For one of the elements you will choose authenticated enter image description here

If this solution is not satisfactory 100% you will need to override webform

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.