Skip to main content
Question

Conditional Logic

  • October 20, 2025
  • 5 replies
  • 29 views

Forum|alt.badge.img+1

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! 🙏🏾

5 replies

Michael.Rave
Docusign Employee
Forum|alt.badge.img+19
  • Docusign Employee
  • 1019 replies
  • October 20, 2025

@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. 


Forum|alt.badge.img+1
  • Author
  • New Voice
  • 2 replies
  • October 21, 2025

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

 

 


Michael.Rave
Docusign Employee
Forum|alt.badge.img+19
  • Docusign Employee
  • 1019 replies
  • October 21, 2025

@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.


Forum|alt.badge.img+1
  • Author
  • New Voice
  • 2 replies
  • October 21, 2025

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  


Forum|alt.badge.img+15
  • Community Moderator
  • 1499 replies
  • October 29, 2025

Hi ​@AlexisG 

I trust all is well. Do you still need support, or do you have questions? If you've found a solution, we'd love for you to share it here and mark it as the 'Best Answer'✅. This will greatly help your fellow community members who might have similar questions. 😊

Here if you need us!

 

Sincerely,

Melanie | Docusign Community Moderator
If this helped, feel free to Like
👍and click "Best Answer"