Skip to main content
Participant
May 19, 2016
解決済み

Simple calculation

  • May 19, 2016
  • 返信数 1.
  • 542 ビュー

I want to do a simple calculation. A number field (quantity) multiplied by a specific dollar amount for a total cost.

Is there a Java Script for that?

このトピックへの返信は締め切られました。
解決に役立った回答 try67

Yes. For example:

event.value = Number(this.getField("Quantity").value) * 5;

返信数 1

try67
Community Expert
try67Community Expert解決!
Community Expert
May 19, 2016

Yes. For example:

event.value = Number(this.getField("Quantity").value) * 5;

Jim Fenster作成者
Participant
May 19, 2016

That worked, Thanks!