data validation on InfoPath form control

N

NAT

I have a text box control on the form. This is used to enter datetime.So when
a user enters data in this text box I want to check if it matches the
datetime format.If I make the control as DateTime datatype then I cannot
leave the control as blank bcoz the validation is fired saying datatype not
match.
I want that the user can leave the text box as blank but if the user enters
any data then it should only be in the DateTime format.An option could be
using custom validation pattern but I do not know the custom pattern for
DateTime. Any ideas ? Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top