Hi Guys
I'm trying to make a small auto action that will modify the entered cell number if people don't enter +xx code for country before their cell number.
Being in Denmark, our users all have +45.
To make sure that I don't mess up another country code I tried using this:
[cb:parse function="first" search="+"][cb_cell][/cb:parse] Not Equal To 0
and the action was
Field cb_cell
prefix +45
But no matter if people have entered +xx or not, it adds +45
I thought the search returned the positition of the search string, and if it was strpos it used, it should start with 0? I've also tried entering 1, that didn't help.
I would love to have more condition documentation in the auto action documentation