title: Upload profile picture based on gender
body: <p>I have a registration form with two radio buttons "male" and "female" my registration form works fine, but what I am having trouble with is uploading a profile picture based on the users gender selection. Any suggestions on how to imply this? 
  This is the code from the form </p>
  
  <pre><code>&lt;div align ="center"&gt;Gender: &lt;/div&gt;
          &lt;/label&gt; &lt;br/&gt;
          Male &amp;nbsp;&lt;input type="radio" name="gender" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
          Female &amp;nbsp;&lt;input type="radio" name="gender" /&gt;
  </code></pre>