Hello,

I have a bool field in my user account "register as business partner", displayed as a checkbox during registration process.

How do I assign a user to a additional role automatically by if then else module, when the user checks the checkbox during registration?

How do I check if a boolean field is true or not?

THX in advance and best regards

Comments

dercheffe created an issue. See original summary.

neeravbm’s picture

In this case, "Field Value" will be TRUE if the checkbox is checked. So connect the "Field Value" output socket to "Execute" input socket of the next node.

akshay.kelotra’s picture

Status: Active » Closed (works as designed)

Execute socket of any node is used to pass a signal whether that node should be processed or not. So if you get the value of boolean field and connect its output to execute socket. That value and socket will act as a condition whether to process the node or not.