Skip to main content
Nintex Community Menu Bar

How to replace %20 with space in the field

  • August 2, 2021
  • 8 replies
  • 186 views
  • Translate

Forum|alt.badge.img+5

Hi All,

I have to replace %20 with space in the field text in nintex forms, please guide me.

19011i4AAC1C7941096B70.png

It should be "Complete write-off exercise" , i am trying to achieve as below but not working.

fn-Replace(fn-GetQueryString(mNum),"%20",""), mNum is a variable getting through javascript.

8 replies

Forum|alt.badge.img+12
  • Apprentice
  • 292 replies
  • August 2, 2021

Hi, The space character should look like " ", you just typed it as "". Try to keep a space character in between the double quotes 

fn-Replace(fn-GetQueryString(mNum),"%20","") change to 

fn-Replace(fn-GetQueryString(mNum),"%20"," ")

If it does not work, try below.

fn-Replace(fn-GetQueryString({TextStart}mNum){TextEnd},"%20"," "), more details in this article

Translate

Forum|alt.badge.img+5

Hi, 

Should i replace TextStart and TextEnd with anything, just copy and paste?

I have tried both, still no luck

fn-Replace(fn-GetQueryString({%}mNum){0},"%20"," ")

OR

fn-Replace(fn-GetQueryString({TextStart}mNum){TextEnd},"%20"," ")

Translate

Forum|alt.badge.img+12
  • Apprentice
  • 292 replies
  • August 2, 2021

No, just copy paste the {TextStart} and {TextEnd} as is, Nintex understands to consider the string in betwen these two words for processing. Please see the article that I mentioned in previous reply.

Translate

Forum|alt.badge.img+5

Hi Team,

Anyone has an idea on this. please.......................

Translate

Forum|alt.badge.img+5

@pfudala Can you please help on this.

Translate

Forum|alt.badge.img+11
  • Scholar
  • 140 replies
  • August 3, 2021

@ramanjjilunaidu Try this:

 

fn-Replace(fn-GetQueryString({TextStart}mNum{TextEnd}),"%20"," ")

Translate

Forum|alt.badge.img+5

@Nunezma tried as it is still no use.

fn-Replace(fn-GetQueryString({TextStart}mNum{TextEnd}),"%20"," ")

result still same => Complete%20write-off%20exercise

 

Translate

Forum|alt.badge.img+11
  • Scholar
  • 140 replies
  • August 3, 2021

Can you try a second calculated field?

First getquerystring and then try removing %20 from Complete%20write-off%20exercise that field and see if it works?
Replace(Text,"%20","")

 

Or try this:

 

Replace(fn-GetQueryString({TextStart}mNum{TextEnd}),"%20","")

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings