on 01-18-2010 5:27 AM
Hi,
I am working on an Interactive ADOBE form. In my form, i am using a Date/Time field symbol from the object library whose format is "Jan 15, 2010" while application expect "15.01.2010". If I continue with this default value, error message "Enter a valid date (for example, 15.01.2010)" will pop.
Is there any way to customize the date field to the format "15.01.2010" ?
Thanks & Regards,
Kumar
There are different types of Patterns you can use for such objects i.e Display, Edit, Validation.
Select the field and then you can change the patterns through object palette.
Search Adobe Designer Help for more information on same.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Select the field and goto patterns and apply this pattern.
time{h:MM A}
Hamad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I had faced same problem and solved like this :
You can Validate the value entered in Time field by,
1. In the Object pallette , make the Edit pattern as "HH:MM:SS" and the Data pattern as time.
2. Write the below given code in the EXIT event of that field.
if ( this.editValue == this.formattedValue && this.rawValue != null){
xfa.host.messageBox("Please Enter Time in Format HH:MM:SS");
this.rawValue = null;
}else{
this.rawValue = this.editValue;
}
This will solve your problem.
Thanks & Regards,
Omkar Mirvankar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
open your LCD, click Help in menu > Adobe LCD Help (F1)
look for patterns: date and time, you´ll get:
1) description of the patterns
2) examples of the patterns
Like:
YYYY-MM-DD
8/23/08
2008-08-23
EEEE, MMMM D, YYYY
8/23/08
Saturday, August 23, 2008
HH:MM:SS
5:02 PM
17:02:00
date{YYYY-MM-DD} time
8/23/08 5:02 PM
2008-08-23 17:02:00
Regards, Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, Otto, thanks for your advise to not lazy. I try describe my problem in a simple way so that everyone is understand, i use a button to as example because it serve my question purpose.
I need to bind my time field to my webservice, everytime i enter "11", although the time fields will auto change to 11:00:00, but "11" will pass to the webservice and R/3 is not recognize it as correct time value. I wish to not adding any extra coding in ABAP, and i believe there is some setting in form object. I have tried all binding pattern, it still passing without ":" and "00".
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.