Results 1 to 3 of 3

Thread: how to validat cutom DateField?

  1. #1
    Sencha User
    Join Date
    Oct 2015
    Posts
    52
    Answers
    1

    Default how to validat cutom DateField?

    i want to do cutom DateField like type in "today" then keep "today" as value ,but i can't get right value when submit,i think the problem is in the validator,also i want to do something like "01-19-2017 to 02-19-2017" as well,hope somebody can help me.thanks.

    https://fiddle.sencha.com/#view/editor&fiddle/1ojh

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Have you looked at the validator config?
    http://docs.sencha.com/extjs/6.2.1/c...#cfg-validator

  3. #3
    Sencha User
    Join Date
    Oct 2015
    Posts
    52
    Answers
    1

    Default

    yes ,i did,as i coding in fiddle,i did validator for "today" but i can't get value when submit.

Similar Threads

  1. Create model from cutom proxy read function
    By chrislind in forum Sencha Touch 2.x: Discussion
    Replies: 1
    Last Post: 30 Mar 2013, 5:23 AM
  2. How to init. the DateField with the value from a dependent DateField?
    By wgpubs in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 9 Dec 2009, 4:07 PM
  3. Help with DateField
    By pr0 in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 21 Oct 2008, 9:57 PM
  4. DateField minValue depending on other DateField
    By dotnetCarpenter in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 17 Dec 2007, 1:37 PM

Tags for this Thread

Posting Permissions

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