How to UrlEncode a string

Giacomo Esposito April 6, 2019

Hi, I'm using Element Connect addOn (former nFeed) to create a custom field to get a values from a json web service (URL data source).

It works fine only if the $userInput has no space.

If the user include some space in the text userd for the search of the value, the remote service reply with error becouse the space are not UrlEncoded so are not transformed into %20. 

Any idea on how to solve?

Thanks in advance

1 answer

0 votes
Corentin Méhat
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2019

Hello,

I suggest you to raise a support request to the Elements-app team on : https://support.elements-apps.com/servicedesk/customer/portal/1/user/login?destination=portal%2F1

Suggest an answer

Log in or Sign up to answer