[PAFE & Piotnet Forms] How to show the higher amount field of 2 Total fields?
M
Miguel Delgado
Hi guys,
I use calculated fields to get weight and volume in a form, now I am trying to use conditional visibility to show only the highest amount, this calculation is to know what measure is higher in order to choose the transportation method. I can't find a way to do it, any idea?
Cheers
Vic Pham
Noted: In version 2.0.14 you can use the responsive feature instead of custom CSS.
Responsive feature: Responsive visibility will take effect only on the preview or live page, and not while editing in Piotnet Forms.
Edit elements > Advanced Tab > Responsive
Vic Pham
Hi, personally, I have a solution to your case.
Create one more section/column, including
1 sub duplicated Weight field (a)
1 sub duplicated Volume field (b)
1 sub calculated field (c) with format = (a) - (b)
Then set up the conditional logic for the main Volume + Weight fields depending on (c) < or > value "0"
--------
To hide these fields on the front end with active values.
For PAFE: Click on that section/column > Advanced Tab > Responsive > Hide it on all devices
For Piotnet Forms: Click on that section/column > hide it by Custom CSS