The use case is.
I have an item validated by LOV.
When this item is changed I need to change other items.
I had thought that trigger W-V-I could solve the problem but this trigger is not fired when item is validated by LOV.
Which one trigger can I use to fill the others items?
Thanks in advance,
post-text-item is useful but as you know sometimes is not fired.
In my case I have a button(not navigable) to save changes. thus, this trigger (P-T-I) is not fired.
on the other hand I have seen that when I press the button, the trigger W-V-I is fired. Consequently If I put the same logic in P-T-I and W-V-I then could work.
Thanks for response
Is that value being changed in form module? If it is, then W-V-I should still fire even if you are validating the LOV against the list. What version of forms are you using, are you getting errors?
FORMS 10G R2
I am not getting any error.
The value is changed and validated by a LOV.
I have seen that W-V-I is only fired when I Save Changes.
My opinnion is that forms should have a trigger for items validated by LOV and when a value changes should be fired.
Best Regards and thanks
I tried your solution.
ITEM TO VALIDATE IS THE SAME LOV_ITEM
LOV_ITEM --> KEY_LISTVAL CODE IS:
but W-V-I trigger is not fired.
only is fired I Save Changes.
KEY_LISTVAL code of the item L_TRE_DEL is:
L_TRE_DEL contains the new value from LOV
I solved adding this lines to K-L-V trigger and adding the P-T-I trigger.
if form_success then
go_item('L_TRE_DEL2'); -- this line fire the P-T-I trigger
L_TRE_DEL2 is a button to INVOKE the LOV of item L_TRE_DEL (GENERATED BY DESIGNER)
with the following code