Results 1 to 4 of 4

Thread: Today Date as default value in a DateField

  1. #1

    Post Today Date as default value in a DateField

    Hi!!! I was searching this issue in this forum and google but could not find any clue.

    My problem is that I want to show today date as default value in a DateField, just that.

    Thank you very much in advance.

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976

    Default

    Code:
    myDateField.setValue(new Date());

  3. #3

    Default

    Ok, thank you very much Sven

  4. #4

    Default Today Date as default value in a TextField

    How to show in TextField ?

Similar Threads

  1. Date Less Than Today?
    By JSCoder in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 8 Jul 2009, 12:23 AM
  2. default picker to a given date for Datefield
    By pomata in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 31 Mar 2008, 1:17 PM
  3. 1.0 Datefield calendar default date
    By pomata in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 14 Jan 2008, 4:31 PM

Posting Permissions

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