Skip to main content
antoinetchoung
Participant
May 30, 2016
Question

calculation with a normal field and a Dropdown (LOCKED)

  • May 30, 2016
  • 1 reply
  • 229 views

Hi,

I want to create a Field that give me the amount of product needed according to the length of the site and of the box (selectable in a list)

I've try that :

var a = Number(this.getField("SiteSize").value);

var b = Number(this.getField("DropdownBoxSize").value);

if (b==0) event.value = "";

else event.value = Math.floor(a/b);

but it's not working.


Any idea ?

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
May 30, 2016

Please don't double-post the same question.