Solved

Apostrophe causing issues when using Replace in Nintex Forms

  • 21 October 2020
  • 1 reply
  • 28 views

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

icon

Best answer by SimonMuntz 22 October 2020, 08:11

View original

1 reply

Userlevel 6
Badge +22
Hi,

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

Reply