Using field layouts, substitutions, regex condition on email field in a user list

Print

This tutorial was inspired by this thread.

Use Case Summary

Current situation:

Use case need:

Solution

Navigate to the CB Field Manager and locate the 'email' field. Click for editing and go to the Parameters > Layout tab.

Here you need to populate the 'Userlist Value Layout' area (and probably the 'Profile Value Layout' area) with the following substitution:

[cb:if email=~"/@invalid.cb/"]No-email[cb:else][value][/cb:else][/cb:if]

Relevant Articles

The following articles/content are referenced: