title: How to perform validation on Wix UI Edit control
body: <p>How can i do validation on a wix Edit control and make the Next button be available only if user entered some string (cannot be empty)</p>
  
  <pre><code>&lt;Property Id="BASEKITPATH" Value=" " /&gt;
  </code></pre>
  
  <p>
      </p>
  
  <pre><code>&lt;Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)"&gt;
    &lt;Condition Action="disable"&gt;&lt;![CDATA[BASEKITPATH = " "]]&gt;&lt;/Condition&gt; 
    &lt;Condition Action="enable"&gt;&lt;![CDATA[BASEKITPATH &lt;&gt; " "]]&gt;&lt;/Condition&gt;
  &lt;/Control&gt;
  </code></pre>
  
  <p>With the above code, the Next button is becoming ReadOnly when the installer starts, but when i change the text the Next button nothing changes and the Next stays ReadOnly</p>
  
  <p>What seems to be the problem</p>