Expand my Community achievements bar.

Problem with Action Builder and Numeric Field

Avatar

Level 1

Here's my scenario:

I have a form with a numeric field for the PO Amount and a text field for the Role.  I tried to create an action builder to do the following:

Condition - When numeric field PO Amount is less than 250,000

Result - Set Value of Role to be Manager

When I enter an amount less than 250,000, nothing appears in the Role text field.

Any help is appreciated!  Thanks!

1 Reply

Avatar

Level 5

Hi,

this is not so difficult.

You have to use the script editor (about windows)

Then you have to mark your numeric field.

Then you have to select "EXIT" and "JAVASCRIPT".

Then you have to copy the following script:

(I come from germany and I don't know which amount you mean because in german is this switched 1,000.00 $ is in german 1.000,00 $) This is the only thing which you adapt maybe.

if(this.rawValue <250)

{

    TextField1.rawValue = null;

}else

{

    TextField1.rawValue = "Manager";

}

calculation.jpg

Hope it will helps,

Mandy