How to combine Text Field and Drop Down menu into complete sentence
Hi everyone.
I have a Dropdown menu of different style boxes: "Box1" "Box2" "Box3"
A Text field of customers name: "Customer Name"
A Text field of "Shipping Address"
I would like these three information sources to combine to create a sentence in another Text Box (named "Customer Order") such as:
"Customer Name" would like the gift placed in "Box2" and this to be delivered to "Shipping Address"
I currently have the script below but struggling how to code the CUSTOMER NAME and SHIPPING address part within the sentence, I have tried to show below.
var dropdownValue = this.getField("Box Style").value;
switch (dropdownValue) {
case "Box1":
this.getField("Customer Order").value = "CUSTOMER NAME would like the gift in Box1 and this to be delivered to "SHIPPING ADDRESS ";}
Many thanks
