cancel
Showing results for 
Search instead for 
Did you mean: 

date field validation

Former Member
0 Kudos

Hello All,

I have written a method (using standard web dynpro error messages) to validate an input field of type date. On giving an incorrect input the message comes up. However after this I am not able to re-enter any values in the field?

How can I fix this?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vijay,

could you please post code in "onAction" .

Please let us know the Context Structure also.

Regards, Anilkumar

Answers (1)

Answers (1)

Former Member
0 Kudos

Why didn't you bind the InputField.value property to an attribute of type "date" and let Web Dynpro do the validation?

Armin

Former Member
0 Kudos

Hi,

I this I was not able to put my question in a proper fashion. My input field is bound to a value attribute of type date. I need to check if the date entered is a friday. I am doing this using an external method. When the date is not a friday it shows the standard web dynpro message. After I do that I cannot enter a new date in the input field. I do all the validation in an onAction() method.

Thanks