on 05-17-2012 8:01 PM
Hi Team,
We are using adobe form to display shopping cart document. Issue is if date is LIKE 9999/12/31..then i dont want display object in form.
My form object 'Delv_date' kept in subform 'SUBF' .
Binded with itab-date.
So how to hid subform 'SUBF' if it value is like 9999/12/31.
if wrote java script like this under intiliaze event. and validate event
if (this.Delv_date.rawvalue == '9999/12/3') { this.presence = 'hidden';}
But it is working ...
Please advise.
Regards
Ram.
Rob,
Thanks for your inputs.. i observed that expression is correct and it worked fine. But surprise is i set defalut date is 9999/12/31. in variable DATE. when i displayed in adobe it showing as 9999/1-2/-3 like this ...i dont know how it is formated. i set format as yyyy/mm/dd.. due this my if condition is failed and not worked. any idea why date is displayed like this...
regards
Ram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yarava Ramakrishnaiah wrote:
if (this.Delv_date.rawvalue == '9999/12/3') { this.presence = 'hidden';}
But it is working ...
Well, I don't see how.
Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.