chenna.deepa
31st March 2008, 08:04
Hi all

i want to validate date fields..if i use to.field() its not focusing to the date field..but i cant use input.again() becoz here i want to focus on specified field not on the field the event gets triggered..

if date =0 then
mess("")
to.field("date")

its not focusing on date field
how to solve this problem

thanks in advance
deepa

george7a
31st March 2008, 08:23
Hi,

to.field should work in the following sections:
after.input, after.display and after.field.

Fot the full documentation:
http://www.baanboard.com/programmers_manual_baanerp_help_functions_form_and_form_field_operations_to_field

I hope it helps,

- George