cancel
Showing results for 
Search instead for 
Did you mean: 

lost focus of edittext occured at first time

Former Member
0 Kudos

Hai,

I want to do calculation in lost focus of EditText at First time only. If lost focus was occured second time or next need not do that calculation. So I want to get the first time of lost focus of edittext. Any idea is appreciated.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Parvatha,

You can use this logic here

first store the edittext value into the a temporary variable when first time lost focus event occured in edittext

and do the calculation

After that if the lost focus event occured in edittext box second time then you need to compare

the previous value(temporary variable value) and the current value in the edit text

if both are equal u dont need to calculate otherwise do calculation

Hope This Helps you

Thanks

Shafi

Former Member
0 Kudos

Hi Shafi,

Thanks. I would like to know is there any built-in concepts available.

Thanks.

former_member689126
Active Contributor
0 Kudos

Hi

You can check pval.itemchaged property on before validate event to check whether the item is changed or not

Regards

Arun