Monday, May 18, 2015

Salesforce Validation Rule: Text field is required when checkbox field is checked.

Take an example a company uses Salesforce CRM in their organization. A user has come to you with request that when the “Do Not Call” field on contact object is checked then it’s mandatory for users to enter the reason in Reason field. How can this be done using Conga Composer?

The system administrator needs to create validation rule on Reason field.

Navigation: Setup > Customize > Contacts > Validation Rules

Rule Name: Enter the name

Active: Select to make validation rule active.

Description: Optional

Error Condition Formula: AND(  DoNotCall = TRUE, OR( ISBLANK(  Reason__c  )))

When “Do Not Call” field is “True” then “Reason” field cannot be blank. Check Syntax for errors.
Error Message: Enter the error message when formula condition is true.

Error Location: You can select “Top of Page” or Field and save.

Now on contact detail page “Do No Call” field is checked. When I try to save the record without entering the reason it displays an error that I need to enter text in Reason field before I can save the record.

Now sometimes you want to exclude some profiles from validation rule. For example: I don’t want error to be displayed as a system administrator when saving record. Hence I need to make comes changes to the condition formula in validation rule.

I added an extra line: $Profile.Name <> "System Administrator". Where <> is Not Equal. System administrator should be able to save the record.

System Administrator was able to save the record without entering the Reason when Do No Call field was checked. For other profiles the error will be displayed. 

141 comments:

  1. wonderful information, I had come to know about your blog from my friend nandu , hyderaba.
    i have read atleast 7 posts of yours by now, and let me tell you, your website gives the
    best and the most interesting information. This is just the kind of information that i had
    been looking for, i'm already your rss reader now and i would regularly watch out for the new posts.



    Oracle Fusion HCM Training

    ReplyDelete

  2. Best email extractor software Which is extract email addresses from Facebook, any website/web pages such as search engines like Google/Yahoo/Bing, business directory websites like Craigslist or Yellow Pages and any websites you want.
    Collect targeted email addresses from facebook 2018 .Amazing tool for growing your email list by collection very effective and potential emails by doing this simple trick.Free tool for collect targeted email addresses from facebook in 2019.

    How to extract email from facebook

    ReplyDelete
  3. Beginning on May 13, Tony Romo will make a run for the U.S. Open as he competes in the 2019 U.S. Open Local Qualifying Round at TPC Craig Ranch in McKinney, Texas.US Open Championship Live stream
    US Open Championship Live stream online
    US Open Championship 2019

    ReplyDelete
  4. Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notify that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing. Captain Marvel Full Movie Online

    ReplyDelete
  5. Beginning on May 13, Tony Romo will make a run for the U.S. Open as he competes in the 2019 U.S. Open Local Qualifying Round at TPC Craig Ranch in McKinney, Texas.us open 2019 live

    ReplyDelete
  6. The number of fully exempt players will increase with the inclusion of the top 60 point leaders and ties from the Official World Golf Ranking, as of May 20 and June 10. The winner of the PGA Championship (May 16-19) and any multiple winners of PGA Tour events that award a full-point allocation for the season-ending Tour Championship also will earn exemptions. us open live channels

    ReplyDelete
  7. You re in point of fact a just right webmaster. The website loading speed is amazing. It kind of feels that you're doing any distinctive trick. Moreover, The contents are masterpiece. you have done a fantastic activity on this subject! Toy Story 4 full Movie

    ReplyDelete
  8. Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more. Avengers Endgame full Movie

    ReplyDelete
  9. Here i am for the first time here. I found this board and I find
    It truly useful & it helped me out a lot. I hope to give something back and help others
    like you helped me.Peter Parker's relaxing European vacation takes an unexpected turn when Nick Fury suddenly shows up in his hotel room. Parker soon finds himself donning the Spider-Man suit to help Fury stop the evil Mysterio from wreaking havoc across the continent. Watch Spider Man Far From Home Full Movie Online

    ReplyDelete
  10. Well, this got me thinking what other workouts are good for those of us who find ourselves on the road or have limited equipment options. Spider Man Far From Home movie stream

    ReplyDelete
  11. This is very useful post for me. This will absolutely going to help me in my project. Joker 2019

    ReplyDelete
  12. Facebook groups can be an awesome way to share content, engage with your followers, and build your brand. They’re also powerful tools for growing your email list. When running a group is part of your marketing strategy, getting email leads from your group is important for several reasons, the most critical being that you don’t own your Facebook group. Facebook does.
    MAILBIZ is a Must Have tool For Any Professional Marketer to Extract REAL Email Addresses from Any Website ! Fast and Accurate.
    facebook email extractor

    ReplyDelete
  13. It's the World Cup semi-final! Phil Neville's England are one step away from their first ever World Cup final One will have live coverage, with their programme starting at 7.30pm. Alternatively, bookmark this page and come back to follow our live blog.
    USA vs England
    England vs USA
    USA vs England Live
    England vs USA Live
    USA vs England Live
    England vs USA Live

    USA vs England
    England vs USA
    USA vs England Live
    England vs USA Live

    ReplyDelete
  14. Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more. Free Roblox gift card Codes

    ReplyDelete
  15. After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article . Free Amazon Gift Card codes 2019

    ReplyDelete
  16. Great survey. I'm sure you're getting a great response. Free Google Play Gift Card

    ReplyDelete
  17. I finally found great post here.I will get back here. I just added your blog to my bookmark sites. thanks.Quality posts is the crucial to invite the visitors to visit the web page, that's what this web page is providing. Free eBay Gift Card codes

    ReplyDelete
  18. One of the biggest challenges of any new instructor is making sure that students will want to keep going to your class. Because personalities differ, there is no single surefire way to make sure that everyone comes back. But do the recommendations below consistently and we can definitely assure you your class sizes will grow over time.

    the fitness

    ReplyDelete
  19. I need to to thank you for this excellent read!! I definitely enjoyed every
    little bit of it. I have you saved as a favorite to look at new stuff you post...

    여성알바

    고수익알바


    ReplyDelete
  20. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work Watch Spider Man Far From Home for Free

    ReplyDelete
  21. Its as if you had a great grasp on the subject matter, but you forgot to include your readers. Perhaps you should think about this from more than one angle. watch Avengers Endgame movie Free

    ReplyDelete
  22. Thanks for the nice blog. It was very useful for me. I'm happy I found this blog. Thank you for sharing with us,I too always learn something new from your post. Joker 2019 Full HD for Free

    ReplyDelete
  23. Well we really like to visit this site, many useful information we can get here. Brightburn 2019 Full Movie

    ReplyDelete
  24. I am impressed by the information that you have on this blog. It shows how well you understand this subject. The Lion King Putlocker

    ReplyDelete
  25. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work. Steam Gift Card Generator 2019

    ReplyDelete
  26. I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article……….. Free iTune Gift Card Generator

    ReplyDelete
  27. This is a good post. This post gives truly quality information. I’m definitely going to look into it. Really very useful tips are provided here. Thank you so much. Keep up the good works . Joker download

    ReplyDelete
  28. I’ve been searching for some decent stuff on the subject and haven't had any luck up until this point, You just got a new biggest fan!.. Hobbs and shaw Full HD Movie for Free

    ReplyDelete
  29. Super site! I am Loving it!! Will return once more, Im taking your food likewise, Thanks. Download Toy Story 4 Full HD Movie

    ReplyDelete
  30. Going to graduate school was a positive decision for me. I enjoyed the coursework, the presentations, the fellow students, and the professors. And since my company reimbursed 100% of the tuition, the only cost that I had to pay on my own was for books and supplies. Otherwise, I received a free master’s degree. All that I had to invest was my time. Watch Avengers Endgame 2019 Online

    ReplyDelete
  31. ksivsloganpaulfight

    ksivsloganpaullive

    theaddamsfamilyfull

    terminatordarkfate

    boxingtonightlive

    nflmatches

    twitter.com/ksivsloganfight

    twitter.com/gggvsSergiy

    KSI vs Logan Paul Fight Live Stream Online Free Watch TV Channel

    KSI vs Logan Paul Live Stream Online rematch Start Time YouTube stars

    The Addams Family 2019 - Full Movie Online Free Watch and Download HD

    Terminator: Dark Fate Movie (2019) Full Online Free Watch and Download HD

    ReplyDelete
  32. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article……….. Roblox Gift Card Generator

    ReplyDelete
  33. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job iPhone X Giveaway 2019

    ReplyDelete
  34. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work! Amazon Gift Card Generator 2019

    ReplyDelete
  35. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post. Hats off to you! The information that you have provided is very helpful. ….. Google Play Gift Card generator

    ReplyDelete
  36. Awesome article, it was exceptionally helpful! I simply began in this and I'm becoming more acquainted with it better! Cheers, keep doing awesome! best free email extractor

    ReplyDelete
  37. If it comes to competition, the very first thing any company would like to know is if their rival is using some thing and just how well are they employing it..Spy on Competitors Facebook Ads
    The exact same goes when you are running Facebook Advertising.
    That you wish to understand your competition's Facebook advertising strategy -- but you are likely not seeing all of them on your newsfeed
    .Best Text To Speech Software
    In the end, learning by the FB advertisements of others makes it possible to produce lucrative advertising yourself!
    A huge number of your potential clients own Facebook pages. Even more, they join interest groups and follow popular brands; they write messages, comments and post photos. Apart from extracting emails from other websites, extract email from facebook Mailbiz is a powerful Facebook email scraper – you can extract emails from Facebook and turn them into leads using it.

    ReplyDelete
  38. The tomb path of events put in place by Thanos that damaged half of the world and also shattered the Avengers positions compels the rest Avengers to shoot you last standin Marvel Studios' grand decision to twentytwo films,"Avengers: Endgame." Watch Avengers Endgame Full Movie online


    Peter Parker yields in Spider-Man: Far From Home, another phase of this Spider Man: Homecoming series! Our friendly locality super-hero decides to combine his very best friends Need, MJ, and the others of the gang in a European holiday season.Watch Spider-Man: Far From Home Full Movie online But, Peter's intend to leave superb heroics behind to get 2-3 weeks have been fast fought when he begrudgingly agrees to help Nick Fury discover the puzzle of several elemental monster strikes, and creating havoc throughout the continent! Watch James Bond 25 Full Movie online International spy and assassin Natasha Romanoff becomes the superhero Black Widow.Watch Black Widow Full Movie online

    ReplyDelete
  39. UFC 246 Live Action Online Freewatch McGregor vs Cerronewatch McGregor vs Cerrone live
    . UFC 246 is expected to be the 2020’s year opening game of UFC. Some big names like Connor, the bad boy McGregor, is expected to be seen taking part here. But nothing has been confirmed yet. But Maycee Barber, the 21-year-old sensation of UFC has agreed to take on veteran fighter Roxanne Modafferi.

    ReplyDelete
  40. Aiman Online Quran Learning Academy is an impressive online academy for teaching the Quran.
    This leading online Quran academy from
    Pakistan provides you an excellent chance to have one
    to one online Quran classes with tajweed and learn the basic teachings of Islam.

    ReplyDelete
  41. Peter Rabbit 2 The Runaway (shortened as Peter Rabbit 2 in other territories) is an upcoming 2020 American live-action/computer-animated adventure comedy film directed by Will Gluck and written by Patrick Burleigh and Gluck.
    https://peterrabbit2therunaway.com
    Mulan HD Movie
    Soul Movie
    Morbius Full Movie
    Venom 2 Full Movie

    ReplyDelete
  42. Watch Super bowl 2020 live stream
    Super bowl 2020 live stream
    Kansas city chiefs vs san francisco 49ers
    Kansas city chiefs vs san francisco 49ers
    2020 Daytona 500 live stream online
    2020 Daytona 500 live stream
    Watch Masters tournaments 2018 live
    masters tournaments 2018 live

    ReplyDelete
  43. Watch Super bowl 2020 live stream
    Super bowl 2020 live stream
    Kansas city chiefs vs san francisco 49ers
    Kansas city chiefs vs san francisco 49ers
    2020 Daytona 500 live stream
    2020 Daytona 500 live stream
    Watch Masters tournaments 2018 live online
    masters tournaments 2018 live

    ReplyDelete
  44. UFC Fight Night 168: Paul Felder vs Dan HookerUFC Fight Night 168 : Felder vs Hooker Live Stream Online
    MMA Streams 22 Feb 2020 | How to watch UFC fight tonight live for free.185 lbs Bevon Lewis vs. Dequan Townsend Though it took two tries, Bevon Lewis’ (6-2) “Contender Series” efforts culminated in a UFC Reddit contract in July 2020,


    UFC Fight Night 168 : Felder vs Hooker Live Stream Online

    ReplyDelete
  45. http://www.sfdc316.com/2015/05/salesforce-validation-rule-text-field.html
    http://vastrupture.com/articles/news/gaming/6/vast-rupture-has-an-call-of-duty-team-now
    http://imomniscient.blogspot.com/2013/01/how-to-enable-or-disable-autoload-mysql.html
    http://internetascent.blogspot.com/2013/12/widening-epicenters.html
    http://pociolhead.blogspot.com/2012/10/apres-avoir-tente-dechapper-flagler.html
    http://techbdhelp.blogspot.com/2014/11/skype-for-android.html
    http://www.computer-skills.info/2011/12/previous-versionsa-windows-backup.html
    http://www.techbuzz18.com/2014/01/testing-your-internet-speed.html
    http://www.xmotorshow.com/2015/09/lebanon-motorsport-and-tuning-show-2015.html
    https://events.imeche.org/annual-dinner-2014/images/default-source/annual-dinner-2014/imeche-annual-dinner-20-11-14--9277

    ReplyDelete
  46. Your blogs further more each else volume is so entertaining further serviceable It appoints me befall retreat encore. I will instantly grab your feed to stay informed of any updates. Fort Lauderdale Defense Attorney

    ReplyDelete
  47. Its as if you had a great grasp on the subject matter, but you forgot to include your readers. Perhaps you should think about this from more than one angle. Jed Fernandez 2020

    ReplyDelete
  48. You might comment on the order system of the blog. You should chat it's splendid. Your blog audit would swell up your visitors. I was very pleased to find this site.I wanted to thank you for this great read!! unique coffee mugs

    ReplyDelete
  49. I was taking a gander at some of your posts on this site and I consider this site is truly informational! Keep setting up.. HOTELERA

    ReplyDelete
  50. You completely match our expectation and the variety of our information. uber taxi brugge

    ReplyDelete
  51. Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine. chargers

    ReplyDelete
  52. A good blog always comes-up with new and exciting information and while reading I have feel that this blog is really have all those quality that qualify a blog to be a one babys kids clothes

    ReplyDelete
  53. I read that Post and got it fine and informative. Please share more like that... process servers

    ReplyDelete
  54. Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work! kaws

    ReplyDelete
  55. wow, great, I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updated. idn terpecaya

    ReplyDelete
  56. UFC 251: Usman vs. Burns is a mixed martial arts event produced by the Ultimate Fighting Championship that will take place on July 12, 2020 at the UFC Fight Island facility on Yas Island, Abu Dhabi, United Arab Emirates. It was originally planned to take place on June 6 at Perth Arena in Perth, Australia.

    Watch UFC 251 Live Stream
    UFC 251 Live Stream Online

    ReplyDelete
  57. I was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more. software

    ReplyDelete
  58. I curious more interest in some of them hope you will give more information on this topics in your next articles.Watch The New Mutants Full Movie Online

    ReplyDelete
  59. Awesome writing.
    https://www.pihr.xyz/feature/employee-attendance.html

    ReplyDelete
  60. Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine. Social media advertising

    ReplyDelete
  61. Here at this site really the fastidious material collection so that everybody can enjoy a lot. dairy products

    ReplyDelete
  62. What a really awesome post this is. Truly, one of the best posts I've ever witnessed to see in my whole life. Wow, just keep it up. housses valise

    ReplyDelete
  63. Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work! floating lanterns

    ReplyDelete
  64. It's late finding this act. At least, it's a thing to be familiar with that there are such events exist. I agree with your Blog and I will be back to inspect it more in the future so please keep up your act. Gemstone Bracelet

    ReplyDelete
  65. wow, great, I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updated. Stanzschablonen weihnachten

    ReplyDelete
  66. I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you! Find Your Friends

    ReplyDelete
  67. First You got a great blog .I will be interested in more similar topics. i see you got really very useful topics, i will be always checking your blog thanks. buy botox online 100 units

    ReplyDelete
  68. It's really nice and meanful. it's really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information. sex therapy

    ReplyDelete
  69. I recently came across your article and have been reading along. I want to express my admiration of your writing skill and ability to make readers read from the beginning to the end. I would like to read newer posts and to share my thoughts with you. Resume Writers NYC

    ReplyDelete
  70. A good blog always comes-up with new and exciting information and while reading I have feel that this blog is really have all those quality that qualify a blog to be a one. Make Money online

    ReplyDelete
  71. This is very interesting content! I have thoroughly enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great. phone verification number

    ReplyDelete
  72. Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work! Pirate

    ReplyDelete
  73. I would like to say that this blog really convinced me to do it! Thanks, very good post. friends in low places lyrics

    ReplyDelete
  74. I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work. Fun

    ReplyDelete
  75. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck kurtköy evden eve nakliyat

    ReplyDelete
  76. Hi to everybody, here everyone is sharing such knowledge, so it’s fastidious to see this site, and I used to visit this blog daily Lott gratis verzenden

    ReplyDelete
  77. You actually make it look so easy with your performance but I find this matter to be actually something which I think I would never comprehend. It seems too complicated and extremely broad for me. I'm looking forward for your next post, I’ll try to get the hang of it! Smoke Alarms

    ReplyDelete
  78. It has fully emerged to crown Singapore's southern shores and undoubtedly placed her on the global map of residential landmarks. I still scored the more points than I ever have in a season for GS. I think you would be hard pressed to find somebody with the same consistency I have had over the years so I am happy with that. Australian organic skincare

    ReplyDelete
  79. I am impressed by the information that you have on this blog. It shows how well you understand this subject. décapage bateau

    ReplyDelete
  80. I am impressed by the information that you have on this blog. It shows how well you understand this subject. décapage bateau

    ReplyDelete
  81. Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine. Baking supplies near me

    ReplyDelete
  82. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck. lost boy lyrics

    ReplyDelete
  83. This is also a very good post which I really enjoy reading. It is not everyday that I have the possibility to see something like this. jab koi baat bigad jaye lyrics

    ReplyDelete
  84. I don’t think many of websites provide this type of information. two phones lyrics

    ReplyDelete
  85. Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work! Wooden pallet supplier in Johor Bahru

    ReplyDelete
  86. Very informative post ! There is a lot of information here that can help any business get started with a successful social networking campaign ! wild hemp Hempettes

    ReplyDelete
  87. I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post. web design mississippi

    ReplyDelete
  88. Very informative post ! There is a lot of information here that can help any business get started with a successful social networking campaign ! Best Residential Roofers Near Me

    ReplyDelete
  89. Your work is very good and I appreciate you and hopping for some more informative posts Health Insurance for Startups

    ReplyDelete
  90. This website is remarkable information and facts it's really excellent property protection insurance

    ReplyDelete
  91. Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work. Oxford Insurance Agency

    ReplyDelete
  92. Your site is truly cool and this is an extraordinary moving article. Koi Delta 8 Gummies

    ReplyDelete