Skip to main content

Hi! 

I am trying to add a conditional ‘&’ between the first and second contacts names which only appears if there is a second contact… 

This is the current clause, can someone help me please? I’ve been trying to get this right for an hour 😰

Seller Name(s): <# <Content Select="/pba__Request__c/pba__Contact__r.Name"/> #> <# <Content Select="/pba__Request__c/Contact_2__c"/> #>

 

Thank you! 🙏🏾

@AlexisG 

The following piece of code should do what you want:

Seller Name(s): <# <Content Select="/pba__Request__c/pba__Contact__r.Name"/> #><# <Conditional Select="/pba__Request__c/Contact_2__c NotMatch="" /> #> & <# <Content Select="/pba__Request__c/Contact_2__c"/> #><# <EndConditional/> #>

This Docusign Support article has additional information and examples for you. 


Hey ​@Michael.Rave this is the result when using the code you kindly shared… 

 

 


@alexis

Can you try to replace the “ characters, sometimes special characters change when copied from like a forum. Or keep the original one that you had before, I have not made a change to the first merge tag, so keeping the original should work.

Similar, the second one could be best to take the merge tag that worked and change it rather than copy and pasting it from here. The Conditional Tag until the End Conditional need to be in the same paragraph and not separated by enter.

The above is all related to formatting in Word, the syntax should be correct, but probably an issue with special characters.


Thanks so much for your reply ​@Michael.Rave I retyped the special characters but it’s still not working. I’ll open a support ticket. Thanks for your advice 🙏🏾really appreciate you replying