Dropbox with functions
-
Hey,
Hi, I need to write a dropbox with a function. text "a" if fieldname1 <10, return 1000 if fieldname => 10, return 2000 text "b" IF fieldname1 <10, return 10 IFfieldname1 => 10, return 20 text "c" = 200 text "d '= 300 and the second function. if someone choose "a" in fieldname2, the value is 90 if he chose "b" then 30 ..
I tried:
(function(){ if(fieldname1 == 'A') { if(fieldname1<=10) return 20; if(fieldname >10) return 30; } else { if(fieldname1 == 'B') { if(fieldname1<=10) return 20; if(fieldname >10) return 30; } })()
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Dropbox with functions’ is closed to new replies.