-
|
In the Notification Center before 2.0, it was possible to define a token and restrict its use to certain fields. Is this still possible in any form? To make it clearer, here is a quick example: I think if the Another case is that we have implemented an SMS gateway. To make this user-friendly, we would like to have a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
You can adjust the context that is allowed per field using |
Beta Was this translation helpful? Give feedback.
You can adjust the context that is allowed per field using
nc_context. So your fields need to have a different context (it's just a string) - for examplephone-numberand then you can use theGetTokenDefinitionClassesForContextEventto define, which token definition classes are responsible for that context. So there again, you can create your ownPhoneNumberTokenDefintionfor example.