<?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 How to retrieve user-input values from a model dialog Application module window? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-retrieve-user-input-values-from-a-model-dialog/m-p/473183#M71780</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am developing a JMP Application that includes multiple module windows and extensive scripting with Python integration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One of my modules has selections for different task options A, B, C, etc... Based on this selection, I have created additional module windows to pop up and ask the user to input some parameters required for completing each task (these inputs are Number Edit Boxes in the Application modules).&amp;nbsp;&lt;/SPAN&gt;In the property panel of the Application Builder, these popup parameter module windows are set as "Modal Dialogue".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When the user clicks the "OK" button, I want the modal window to dismiss and for the user inputs to be stored into variables so the application code can then do whatever work is&amp;nbsp;required based on the selections. I have tried several different scripting options (such as "&amp;lt;&amp;lt; Get") but they have not been working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any advice is greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Estelle&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 18:14:22 GMT</pubDate>
    <dc:creator>EstelleS</dc:creator>
    <dc:date>2023-06-09T18:14:22Z</dc:date>
    <item>
      <title>How to retrieve user-input values from a model dialog Application module window?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-retrieve-user-input-values-from-a-model-dialog/m-p/473183#M71780</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am developing a JMP Application that includes multiple module windows and extensive scripting with Python integration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One of my modules has selections for different task options A, B, C, etc... Based on this selection, I have created additional module windows to pop up and ask the user to input some parameters required for completing each task (these inputs are Number Edit Boxes in the Application modules).&amp;nbsp;&lt;/SPAN&gt;In the property panel of the Application Builder, these popup parameter module windows are set as "Modal Dialogue".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When the user clicks the "OK" button, I want the modal window to dismiss and for the user inputs to be stored into variables so the application code can then do whatever work is&amp;nbsp;required based on the selections. I have tried several different scripting options (such as "&amp;lt;&amp;lt; Get") but they have not been working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any advice is greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Estelle&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 18:14:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-retrieve-user-input-values-from-a-model-dialog/m-p/473183#M71780</guid>
      <dc:creator>EstelleS</dc:creator>
      <dc:date>2023-06-09T18:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve user-input values from a model dialog Application module window?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-retrieve-user-input-values-from-a-model-dialog/m-p/473205#M71781</link>
      <description>&lt;P&gt;I haven't used Application builder myself, but based on Sample application "Data Table Application", &amp;lt;&amp;lt; get should work just fine.&lt;/P&gt;
&lt;P&gt;Changed Launcher to modal:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1648233560408.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41161i50C31442704B8121/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1648233560408.png" alt="jthi_0-1648233560408.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Ok button executes OkButtonPress&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1648233586475.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41162i648B6BB343F786C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1648233586475.png" alt="jthi_1-1648233586475.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and OkButtonPress calls doFun function&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1648233605947.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41163i83BDACA8B969ADFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1648233605947.png" alt="jthi_2-1648233605947.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;which has &lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;rate = SampleRateInput &amp;lt;&amp;lt; Get;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 18:40:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-retrieve-user-input-values-from-a-model-dialog/m-p/473205#M71781</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-03-25T18:40:33Z</dc:date>
    </item>
  </channel>
</rss>

