
Anonymous Community User asked a question.
Help with Javascript in calculation
I have a category field with three options: New LTD, DAC or No Action. If New LTD or DAC is selected I want to set the Budget for the project at 200. If No Action or not set the budget should be 0. var Budget; if ( @Option Taken == 'DAC' || 'New LTD' ) { Budget == 200; } else { Budget == 0;} I am getting 0 even if DAC or New LTD is chosen.