Skip to main content
Nintex Community Menu Bar
Solved

Apostrophe causing issues when using Replace in Nintex Forms

  • October 21, 2020
  • 1 reply
  • 35 views
  • Translate

Hi,

 

I am trying to replace the apostrophe in a user's email address on a Nintex form using a Form Variable. This is not working and I think it's because of how Nintex is setting up the replace. I've looked at the source and I think the apostrophe in the email address is effectively closing the one used to enclose the email address.

 

Has anyone got any advice on how I can replace the apostrophe in an email address and display/use it on a form? I need to take the replaced version of the email address to do some further lookups to a sharepoint list and bring back various values, such as job title, etc. and show them on the form.

 

Any help would be gratefully appriciated.

 

NWF.RuntimeFunctions.replace.call(NWF$(sourceContext)[0], NWF.FormFiller.Functions.GetTypedValue('Test.Mc'User@XXX.com','Text'), "'", "*")

 

Thanks,

Dannielle

Best answer by SimonMuntz

Hi,

Strange,
I tested with replace(Current User (Email),"'","")
and it seemed to work as expected.
View original

1 reply

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • 2456 replies
  • Answer
  • October 22, 2020
Hi,

Strange,
I tested with replace(Current User (Email),"'","")
and it seemed to work as expected.
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