If statement when variable is not empty

Discussion created by RishiKhanna on Oct 13, 2015
Latest reply on Oct 14, 2015 by hbrendel

I am a little confused


So I have a location variable which may or may not have been made by the user. If it has a value it should set a field equal to that value.


I assume I have to use an If statement, but how would I set the field equal to that variable.


This is what I have so far,


So I need to know where to put my set statement