{"id":2787,"date":"2015-03-31T19:22:54","date_gmt":"2015-03-31T19:22:54","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=2787"},"modified":"2017-10-27T16:44:08","modified_gmt":"2017-10-27T16:44:08","slug":"californias-prop-65-eformz-conditional-logic","status":"publish","type":"post","link":"https:\/\/minisoft.com\/support\/californias-prop-65-eformz-conditional-logic\/","title":{"rendered":"California&#8217;s Prop 65 &#038; eFORMz Conditional Logic"},"content":{"rendered":"<p>Compliance with California\u2019s Proposition 65 can be challenging. After all, every item containing chemicals on the list of substances covered by Proposition 65 must be shipped with a WARNING label. Yet, this warning language isn\u2019t required for items shipped to places other than California. You don\u2019t want to send a WARNING label to a customer outside of California, but you have to include it for California customers. How do you solve this business process problem?<\/p>\n<p>Fortunately, Minisoft\u2019s eFORMz has the solution. eFORMz is equipped with powerful conditional logic that can add information to a form, or suppress it, depending on a particular flag. You can conditionally place logos, addresses, special messages, barcodes and much more. For placing the Proposition 65 WARNING label, you would enter the warning language as a constant value, and then make its placement conditional on the appearance of California\u2019s state code (CA) in your data file. Within the eFORMz Composer, it might look like this.<\/p>\n<p>1. First, you would right-click your form and select Add Variable &gt; By position. We\u2019ll call this variable Prop 65. Next, right-click this variable and select Add Function &gt; Set value.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5321\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_1.png\" alt=\"\" width=\"403\" height=\"324\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_1.png 403w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_1-300x241.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_1-150x121.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_1-250x201.png 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_1-224x180.png 224w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_1-373x300.png 373w\" sizes=\"(max-width: 403px) 100vw, 403px\" \/><\/a><\/p>\n<p>2. Next, you\u2019ll want to left-click and drag over the address, right-click and select Add Variable. Make sure to check Copy original data to output before selecting OK. Checking this will keep your information exactly where it is placed on your form. We\u2019ll call this variable Address Check.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5322\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_2.png\" alt=\"\" width=\"384\" height=\"148\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_2.png 384w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_2-300x116.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_2-150x58.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_2-250x96.png 250w\" sizes=\"(max-width: 384px) 100vw, 384px\" \/><\/a><\/p>\n<p>3. From here, right-click the Address Check variable, and select Add Advanced Function &gt; Bulk Concatenate. This displays the address information in a string format.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5323\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_3.png\" alt=\"\" width=\"569\" height=\"286\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_3.png 569w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_3-300x151.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_3-150x75.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_3-250x126.png 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_3-550x276.png 550w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_3-358x180.png 358w\" sizes=\"(max-width: 569px) 100vw, 569px\" \/><\/a><\/p>\n<p>4. The Bulk Concatenate dialog box will display. Select the Address Check variable.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_3a.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5324\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_3a.png\" alt=\"\" width=\"264\" height=\"136\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_3a.png 264w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_3a-150x77.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_3a-250x129.png 250w\" sizes=\"(max-width: 264px) 100vw, 264px\" \/><\/a><\/p>\n<p>5. After this, right-click in the bottom pane of the Viewer, where you would like WARNING label to appear on the form, and select Add Rule &gt; Place Text. The Rule Properties dialog will display. Select the Prop 65 variable that contains the warning language. Select OK and the WARNING label will appear on the form.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4a.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5325\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4a.png\" alt=\"\" width=\"429\" height=\"303\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4a.png 429w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4a-300x212.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4a-150x106.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4a-250x177.png 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4a-255x180.png 255w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4a-425x300.png 425w\" sizes=\"(max-width: 429px) 100vw, 429px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5326\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4.png\" alt=\"\" width=\"397\" height=\"208\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4.png 397w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4-300x157.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4-150x79.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4-250x131.png 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_4-344x180.png 344w\" sizes=\"(max-width: 397px) 100vw, 397px\" \/><\/a><\/p>\n<p>6. Here\u2019s where the power of eFORMz conditional logic comes into play. Right-click the rule and select Add AND Condition &gt; Contains. The Data Condition dialog box will display. Select the Address Check variable from the drop-down menu. In the field at the bottom, enter the state code. To make sure we don\u2019t have duplicate entries of CA in this string, we\u2019ve added the following in the field: , CA<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_5.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5327\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_5.png\" alt=\"\" width=\"396\" height=\"265\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_5.png 396w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_5-300x201.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_5-150x100.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_5-250x167.png 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_5-269x180.png 269w\" sizes=\"(max-width: 396px) 100vw, 396px\" \/><\/a><\/p>\n<p>7. The WARNING label will continue to display, and in instances where the address doesn\u2019t contain \u201c, CA\u201d it won\u2019t appear.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_6.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-5328\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_6-1024x263.png\" alt=\"\" width=\"1000\" height=\"257\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_6-1024x263.png 1024w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_6-300x77.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_6-768x197.png 768w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_6-150x39.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_6-250x64.png 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_6-550x141.png 550w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_6-800x206.png 800w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_6-700x180.png 700w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2015\/03\/Prop65_6.png 1124w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<h2>Video<\/h2>\n<div class=\"embed-container\"><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/JKNs7ArmcDA?rel=0\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This video looks at complying with California&#8217;s Proposition 65 using eFORMz conditional logic.<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[],"_links":{"self":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/2787"}],"collection":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=2787"}],"version-history":[{"count":3,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/2787\/revisions"}],"predecessor-version":[{"id":5329,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/2787\/revisions\/5329"}],"wp:attachment":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=2787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=2787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=2787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}