title: Prepopulating field(s) with Javascript returns NULL on Spring MVC form submit
body: <p>The title is a clear description of my issue. </p>
  
  <p>The pre-populated values are pre-entered in the field and are displayed as expected but just do not go through to the controller I guess?</p>
  
  <p>Here's some code on the fields that are pre-populated but do not work, I am not sure where to start!</p>
  
  <p>Here's two vars that do not pre-populate.</p>
  
  <pre><code>    var fullDate = new Date()
      var twoDigitMonth = ((fullDate.getMonth().length+1) === 1)? (fullDate.getMonth()+1) :(fullDate.getMonth()+1);
      var currentDate = fullDate.getDate() + "/" + twoDigitMonth + "/" + fullDate.getFullYear();
      $("#declarationSignature").prop("disabled",true);
      $("#declartionDate").prop("disabled",true);
      $("#declarationSignature").val($("#title").val() + " " + $("#firstName").val()+ " " + $("#lastName").val());
      $("#declartionDate").val(currentDate);
  </code></pre>
  
  <p>Some recalled a data that is not saved with spring (Third var)</p>
  
  <pre><code>var selectedLocations = JSON.parse(storedValue);
  console.log("parsing selected locations")
  console.log(selectedLocations )
  $('#storesAppliedFor').val(selectedLocations );
  </code></pre>