Hey everyone,
I'm making a form where we pull in some customer information and one of the fields we can pull in is CUSTOMER_NAME. What I'm trying to do is to pull that in and add a comma at the end of the string (ex. Dear CUSTOMER_NAME,). I believe that CUSTOMER_NAME is being pulled in as an object with a string value of whatever the customer's name is. So far I have created a textfield named customername, and on the calculation I have
customername = (a + ","); where a is a variable that equals string(CUSTOMER_NAME). All I can get it to output is 0, and I'm not sure what I'm missing here. Any help is greatly appreciated.
Thanks!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Maybe an easier route would be to use the Display Pattern for the textfield (See the Object > Field palette and click Patterns).
The following Dispaly pattern can be used to display fixed text before and after the value:
text{'Dear 'XXXXXXXXXXXXXXXXXXXXXXXXXXXX', '}
Note the use of single quotes for the 'Dear ' and the ', '.
This solution does not require script.
See an example here: http://assure.ly/pAZsjS.
Hope that helps,
Niall
Views
Replies
Total Likes
Hi,
Maybe an easier route would be to use the Display Pattern for the textfield (See the Object > Field palette and click Patterns).
The following Dispaly pattern can be used to display fixed text before and after the value:
text{'Dear 'XXXXXXXXXXXXXXXXXXXXXXXXXXXX', '}
Note the use of single quotes for the 'Dear ' and the ', '.
This solution does not require script.
See an example here: http://assure.ly/pAZsjS.
Hope that helps,
Niall
Views
Replies
Total Likes
Thanks! That works perfectly.
Views
Replies
Total Likes