livecycle form conditional calculation

Avatar

Avatar

Ali_Haider_shib

Avatar

Ali_Haider_shib

Ali_Haider_shib

10-03-2015

Hi,

I have 3 fields, say A,B n C. if A= less than 10 then B n C will be 0. how can i make this coce.

thanks

Ali

Accepted Solutions (0)

Answers (4)

Answers (4)

Avatar

Avatar

Ali_Haider_shib

Avatar

Ali_Haider_shib

Ali_Haider_shib

11-03-2015

it is working. i am sending u file to ur mail.

thanks

Ali

Avatar

Avatar

mouslander

Avatar

mouslander

mouslander

11-03-2015

the syntax is different for formcalc. change your language to JavaScript also in the script "b" and "c" have to be replaced by the actual field names.

Avatar

Avatar

Ali_Haider_shib

Avatar

Ali_Haider_shib

Ali_Haider_shib

11-03-2015

hi,

not working. showing error. i insert it for a and show= ca;calculate, language= formcal.

thanks

Ali

Avatar

Avatar

mouslander

Avatar

mouslander

mouslander

11-03-2015

if(a <= 10){

b.rawValue = "0"

c.rawValue = "0"

}