Hi,
Which property for dateTime and text fields can help me in differentiating them in scripting with javascript?
I have a form where I need to check on its parent subform and find all the fields, if it is a datefield, I have to display something and if it is a text field, i have to display something else in the popup.
I know we can get the difference between a static text field and the normal text or date field by using the class name. if class name is field, then it is a editable field and if the class name is "draw", then it is a static text field. But not getting idea in differentiating two fields i.e., text field and datetime field.
Appreciate your help.
Thanks
Chaitanya
Views
Replies
Total Likes
Well. I got the answer myself.
This is the condition I used to see if it is a text field or dateTime field.
I used the below condition:
If (this.ui.oneOfChild.className
== "dateTimeEdit")
{
///code
}
Regards,
Chaitanya
Message was edited by: kc_chaitu
Views
Replies
Total Likes