java Script Formula to list different numbers depending on a number in another field
Hello There
I am having a hard time understanding the Java Script to create a formula (Never scripted before)
Let me try to explain what Im searching for since I couldnt find a solution by googling.
Field 1 is the field the calculation takes place
Field 2 is the field I want to be able to be edited and whos numbers Field 1 is refering to.
For Example:
If (Field 2) >= 100 that should give me a 1 in (Field 1)
If (Field 2) >= 300 that should give me a 2 in (Field 1)
If (Field 2) >= 800 that should give me a 3 in (Field 1)
I basically want to refer to a specific number in (Field 2) and get a defined number in (Field 1)
Like all numbers between 100 and 299 should say 1 in (Field 1)
and all numbers in between 300 and 799 should say 2 in (Field 1) and so on
Does a script like this exist or should I try a different method?
Thx for the help in advance
