TreV
Scholar

Multiplication within form fields (Days x Daily Cost = Total Cost)

Jump to solution

I have these 3 fields within form, but now need the magic to happen. How can I add a rule OR variable for the # within "HOTELDAYS" multiplied by the # within "HOTELCOSTPERDAY", equals the "TOTALHOTELCOST" ?

 

This needs to be automatically done as the submitter fills out the field.

0 Kudos
Reply
1 Reply
SimonMuntz
Nintex How-To Center Expert
Nintex How-To Center Expert

Re: Multiplication within form fields (Days x Daily Cost = Total Cost)

Jump to solution

Hi,

 

The rule on the TOTALHOTELCOST control is like this.

 

When 

not(and(isNullOrEmpty(HOTELDAYS),isNullOrEmpty(HOTELCOSTPERDAY)))
Then
Set value
Value
 
Its saying that when the fist two controls are not empty set the value of first times second.
Attached a sample responsive form as a working example.
0 Kudos
Reply