I had the Address Collection modified to remove references to the US. The modifications work great in Preview, but I just realized that they are not in affect in the live test submissions. Below is a copy of Preview results first, then a copy of the live test submissions to compare to. Why is it not coming out right when submitting a form?
Question
Question
Javascript change works in preview but not when a live test is done
asked on May 4, 2017
0
0
Answer
SELECTED ANSWER
replied on May 5, 2017
The reason is the class name you use such as Country/Address2 no longer exist when the form is in read-only format. Instead of using class name to select the element, you can use the id instead. you can just focus in the element and click "Inspect" from Chrome to see the id of the element:
The format likes following:
$("#Field1_DSG1").siblings().text('Mailing Address');
1
0
Replies
replied on May 5, 2017
That worked beautifully! Thanks, Xiuhong!
Now, there is way too much blank space on the form in the area of this hard coded Collection Address field. How can I get it to tighten up. I'd like to have the Postal Code show up on the same line as Province. Can we do that using the JavaScript? Have City Province Postal Code, with less space between the fields?
0
0
You are not allowed to follow up in this post.