on 07-30-2007 10:26 AM
Hi All
I have input field which is attached to a Date type variable.
The same form has some dependent drop down lists.
I have written the following code in WdDoInit method so that to make Date Format as dd/mm/yyyy.
IWDAttributeInfo dateinfo = wdContext.getNodeInfo().getAttribute("dateOfExecution");
ISimpleTypeModifiable simp1 = dateinfo.getModifiableSimpleType();
simp1.setFormat("dd/MM/yyyy");
But when user manually enters the date (instead of using date navigator), in wrong format, the error message comes as
<b>"Enter the value in the format 25/11/1987"</b>
and program <b>looses the control</b> until either user makes correct entry or removes date; I mean when such message comes and if user neglects message and clicks on drop down list the other dependent list doesnt get updated.
I want to customize the message and dont want to loose program control .
Please suggest the solution.
Hi,
when the error message is coming, on click of a certain button or what?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.