In dbforms 1.1.3 the format/pattern for the dateField was configured according to<date-format> in dbforms-config.xml.
I have put <date-format>yyyy-MM-dd</date-format> in dbforms-config.xml but I am getting May 28, 2004 12:00 AM from <db:dateField fieldName="date_field" useJsCalendar="true" size="10" />. If I put <db:dateField fieldName="date_field" useJsCalendar="true" size="10" pattern="yyyy-MM-dd" /> I get 2004-05-28 which is what I require. Do I always have to specify the pattern attribute in the <db:dateField /> or there's configuration I am missing out? DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for the use of the recipient. Any disclosure, copying or distribution of all or part of the information contained herein to or by third parties is prohibited and may be unlawful. In any event the contents herein is without prejudice. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms