cancel
Showing results for 
Search instead for 
Did you mean: 

Focus on Input fields same like data field when u enter string in data fiel

Former Member
0 Kudos

Hi experts,

I have one issue i.e when you have data field to enter in the data field if you enter string value you can see red box it points, in the same way.

my issues was i want with string values also to see red box it points

i am using message pool for validate.

anyhelp on this issue

thank you,

vijai

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Vijay,

Check this tutorial for step by step process for ur requirement.It containes same example for date field

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/837d9290-0201-0010-1381-e633fe17cb14">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/837d9290-0201-0010-1381-e633fe17cb14</a>

regards

Sumit

Former Member
0 Kudos

Hi

Create an actionHandler <b>(Validating)</b>

Inside the handler write the following code.

IWDMessage msg = new WDMessage(wdThis.wdGetAPI().getComponent() , "MissingInput", WDMessageType.ERROR , "Enter some Values");

IWDAttributePointer attributePointer = wdContext.currentContextElement().getAttributePointer("YOUR ATTR"); // Your context attribute

if(wdContext.currentContextElement().get<YOUR ATTR>() == null)

{

msgMgr.reportContextAttributeMessage(attributePointer, msg, new Object[] {});

msgMgr.cancelNavigation();

}

Regards

Ayyapparaj

Former Member
0 Kudos

hi experts

just to correct it is not data field correct it as Date field and also in Subject