Skip to main content
Level 3
May 18, 2026
Solved

Validation on custom form - Typehead campaign

  • May 18, 2026
  • 1 reply
  • 17 views

Hi Smart Brains,

 

I am trying to solve a validation problem here. On the typehead field for choosing campaigns, I want to add a validation to select campaign only created using a particular template. Else I would like to display a message saying this is not the correct type of campaign. Any hints how does that work?

 

Thanks,

Nisha

Best answer by Srinija_N

You can apply filter on the typeahead fields

 

filter: templateID=ID_OF_YOUR_TEMPLATE

Hope this is what your are looking for.

 

Please mark my reply ‘correct reply’ if this helped you and to help others. Thanks!

1 reply

Srinija_N
Srinija_NAccepted solution
Level 7
May 18, 2026

You can apply filter on the typeahead fields

 

filter: templateID=ID_OF_YOUR_TEMPLATE

Hope this is what your are looking for.

 

Please mark my reply ‘correct reply’ if this helped you and to help others. Thanks!

If this helped to solve your problem, please mark it as 'solved' so others can also find the solution faster. Thanks!