What is the REPLACE variable? | Community
Skip to main content
Question

What is the REPLACE variable?

  • October 28, 2024
  • 4 replies
  • 36 views

TFJunkie
Forum|alt.badge.img+2

What does it do specifically? I can’t find definitive information on it.

I’ve set up text variables into my logics with

Example:

If #1-For which course are you registering?

is Keratin Lash Lift

Then ‘Replace’ “yesno_keratin” = Keratin lash Lift

But I don’t understand what it is doing on the form.

4 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15035 replies
  • October 28, 2024

Hi @TFJunkie Yes! That’s exactly how to use it!

I think @john.desborough uses this feature often and could explain some of the use cases in which he’s used them!


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5328 replies
  • October 28, 2024

@Liz thanks..lol.. @TFJunkie - the replace function simply allows you to change the value of a variable.. 

for example, you can set a variable, say, v_product (text) to ‘none’ as a default value. 

then, as in your example, when the user chooses the course, you can have different logic rules like this: 

  • if q4 = A then replace v_product with ‘course A name’
  • if q4 = B then replace v_product with ‘course B name’ etc. 

then when the form is submitted you have both the ‘answer’/selection in q4 but also the variable v_product will be submitted with the appropriate value. this can be used in your crm or esp to kick off a workflow based on the value of the variable it is passed. 

 

hope that helps

 

des


TFJunkie
Forum|alt.badge.img+2
  • Author
  • Tastemaker
  • 46 replies
  • October 29, 2024

I don’t understand that at all. I should probably go to AI GPT.

Can  u use the Variable setting of Replace’ “yesno_keratin” = Keratin lash Lift


TFJunkie
Forum|alt.badge.img+2
  • Author
  • Tastemaker
  • 46 replies
  • October 31, 2024

So i figured out, how to assign variables.

When its no. I typed in custom message.

Thanks GPT

Now I have to work out to subtract $3850 when its no.


Reply