Copy link to clipboard
Copied
I created an if statement with OR but it doesn't seem to be working. Here is my javascript
if ((oa4.value > 0) || (oa3.value > 0 && hr.value > 0))
{
then do what's next...
I have order amount lines and lines 1-4 are filled in then other things can happen. Also if line 1-3 are filled in with values and another total value is not null then that counts too.
Copy link to clipboard
Copied
I created an if statement with OR but it doesn't seem to be working. Here is my javascript
if ((oa4.value > 0) || (oa3.value > 0 && hr.value > 0))
{
then do what's next...
I have order amount lines and lines 1-4 are filled in then other things can happen. Also if line 1-3 are filled in with values and another total value is not null then that counts too.
Have something to add?