<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to make one prompt required IF data is entered into a different prompt? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-one-prompt-required-IF-data-is-entered-into-a/m-p/253930#M48363</link>
    <description>&lt;P&gt;Hi ncsthbell,&lt;/P&gt;
&lt;P&gt;The type of prompt you are looking for is called a "Selection Group" prompt. It is the IF/THEN equivalent for prompting.I've not done this in SMC, only EG. But here are the steps.&amp;nbsp;Essentially within the prompt manager click on New &amp;gt; New Group. Change the type to Selection group. Add your displayed initial text and name of prompt. Click the Selection-Dependent Groups tab.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Click New Group. Enter text and value. Click OK. Then click New Group and add the next text and value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At this point you have 2 dependent groups within your main group. Think of these 2 dependent groups as your branches. Then add your City and State prompts to one of those branches.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully this should point you in the right direction.&lt;/P&gt;
&lt;P&gt;Michelle Buchecker&lt;/P&gt;
&lt;P&gt;Director of Technical Training Services&lt;/P&gt;
&lt;P&gt;ThotWave Technologies&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2016 19:24:14 GMT</pubDate>
    <dc:creator>mbuchecker</dc:creator>
    <dc:date>2016-03-02T19:24:14Z</dc:date>
    <item>
      <title>How to make one prompt required IF data is entered into a different prompt?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-one-prompt-required-IF-data-is-entered-into-a/m-p/251834#M47649</link>
      <description>&lt;P&gt;I have built a stored process that&amp;nbsp;in which I built&amp;nbsp;prompts in Management Console for&amp;nbsp; 'Name',&amp;nbsp; 'Address', 'City' and 'State'&amp;nbsp; columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the user enters a value in either the prompt for 'Name' or 'Address',&amp;nbsp; they want the 'City' &amp;amp; 'State' prompt fields to be required to be populated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what I have read, the cascading prompt associates a list of values to choose from for a given prompt.&amp;nbsp; I do not see any options in SMC that I could set to make the 'Name' &amp;amp; 'Address' prompts&amp;nbsp;require a value to be entered into the 'City' &amp;amp; 'State' prompts if the user enters values in either or both&amp;nbsp;the&amp;nbsp;'Name' &amp;amp; 'Address' prompts..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would appreciate any direction on how to accomplish this task.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks is advance!!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 19:40:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-one-prompt-required-IF-data-is-entered-into-a/m-p/251834#M47649</guid>
      <dc:creator>ncsthbell</dc:creator>
      <dc:date>2016-02-23T19:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to make one prompt required IF data is entered into a different prompt?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-one-prompt-required-IF-data-is-entered-into-a/m-p/253930#M48363</link>
      <description>&lt;P&gt;Hi ncsthbell,&lt;/P&gt;
&lt;P&gt;The type of prompt you are looking for is called a "Selection Group" prompt. It is the IF/THEN equivalent for prompting.I've not done this in SMC, only EG. But here are the steps.&amp;nbsp;Essentially within the prompt manager click on New &amp;gt; New Group. Change the type to Selection group. Add your displayed initial text and name of prompt. Click the Selection-Dependent Groups tab.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Click New Group. Enter text and value. Click OK. Then click New Group and add the next text and value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At this point you have 2 dependent groups within your main group. Think of these 2 dependent groups as your branches. Then add your City and State prompts to one of those branches.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully this should point you in the right direction.&lt;/P&gt;
&lt;P&gt;Michelle Buchecker&lt;/P&gt;
&lt;P&gt;Director of Technical Training Services&lt;/P&gt;
&lt;P&gt;ThotWave Technologies&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 19:24:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-one-prompt-required-IF-data-is-entered-into-a/m-p/253930#M48363</guid>
      <dc:creator>mbuchecker</dc:creator>
      <dc:date>2016-03-02T19:24:14Z</dc:date>
    </item>
  </channel>
</rss>

