jhogan Posted January 26, 2009 Share Posted January 26, 2009 I am trying to create a rule in which the outcome will have quotation marks in it. It is giving me a validation error for what appears to be a problem with the quotations starting the sentence I need to happen as the result. So the rule goes like this { if (Field("First Name")=="") return ""Please" and "thank you" might be the most powerful words in the English language."; else return Field("First Name")+", "Please" and "thank you" might be the most powerful words in the English language."; } Link to comment Share on other sites More sharing options...
mhilger Posted January 26, 2009 Share Posted January 26, 2009 Hello, When you want to return text with a double-quote mark in it, you can use single-quotes around your text instead of the double-quotes you have in your rule now. Here's what your rule would be with single quotes: if (Field("First Name")=="") return '"Please" and "thank you" might be the most powerful words in the English language.'; else return Field("First Name")+', "Please" and "thank you" might be the most powerful words in the English language.'; Link to comment Share on other sites More sharing options...
jhogan Posted January 26, 2009 Author Share Posted January 26, 2009 Thank you very much! That worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.