on 11-18-2008 7:58 PM
Hi masters.
I created several input fields with required option on status attribute. The label now have the * indicating that field is required.
But when the action is triggered no messages are displayed. Do I need to do anything else in order to display the standard message for the required fields ?
Does exist required standard message or I need to create it ?
Edited by: Michel Dambros Figueiredo - BR on Nov 18, 2008 9:02 PM
....
Edited by: Chintal Virani on Nov 18, 2008 9:06 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check for the null value for the context attribute associated with the field ...then use the following code:
if(wdccontext.currentcontextelement.getattributevalue == null || wdccontext.currentcontextelement.getattributevalue.equalsignorecase(""))
{
IWDMessageManager m = wdthis.wdgetApi().getcomponent.getMessageManager();
m.reportexception("<Fill in text you want>",true);
}
Hope it helps.
Shikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes you need to check programatically for the null values in your code and give appropriate message to the user.
Regards,
Murtuza
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.