Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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!

0 Replies

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