Results 1 to 2 of 2

Thread: [2.1][CLOSED] BasicForm.getValues() result array contain value of DateField as String

  1. #1
    Ext User
    Join Date
    Jun 2008
    Posts
    15
    Vote Rating
    0
      0  

    Default [2.1][CLOSED] BasicForm.getValues() result array contain value of DateField as String

    BasicForm.getValues():
    result array contain value of DateField as String instead Date.

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    4
    Vote Rating
    1
      0  

    Default

    This is not a bug. From the documentation:
    Returns the fields in this form as an object with key/value pairs as they would be submitted using a standard form submit.
    BasicForm.getValues returns a URI-encoded string for the purposes of submitting the form. The values are parsed by the JavaScript encodeURIComponent function. If you want a typed value you'll have to access the field's value directly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •