title: How to check if form password field is empty in magento
body: <p>i want to check if Password field is empty then form will not update password in database otherwise update password </p>
  
  <pre><code>$userData = array('firstname' =&gt; $FirstName, 'lastname' =&gt; $LastName, 'username' =&gt; $Params['email'], 'email' =&gt; $Params['email'], 'password' =&gt; $Params['password']);
  </code></pre>
  
  <p>Please help to resolve this query.</p>