<?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 Customizing form in ArcPad in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/customizing-form-in-arcpad/m-p/13092#M107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am creating forms in ArcPad for monitoring trees reforested in big hectares areas. I have created plots shapefile, where the plot represent the number of trees inside whether it is planted or not. So for this reason, next to the &lt;/SPAN&gt;&lt;STRONG&gt;plot &lt;/STRONG&gt;&lt;SPAN&gt;there will be a combo box that has two values only (Planted; Non-Planted), &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So for now, I need when I navigate to a certain plot, and I entered the value &lt;/SPAN&gt;&lt;STRONG&gt;Planted&lt;/STRONG&gt;&lt;SPAN&gt; , other values I will enter like &lt;/SPAN&gt;&lt;STRONG&gt;Number of trees&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;area of the plot&lt;/STRONG&gt;&lt;SPAN&gt; --etc. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And if I entered &lt;/SPAN&gt;&lt;STRONG&gt;Non-Planted&lt;/STRONG&gt;&lt;SPAN&gt; I want the other values and controls to be disabled, so for that I will not get lost, especially that the monitoring of trees will take around 6-7 hours. Please let me know how to add a function so I can disable control if a value is entered like &lt;/SPAN&gt;&lt;STRONG&gt;Non-Planted&lt;/STRONG&gt;&lt;SPAN&gt;???!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Said&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Jul 2013 17:00:50 GMT</pubDate>
    <dc:creator>SaidAbou_Kharroub</dc:creator>
    <dc:date>2013-07-06T17:00:50Z</dc:date>
    <item>
      <title>Customizing form in ArcPad</title>
      <link>https://community.esri.com/t5/arcpad-questions/customizing-form-in-arcpad/m-p/13092#M107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am creating forms in ArcPad for monitoring trees reforested in big hectares areas. I have created plots shapefile, where the plot represent the number of trees inside whether it is planted or not. So for this reason, next to the &lt;/SPAN&gt;&lt;STRONG&gt;plot &lt;/STRONG&gt;&lt;SPAN&gt;there will be a combo box that has two values only (Planted; Non-Planted), &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So for now, I need when I navigate to a certain plot, and I entered the value &lt;/SPAN&gt;&lt;STRONG&gt;Planted&lt;/STRONG&gt;&lt;SPAN&gt; , other values I will enter like &lt;/SPAN&gt;&lt;STRONG&gt;Number of trees&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;area of the plot&lt;/STRONG&gt;&lt;SPAN&gt; --etc. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And if I entered &lt;/SPAN&gt;&lt;STRONG&gt;Non-Planted&lt;/STRONG&gt;&lt;SPAN&gt; I want the other values and controls to be disabled, so for that I will not get lost, especially that the monitoring of trees will take around 6-7 hours. Please let me know how to add a function so I can disable control if a value is entered like &lt;/SPAN&gt;&lt;STRONG&gt;Non-Planted&lt;/STRONG&gt;&lt;SPAN&gt;???!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Said&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jul 2013 17:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/customizing-form-in-arcpad/m-p/13092#M107</guid>
      <dc:creator>SaidAbou_Kharroub</dc:creator>
      <dc:date>2013-07-06T17:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing form in ArcPad</title>
      <link>https://community.esri.com/t5/arcpad-questions/customizing-form-in-arcpad/m-p/13093#M108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you run a script all you need to do is add an if then statement that would enable or disable the combo boxes.&amp;nbsp; It would look something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sub onPlotType&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Dim pControls&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Set pControls=ThisEvent.Object.Parent.Controls&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; If StrComp(pControls("domPlotType").Value, "Planted") &amp;lt;&amp;gt; 0 Then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; pControls("txtNumTrees").Enabled=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; pControls("txtArea").Enabled=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; else&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; pControls("txtNumTrees").Enabled=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; pControls("txtArea").Enabled=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; end if&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;End Sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bryson&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 11:44:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/customizing-form-in-arcpad/m-p/13093#M108</guid>
      <dc:creator>BrysonWebber</dc:creator>
      <dc:date>2013-09-06T11:44:29Z</dc:date>
    </item>
  </channel>
</rss>

