Re: Need to make text field of date-time field in form widgets non editable

2009-08-13 Thread Anne Jessel
Does this do what you want?

field name=fromDate
display type=date/
/field

Cheers,
Anne.

2009/8/13 Hemanth Kumar Kanamarlapudi hemanth_kanamarlap...@mindtree.com:
 Hi Users,

 Can any one help out if we can make the text field in date-time field used in 
 form widgets as non editable?

 Because of this I am forced to validate all the dates entered for valid check 
 in my events class.
 (eg: modified date from 12-01-2010 to 00-00-)

 Present usage:
 date-time type=date input-method=text//field

 Thanks in advance.

 Regards
 Hemanth


 
 http://www.mindtree.com/email/disclaimer.html




-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au


RE: Need to make text field of date-time field in form widgets non editable

2009-08-13 Thread Hemanth Kumar Kanamarlapudi
Hi Anne,

Thanks for your reply.

Actually I want to make the text box non editable while input and want to allow 
the values to be populated only on the selection from calendar control of the 
date-time tag in form widget.

The tag you showed is useful when the date needs to be populated from the 
database or from server side.

Thanks  Regards
Hemanth



-Original Message-
From: Anne Jessel [mailto:a...@cohsoft.com.au]
Sent: Thursday, August 13, 2009 12:08 PM
To: user@ofbiz.apache.org
Subject: Re: Need to make text field of date-time field in form widgets non 
editable

Does this do what you want?

field name=fromDate
display type=date/
/field

Cheers,
Anne.

2009/8/13 Hemanth Kumar Kanamarlapudi hemanth_kanamarlap...@mindtree.com:
 Hi Users,

 Can any one help out if we can make the text field in date-time field used in 
 form widgets as non editable?

 Because of this I am forced to validate all the dates entered for valid check 
 in my events class.
 (eg: modified date from 12-01-2010 to 00-00-)

 Present usage:
 date-time type=date input-method=text//field

 Thanks in advance.

 Regards
 Hemanth


 
 http://www.mindtree.com/email/disclaimer.html




--
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

http://www.mindtree.com/email/disclaimer.html


Need to make text field of date-time field in form widgets non editable

2009-08-12 Thread Hemanth Kumar Kanamarlapudi
Hi Users,

Can any one help out if we can make the text field in date-time field used in 
form widgets as non editable?

Because of this I am forced to validate all the dates entered for valid check 
in my events class.
(eg: modified date from 12-01-2010 to 00-00-)

Present usage:
date-time type=date input-method=text//field

Thanks in advance.

Regards
Hemanth



http://www.mindtree.com/email/disclaimer.html