Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

When I clear a Time field in a listbox, Hour field get selected

Hi,

I have 2 list boxes Hour and Time. By default, I made  0 value is selected in Hour List Box. When I am selecting a value in Time List Box then Hour Field get cleared. For this I have created a field event trigger. But my question is how to create a trigger for when I clear the Time Field , then 0  value (Default value)is selected in Hour List Box. 

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Check this attached sample.

View solution in original post

5 Replies
tresesco
MVP
MVP

Use a similar trigger for selection change. Search string something like:

=If(GetSelectedCount(Time)=0, 0)                         // for Hour field

ashfaq_haseeb
Champion III
Champion III

HI,

Select o go ho hour list-box properties  --> General Tab --> Check always one selection value.

Regards

ASHFAQ

Not applicable
Author

When we clear the Time Field , Hour List Box should select default value (0). That means we are clearing the Time Field , not selecting Hour Field.  So this trigger is not working.

tresesco
MVP
MVP

Check this attached sample.

Not applicable
Author

Thank You.