skipping other when validate trigger [message #545641] |
Thu, 01 March 2012 08:19 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
mrdb
Messages: 62 Registered: December 2009 Location: dubai
|
Member |
![gmail.com](/forum/theme/orafaq/images/google.png)
|
|
hi,
I am using when validate trigger in the item level
for baserate, markup, and rate
my requirement is
1.if markup and rate are null then all the
trigger should fire which means baserate value should show calcuating entered markup in the rate field.
2.if the rate is change markup should get change as per the entered rate
3. when second time the baserate is changed only markup should change not the rate.
how to handle this
|
|
|
|
|
Re: skipping other when validate trigger [message #546008 is a reply to message #545971] |
Sun, 04 March 2012 10:15 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
cookiemonster
Messages: 13937 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
Read up on the property in form builder help.
Say you have two items A and B.
Both have WVI triggers.
The trigger on A changes the value of B.
This will cause the WVI trigger on B to fire since it's changed.
If you put the following code at the end of the WVI trigger on A:
set_item_property('block.B', item_is_valid, property_true);
That will stop forms from firing the WVI trigger on B.
|
|
|