1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    20
    Vote Rating
    0
    simonr26 is on a distinguished road

      0  

    Question Unanswered: How overwrite default date validation?

    Unanswered: How overwrite default date validation?


    Hello,


    I have a form with a datefield which carries out default validation
    in the format: "m/d/Y"
    I require validation and also rendering to be in format: "d/m/Y".
    Please can you indicate the best/easiest way to do this?

    kind regards,
    Simon

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,581
    Answers
    540
    Vote Rating
    319
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    There are examples at the top of the docs for datefield explaining how to do this:

    http://docs.sencha.com/ext-js/4-0/#!...orm.field.Date

    You should be able to do what you want using the config setting format, or possibly altFormats:

    http://docs.sencha.com/ext-js/4-0/#!...ate-cfg-format
    http://docs.sencha.com/ext-js/4-0/#!...cfg-altFormats

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi