Jump to content
  • 0

Send parameters with # sign


We have a datapage that sends a set of parameters to another datapage via a URL query string. This works well, except when a parameter contains a '#' symbol, which blocks the value that follows this in the URL from being received. 

Do you have any way of sending values containing the "#" symbol? Thanks in advance.

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello @Hayley, you can use a JavaScript function to encode the string. Below is the sample code. You can input this code into your HTML block where you want to define your link.

document.write("<a href='mysite.com?param='" + escape('[@field:FN]') + ">link</a>") ;

You can also check the references below:



Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...