I have added a Multiselect field to my Generation Form, however when multiple values are selected, they are separated by a semicolon. See the example below:
Registered;Closed-ended;Private Investment Fund
I am trying to separate each of the values with spaces instead and make it look as below:
Registered Closed-ended Private Investment Fund
How can I achieve this configuration?
Many thanks for your support.
Best answer by Pawan Gangwani
Hello @Samuel Velasco
Yes, this can be achieved by first storing the field value in a variable. Using C#, you can then replace the semicolons (;) with spaces using something like:
string A = "Registered;Closed-ended;Private Investment Fund"; string B = original.Replace(";", " "); return B
After that, you can merge the new value in doc using “Merge Tracked Content’ and for this step, you need to write “Track Name” merge tag.
Yes, this can be achieved by first storing the field value in a variable. Using C#, you can then replace the semicolons (;) with spaces using something like:
string A = "Registered;Closed-ended;Private Investment Fund"; string B = original.Replace(";", " "); return B
After that, you can merge the new value in doc using “Merge Tracked Content’ and for this step, you need to write “Track Name” merge tag.
Yes, this can be achieved by first storing the field value in a variable. Using C#, you can then replace the semicolons (;) with spaces using something like:
string A = "Registered;Closed-ended;Private Investment Fund"; string B = original.Replace(";", " "); return B
After that, you can merge the new value in doc using “Merge Tracked Content’ and for this step, you need to write “Track Name” merge tag.
Thank you very much for this! I will give it a try. I appreciate your help, as this solution may also assist with other issues not directly related to this matter.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.