Regarding Key-next and When-validate-item [message #155829] |
Wed, 18 January 2006 18:34  |
srinivasocp
Messages: 91 Registered: December 2005 Location: INDIA
|
Member |
|
|
HI Everyone,
Suppose if I have defined two triggers Key-next and When-validate-item on the same item.
If my key-next is going to fire first and When-validate-item later
how can the validation happen if I write a code like go_item('XXXX')
in my Key-next.Does it mean that if u write a code in key-next to jump to some other item, no validation takes pLace?
Please explain it to me as it is the most frequently asked Quest in Interview.
Regads
srini...
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Regarding Key-next and When-validate-item [message #570228 is a reply to message #570185] |
Wed, 07 November 2012 00:35   |
 |
rajput_106@hotmail.com
Messages: 3 Registered: November 2012
|
Junior Member |
|
|
but if you are using both the triggers(when validate trigger and key next item and wrote condition on when validate) then the same prob arose that is key-next-item fires before when validate trigger and and no sooner key-next-item will fire it will jump to the specified item and after jumping that item then valdate trigger fire at that time that cause no meaning (it is in query mode )
[Updated on: Wed, 07 November 2012 00:36] Report message to a moderator
|
|
|
|
Re: Regarding Key-next and When-validate-item [message #590952 is a reply to message #570277] |
Wed, 24 July 2013 06:08   |
rajesh4851
Messages: 89 Registered: January 2007
|
Member |
|
|
Dear friends,
I have similar problem. Pls give me some inputs to achive this result.
There is a multi record block in my form. When user tries to enter duplicate data in this block and tab out from the last field i.e. end_date then a pop-up should be raised.
"This is duplicate record, you want to keep it?" It has 2 buttons, Yes or No.
When user clicks "Yes" button the data should be saved immediately(committed).
Since i put this validation in when-validate-item of that end_date filed i can't use commit-form; Is there is any work around to achive this ? Pls suggest some ideas.
Regards,
Raj
|
|
|
|