Hi,

To make more "user friendly" the forms only accessible to the registered users, is there a solution to integrate the core registration form in webform ?

For example, in the case of a multistep form, add a step for the inscription/connection

Thanks in advance

Comments

Paulset created an issue. See original summary.

jrockowitz’s picture

Right now, people are writing custom handlers that create new user accounts.

At some point, there will probably be a UI to map webform element to entity fields.

Paulset’s picture

Thanks, i will take a look, although my knowledge in coding are limited.

Otherwise, in the case of a field of type webform added to a node, it is possible to add a link of type "connect " (at present nothing appears) ?

jrockowitz’s picture

Status: Active » Postponed (maintainer needs more info)

I don't know what you mean by 'connect'.

Please include more information and maybe a screenshot.

Paulset’s picture

In detail :

I added a field of type webform to my node.

I gave access to this form only to the registered users.

For the display I chose "link to form" (label: Go to [webform:title] webform).

When a user is not registred/connected, he sees nothing.

Would it be possible that the link (Go to [webform:title] webform) is visible also for the anonymous, but that it leads to the connection/registration ?
Or to have a button of type "log in" (less user friendly according to me)

jrockowitz’s picture

That functionality would require custom code or a contrib module like Redirect 403 to User Login.

jrockowitz’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)