Help with URL Query Text Field with multiple websites and subsequent fields.
Hi,
I have a pre populated form that is populating appropriately until I get to a TEXT FIELD labeled "URL to Supporting Document(s)" where end users can provide URL web addresses to supporting documents. When a new row is added, an alert is sent to Approvers with the "Approval Form" link in the body of the email they can click to take them to a pre-populated form PLUS additional Approver specific fields appear that the original form does NOT show.
The query string populates the first "URL to Supporting Document(s)" appropriately, but no the other. Consequently, the "Additional Comments" that follows the "URL to Supporting Document(s)" field in the form is NOT populating because of this issue. I know this because when I removed the supporting documents piece of the query string, the "Additional Comments" field populates no problem. Adding the supporting documents field back into the formula brings the issue back.
Does anyone have any ideas why this might be happening? Is it because they are URLs?
Links column populated by the end user when the form is submitted.
AttachmentsURL column is the CHAR() conversion of the Links cell referenced in the query string.
Screen Shot 2: URL Query String
Screen Shot 3: Pre populated form + Approver specific fields that appears when Approvers click the link in the automated notification.
Thank you in advance for any assistance!
Best Answer
-
It looks like it is an issue with line breaks. Using another SUBSTITUTE function, you can swap
CHAR(10)
with
"%0D%0A"
SUBSTITUTE(..............., CHAR(10), "%0D%0A")
Answers
-
It looks like it is an issue with line breaks. Using another SUBSTITUTE function, you can swap
CHAR(10)
with
"%0D%0A"
SUBSTITUTE(..............., CHAR(10), "%0D%0A")
-
@Paul Newcome you are amazing! thank you so very much!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!