Title: Conditional Logic
Last modified: May 20, 2022

---

# Conditional Logic

 *  Resolved [mira404](https://wordpress.org/support/users/mira404/)
 * (@mira404)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/)
 * Hi, I just install the CFF wp plugin and try to make ([https://weekendgolf.co/swingweight-calculator/](https://weekendgolf.co/swingweight-calculator/))
   Swingweight Calculator but I didn’t understand how to start building it.
 * Also, have many conditional logic (Check this: [https://weekendgolf.co/swingweight-calculator/sw-scale.js](https://weekendgolf.co/swingweight-calculator/sw-scale.js))
 * Here is the formula:
 * **Swingweight = round((Club Weight \* ( (Club Balance Point + (club Balance Point
   Fraction / 16) ) – 14)\* 0.03528 – 143.5) / 1.75, 1)**
 * Can you help me set it up?
 * Thanks!
    -  This topic was modified 4 years ago by [mira404](https://wordpress.org/support/users/mira404/).

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15663119)
 * Hello [@mira404](https://wordpress.org/support/users/mira404/)
 * Thank you very much for using our plugin.
 * Our plugin includes a forms builder accessible through the menu option “Calculated
   Fields Form” plugin.
 * The plugin page includes a list of predefined forms you can edit by pressing 
   their corresponding “Settings” button. Or you can create a new form:
 * ![](https://i0.wp.com/resources.developers4web.com/cff/images/documentation/forms-
   list.png?ssl=1)
 * Pay attention to the last column in the forms list. Each form has assigned a 
   shortcode. If you want to insert the form into any page of your website, you 
   should insert the shortcode into its content. The plugin includes widgets to 
   insert the form visually with popular page builders like Gutenberg, Elementor,
   Divi, Beaver Builder, Page Builder for Site Origin, and others, but using shortcodes
   is always an alternative.
 * By pressing the “Settings” button of your form, you will access the forms builder:
 * ![](https://i0.wp.com/resources.developers4web.com/cff/images/documentation/form-
   builder-calculator.png?ssl=1)
 * The forms builder has two columns, the controls and properties in the left column,
   and the dashboard in the right. By pressing the controls buttons you insert the
   fields in the dashboard, and by selecting the fields from the dashboard, you 
   can edit the fields’ properties in the left column. The fields’ names are assigned
   dynamically and have the structure fieldname#
 * Multiple controls are common in other forms builders, like number fields, text
   fields, radio buttons, dropdown menus, etc. but pay attention to the “Calculated
   Field” control (it has a different color). This control makes the magic. The 
   calculated field includes the “Set equation” attribute where you can edit the
   equations:
 * ![](https://i0.wp.com/resources.developers4web.com/cff/images/documentation/calculated-
   field-settings.png?ssl=1)
 * For example, assuming the fields in the form are:
 * fieldname1 = Club Weight
    fieldname2 = Club Balance Point fieldname3 = Club Balance
   Point Fraction
 * To calculate the “Swingweight”, you should insert a calculated field in the form
   and enter the following equation through its settings:
 * `PREC((fieldname1 * (fiedname2 + fieldname3/16) - 14) * 0.03528 - 143.5)/1.75,
   1)`
 * The PREC operation rounds the numbers with the decimal places you pass as the
   second parameter. PREC(X, Y) rounds the number X with Y decimal places.
 * The plugin includes multiple mechanisms to distribute the fields into columns
   like in the page you send me as a reference, please, watch the videos in the 
   following section of the plugin’s documentation:
 * [https://cff.dwbooster.com/documentation#customize-form-design](https://cff.dwbooster.com/documentation#customize-form-design)
 * Best regards.
 *  Thread Starter [mira404](https://wordpress.org/support/users/mira404/)
 * (@mira404)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15663215)
 * THANKS! I try but not working check this: [https://weekendgolf.co/?cff-form=8](https://weekendgolf.co/?cff-form=8)
   also check this formula: [https://prnt.sc/638NL9nKVnPM](https://prnt.sc/638NL9nKVnPM)
 * I also told you about the logical conditions. (Check this: [https://weekendgolf.co/swingweight-calculator/sw-scale.js](https://weekendgolf.co/swingweight-calculator/sw-scale.js))
 * How to apply conditions on CFF?
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15663341)
 * Hello [@mira404](https://wordpress.org/support/users/mira404/)
 * There are two issues with the equation. First, a typo. The correct field’s name
   is fieldname4 and not fiedname4 , you missed the “l”. The second issue was my
   fault, I forgotten remove a parenthesis. The correct would be:
 * `PREC((fieldname2 * (fieldname4 + fieldname5/16 - 14) * 0.03528 - 143.5)/1.75,
   1)`
 * If you want to use the array in the js file to return the result in the format“
   A3.4”, you can implement the equation as follows:
 *     ```
       (function () {
           var swScale = [
               [10.0, "A0.0"],
               [10.1, "A0.1"],
               [10.2, "A0.2"],
               [10.3, "A0.3"],
               [10.4, "A0.4"],
               [10.5, "A0.5"],
               [10.6, "A0.6"],
               [10.7, "A0.7"],
               [10.8, "A0.8"],
               [10.9, "A0.9"],
               [11.0, "A1.0"],
               [11.1, "A1.1"],
               [11.2, "A1.2"],
               [11.3, "A1.3"],
               [11.4, "A1.4"],
               [11.5, "A1.5"],
               [11.6, "A1.6"],
               [11.7, "A1.7"],
               [11.8, "A1.8"],
               [11.9, "A1.9"],
               [12.0, "A2.0"],
               [12.1, "A2.1"],
               [12.2, "A2.2"],
               [12.3, "A2.3"],
               [12.4, "A2.4"],
               [12.5, "A2.5"],
               [12.6, "A2.6"],
               [12.7, "A2.7"],
               [12.8, "A2.8"],
               [12.9, "A2.9"],
               [13.0, "A3.0"],
               [13.1, "A3.1"],
               [13.2, "A3.2"],
               [13.3, "A3.3"],
               [13.4, "A3.4"],
               [13.5, "A3.5"],
               [13.6, "A3.6"],
               [13.7, "A3.7"],
               [13.8, "A3.8"],
               [13.9, "A3.9"],
               [14.0, "A4.0"],
               [14.1, "A4.1"],
               [14.2, "A4.2"],
               [14.3, "A4.3"],
               [14.4, "A4.4"],
               [14.5, "A4.5"],
               [14.6, "A4.6"],
               [14.7, "A4.7"],
               [14.8, "A4.8"],
               [14.9, "A4.9"],
               [15.0, "A5.0"],
               [15.1, "A5.1"],
               [15.2, "A5.2"],
               [15.3, "A5.3"],
               [15.4, "A5.4"],
               [15.5, "A5.5"],
               [15.6, "A5.6"],
               [15.7, "A5.7"],
               [15.8, "A5.8"],
               [15.9, "A5.9"],
               [16.0, "A6.0"],
               [16.1, "A6.1"],
               [16.2, "A6.2"],
               [16.3, "A6.3"],
               [16.4, "A6.4"],
               [16.5, "A6.5"],
               [16.6, "A6.6"],
               [16.7, "A6.7"],
               [16.8, "A6.8"],
               [16.9, "A6.9"],
               [17.0, "A7.0"],
               [17.1, "A7.1"],
               [17.2, "A7.2"],
               [17.3, "A7.3"],
               [17.4, "A7.4"],
               [17.5, "A7.5"],
               [17.6, "A7.6"],
               [17.7, "A7.7"],
               [17.8, "A7.8"],
               [17.9, "A7.9"],
               [18.0, "A8.0"],
               [18.1, "A8.1"],
               [18.2, "A8.2"],
               [18.3, "A8.3"],
               [18.4, "A8.4"],
               [18.5, "A8.5"],
               [18.6, "A8.6"],
               [18.7, "A8.7"],
               [18.8, "A8.8"],
               [18.9, "A8.9"],
               [19.0, "A9.0"],
               [19.1, "A9.1"],
               [19.2, "A9.2"],
               [19.3, "A9.3"],
               [19.4, "A9.4"],
               [19.5, "A9.5"],
               [19.6, "A9.6"],
               [19.7, "A9.7"],
               [19.8, "A9.8"],
               [19.9, "A9.9"],
               [20.0, "B0.0"],
               [20.1, "B0.1"],
               [20.2, "B0.2"],
               [20.3, "B0.3"],
               [20.4, "B0.4"],
               [20.5, "B0.5"],
               [20.6, "B0.6"],
               [20.7, "B0.7"],
               [20.8, "B0.8"],
               [20.9, "B0.9"],
               [21.0, "B1.0"],
               [21.1, "B1.1"],
               [21.2, "B1.2"],
               [21.3, "B1.3"],
               [21.4, "B1.4"],
               [21.5, "B1.5"],
               [21.6, "B1.6"],
               [21.7, "B1.7"],
               [21.8, "B1.8"],
               [21.9, "B1.9"],
               [22.0, "B2.0"],
               [22.1, "B2.1"],
               [22.2, "B2.2"],
               [22.3, "B2.3"],
               [22.4, "B2.4"],
               [22.5, "B2.5"],
               [22.6, "B2.6"],
               [22.7, "B2.7"],
               [22.8, "B2.8"],
               [22.9, "B2.9"],
               [23.0, "B3.0"],
               [23.1, "B3.1"],
               [23.2, "B3.2"],
               [23.3, "B3.3"],
               [23.4, "B3.4"],
               [23.5, "B3.5"],
               [23.6, "B3.6"],
               [23.7, "B3.7"],
               [23.8, "B3.8"],
               [23.9, "B3.9"],
               [24.0, "B4.0"],
               [24.1, "B4.1"],
               [24.2, "B4.2"],
               [24.3, "B4.3"],
               [24.4, "B4.4"],
               [24.5, "B4.5"],
               [24.6, "B4.6"],
               [24.7, "B4.7"],
               [24.8, "B4.8"],
               [24.9, "B4.9"],
               [25.0, "B5.0"],
               [25.1, "B5.1"],
               [25.2, "B5.2"],
               [25.3, "B5.3"],
               [25.4, "B5.4"],
               [25.5, "B5.5"],
               [25.6, "B5.6"],
               [25.7, "B5.7"],
               [25.8, "B5.8"],
               [25.9, "B5.9"],
               [26.0, "B6.0"],
               [26.1, "B6.1"],
               [26.2, "B6.2"],
               [26.3, "B6.3"],
               [26.4, "B6.4"],
               [26.5, "B6.5"],
               [26.6, "B6.6"],
               [26.7, "B6.7"],
               [26.8, "B6.8"],
               [26.9, "B6.9"],
               [27.0, "B7.0"],
               [27.1, "B7.1"],
               [27.2, "B7.2"],
               [27.3, "B7.3"],
               [27.4, "B7.4"],
               [27.5, "B7.5"],
               [27.6, "B7.6"],
               [27.7, "B7.7"],
               [27.8, "B7.8"],
               [27.9, "B7.9"],
               [28.0, "B8.0"],
               [28.1, "B8.1"],
               [28.2, "B8.2"],
               [28.3, "B8.3"],
               [28.4, "B8.4"],
               [28.5, "B8.5"],
               [28.6, "B8.6"],
               [28.7, "B8.7"],
               [28.8, "B8.8"],
               [28.9, "B8.9"],
               [29.0, "B9.0"],
               [29.1, "B9.0"],
               [29.2, "B9.1"],
               [29.3, "B9.2"],
               [29.4, "B9.3"],
               [29.5, "B9.4"],
               [29.6, "B9.5"],
               [29.7, "B9.6"],
               [29.8, "B9.7"],
               [29.9, "B9.8"],
               [29.9, "B9.9"],
               [30.0, "C0.0"],
               [30.1, "C0.1"],
               [30.2, "C0.2"],
               [30.3, "C0.3"],
               [30.4, "C0.4"],
               [30.5, "C0.5"],
               [30.6, "C0.6"],
               [30.7, "C0.7"],
               [30.8, "C0.8"],
               [30.9, "C0.9"],
               [31.0, "C1.0"],
               [31.1, "C1.1"],
               [31.2, "C1.2"],
               [31.3, "C1.3"],
               [31.4, "C1.4"],
               [31.5, "C1.5"],
               [31.6, "C1.6"],
               [31.7, "C1.7"],
               [31.8, "C1.8"],
               [31.9, "C1.9"],
               [32.0, "C2.0"],
               [32.1, "C2.1"],
               [32.2, "C2.2"],
               [32.3, "C2.3"],
               [32.4, "C2.4"],
               [32.5, "C2.5"],
               [32.6, "C2.6"],
               [32.7, "C2.7"],
               [32.8, "C2.8"],
               [32.9, "C2.9"],
               [33.0, "C3.0"],
               [33.1, "C3.1"],
               [33.2, "C3.2"],
               [33.3, "C3.3"],
               [33.4, "C3.4"],
               [33.5, "C3.5"],
               [33.6, "C3.6"],
               [33.7, "C3.7"],
               [33.8, "C3.8"],
               [33.9, "C3.9"],
               [34.0, "C4.0"],
               [34.1, "C4.1"],
               [34.2, "C4.2"],
               [34.3, "C4.3"],
               [34.4, "C4.4"],
               [34.5, "C4.5"],
               [34.6, "C4.6"],
               [34.7, "C4.7"],
               [34.8, "C4.8"],
               [34.9, "C4.9"],
               [35.0, "C5.0"],
               [35.1, "C5.1"],
               [35.2, "C5.2"],
               [35.3, "C5.3"],
               [35.4, "C5.4"],
               [35.5, "C5.5"],
               [35.6, "C5.6"],
               [35.7, "C5.7"],
               [35.8, "C5.8"],
               [35.9, "C5.9"],
               [36.0, "C6.0"],
               [36.1, "C6.1"],
               [36.2, "C6.2"],
               [36.3, "C6.3"],
               [36.4, "C6.4"],
               [36.5, "C6.5"],
               [36.6, "C6.6"],
               [36.7, "C6.7"],
               [36.8, "C6.8"],
               [36.9, "C6.9"],
               [37.0, "C7.0"],
               [37.1, "C7.1"],
               [37.2, "C7.2"],
               [37.3, "C7.3"],
               [37.4, "C7.4"],
               [37.5, "C7.5"],
               [37.6, "C7.6"],
               [37.7, "C7.7"],
               [37.8, "C7.8"],
               [37.9, "C7.9"],
               [38.0, "C8.0"],
               [38.1, "C8.1"],
               [38.2, "C8.2"],
               [38.3, "C8.3"],
               [38.4, "C8.4"],
               [38.5, "C8.5"],
               [38.6, "C8.6"],
               [38.7, "C8.7"],
               [38.8, "C8.8"],
               [38.9, "C8.9"],
               [39.0, "C9.0"],
               [39.1, "C9.1"],
               [39.2, "C9.2"],
               [39.3, "C9.3"],
               [39.4, "C9.4"],
               [39.5, "C9.5"],
               [39.6, "C9.6"],
               [39.7, "C9.7"],
               [39.8, "C9.8"],
               [39.9, "C9.9"],
               [40.0, "D0.0"],
               [40.1, "D0.1"],
               [40.2, "D0.2"],
               [40.3, "D0.3"],
               [40.4, "D0.4"],
               [40.5, "D0.5"],
               [40.6, "D0.6"],
               [40.7, "D0.7"],
               [40.8, "D0.8"],
               [40.9, "D0.9"],
               [41.0, "D1.0"],
               [41.1, "D1.1"],
               [41.2, "D1.2"],
               [41.3, "D1.3"],
               [41.4, "D1.4"],
               [41.5, "D1.5"],
               [41.6, "D1.6"],
               [41.7, "D1.7"],
               [41.8, "D1.8"],
               [41.9, "D1.9"],
               [42.0, "D2.0"],
               [42.1, "D2.1"],
               [42.2, "D2.2"],
               [42.3, "D2.3"],
               [42.4, "D2.4"],
               [42.5, "D2.5"],
               [42.6, "D2.6"],
               [42.7, "D2.7"],
               [42.8, "D2.8"],
               [42.9, "D2.9"],
               [43.0, "D3.0"],
               [43.1, "D3.1"],
               [43.2, "D3.2"],
               [43.3, "D3.3"],
               [43.4, "D3.4"],
               [43.5, "D3.5"],
               [43.6, "D3.6"],
               [43.7, "D3.7"],
               [43.8, "D3.8"],
               [43.9, "D3.9"],
               [44.0, "D4.0"],
               [44.1, "D4.1"],
               [44.2, "D4.2"],
               [44.3, "D4.3"],
               [44.4, "D4.4"],
               [44.5, "D4.5"],
               [44.6, "D4.6"],
               [44.7, "D4.7"],
               [44.8, "D4.8"],
               [44.9, "D4.9"],
               [45.0, "D5.0"],
               [45.1, "D5.1"],
               [45.2, "D5.2"],
               [45.3, "D5.3"],
               [45.4, "D5.4"],
               [45.5, "D5.5"],
               [45.6, "D5.6"],
               [45.7, "D5.7"],
               [45.8, "D5.8"],
               [45.9, "D5.9"],
               [46.0, "D6.0"],
               [46.1, "D6.1"],
               [46.2, "D6.2"],
               [46.3, "D6.3"],
               [46.4, "D6.4"],
               [46.5, "D6.5"],
               [46.6, "D6.6"],
               [46.7, "D6.7"],
               [46.8, "D6.8"],
               [46.9, "D6.9"],
               [47.0, "D7.0"],
               [47.1, "D7.1"],
               [47.2, "D7.2"],
               [47.3, "D7.3"],
               [47.4, "D7.4"],
               [47.5, "D7.5"],
               [47.6, "D7.6"],
               [47.7, "D7.7"],
               [47.8, "D7.8"],
               [47.9, "D7.9"],
               [48.0, "D8.0"],
               [48.1, "D8.1"],
               [48.2, "D8.2"],
               [48.3, "D8.3"],
               [48.4, "D8.4"],
               [48.5, "D8.5"],
               [48.6, "D8.6"],
               [48.7, "D8.7"],
               [48.8, "D8.8"],
               [48.9, "D8.9"],
               [49.0, "D9.0"],
               [49.1, "D9.1"],
               [49.2, "D9.2"],
               [49.3, "D9.3"],
               [49.4, "D9.4"],
               [49.5, "D9.5"],
               [49.6, "D9.6"],
               [49.7, "D9.7"],
               [49.8, "D9.8"],
               [49.9, "D9.9"],
               [50.0, "E0.0"],
               [50.1, "E0.1"],
               [50.2, "E0.2"],
               [50.3, "E0.3"],
               [50.4, "E0.4"],
               [50.5, "E0.5"],
               [50.6, "E0.6"],
               [50.7, "E0.7"],
               [50.8, "E0.8"],
               [50.9, "E0.9"],
               [51.0, "E1.0"],
               [51.1, "E1.1"],
               [51.2, "E1.2"],
               [51.3, "E1.3"],
               [51.4, "E1.4"],
               [51.5, "E1.5"],
               [51.6, "E1.6"],
               [51.7, "E1.7"],
               [51.8, "E1.8"],
               [51.9, "E1.9"],
               [52.0, "E2.0"],
               [52.1, "E2.1"],
               [52.2, "E2.2"],
               [52.3, "E2.3"],
               [52.4, "E2.4"],
               [52.5, "E2.5"],
               [52.6, "E2.6"],
               [52.7, "E2.7"],
               [52.8, "E2.8"],
               [52.9, "E2.9"],
               [53.0, "E3.0"],
               [53.1, "E3.1"],
               [53.2, "E3.2"],
               [53.3, "E3.3"],
               [53.4, "E3.4"],
               [53.5, "E3.5"],
               [53.6, "E3.6"],
               [53.7, "E3.7"],
               [53.8, "E3.8"],
               [53.9, "E3.9"],
               [54.0, "E4.0"],
               [54.1, "E4.1"],
               [54.2, "E4.2"],
               [54.3, "E4.3"],
               [54.4, "E4.4"],
               [54.5, "E4.5"],
               [54.6, "E4.6"],
               [54.7, "E4.7"],
               [54.8, "E4.8"],
               [54.9, "E4.9"],
               [55.0, "E5.0"],
               [55.1, "E5.1"],
               [55.2, "E5.2"],
               [55.3, "E5.3"],
               [55.4, "E5.4"],
               [55.5, "E5.5"],
               [55.6, "E5.6"],
               [55.7, "E5.7"],
               [55.8, "E5.8"],
               [55.9, "E5.9"],
               [56.0, "E6.0"],
               [56.1, "E6.1"],
               [56.2, "E6.2"],
               [56.3, "E6.3"],
               [56.4, "E6.4"],
               [56.5, "E6.5"],
               [56.6, "E6.6"],
               [56.7, "E6.7"],
               [56.8, "E6.8"],
               [56.9, "E6.9"],
               [57.0, "E7.0"],
               [57.1, "E7.1"],
               [57.2, "E7.2"],
               [57.3, "E7.3"],
               [57.4, "E7.4"],
               [57.5, "E7.5"],
               [57.6, "E7.6"],
               [57.7, "E7.7"],
               [57.8, "E7.8"],
               [57.9, "E7.9"],
               [58.0, "E8.0"],
               [58.1, "E8.1"],
               [58.2, "E8.2"],
               [58.3, "E8.3"],
               [58.4, "E8.4"],
               [58.5, "E8.5"],
               [58.6, "E8.6"],
               [58.7, "E8.7"],
               [58.8, "E8.8"],
               [58.9, "E8.9"],
               [59.0, "E9.0"],
               [59.1, "E9.1"],
               [59.2, "E9.2"],
               [59.3, "E9.3"],
               [59.4, "E9.4"],
               [59.5, "E9.5"],
               [59.6, "E9.6"],
               [59.7, "E9.7"],
               [59.8, "E9.8"],
               [59.9, "E9.9"],
               [60.0, "F0.0"],
               [60.1, "F0.1"],
               [60.2, "F0.2"],
               [60.3, "F0.3"],
               [60.4, "F0.4"],
               [60.5, "F0.5"],
               [60.6, "F0.6"],
               [60.7, "F0.7"],
               [60.8, "F0.8"],
               [60.9, "F0.9"],
               [61.0, "F1.0"],
               [61.1, "F1.1"],
               [61.2, "F1.2"],
               [61.3, "F1.3"],
               [61.4, "F1.4"],
               [61.5, "F1.5"],
               [61.6, "F1.6"],
               [61.7, "F1.7"],
               [61.8, "F1.8"],
               [61.9, "F1.9"],
               [62.0, "F2.0"],
               [62.1, "F2.1"],
               [62.2, "F2.2"],
               [62.3, "F2.3"],
               [62.4, "F2.4"],
               [62.5, "F2.5"],
               [62.6, "F2.6"],
               [62.7, "F2.7"],
               [62.8, "F2.8"],
               [62.9, "F2.9"],
               [63.0, "F3.0"],
               [63.1, "F3.1"],
               [63.2, "F3.2"],
               [63.3, "F3.3"],
               [63.4, "F3.4"],
               [63.5, "F3.5"],
               [63.6, "F3.6"],
               [63.7, "F3.7"],
               [63.8, "F3.8"],
               [63.9, "F3.9"],
               [64.0, "F4.0"],
               [64.1, "F4.1"],
               [64.2, "F4.2"],
               [64.3, "F4.3"],
               [64.4, "F4.4"],
               [64.5, "F4.5"],
               [64.6, "F4.6"],
               [64.7, "F4.7"],
               [64.8, "F4.8"],
               [64.9, "F4.9"],
               [65.0, "F5.0"],
               [65.1, "F5.1"],
               [65.2, "F5.2"],
               [65.3, "F5.3"],
               [65.4, "F5.4"],
               [65.5, "F5.5"],
               [65.6, "F5.6"],
               [65.7, "F5.7"],
               [65.8, "F5.8"],
               [65.9, "F5.9"],
               [66.0, "F6.0"],
               [66.1, "F6.1"],
               [66.2, "F6.2"],
               [66.3, "F6.3"],
               [66.4, "F6.4"],
               [66.5, "F6.5"],
               [66.6, "F6.6"],
               [66.7, "F6.7"],
               [66.8, "F6.8"],
               [66.9, "F6.9"],
               [67.0, "F7.0"],
               [67.1, "F7.1"],
               [67.2, "F7.2"],
               [67.3, "F7.3"],
               [67.4, "F7.4"],
               [67.5, "F7.5"],
               [67.6, "F7.6"],
               [67.7, "F7.7"],
               [67.8, "F7.8"],
               [67.9, "F7.9"],
               [68.0, "F8.0"],
               [68.1, "F8.1"],
               [68.2, "F8.2"],
               [68.3, "F8.3"],
               [68.4, "F8.4"],
               [68.5, "F8.5"],
               [68.6, "F8.6"],
               [68.7, "F8.7"],
               [68.8, "F8.8"],
               [68.9, "F8.9"],
               [69.0, "F9.0"],
               [69.1, "F9.1"],
               [69.2, "F9.2"],
               [69.3, "F9.3"],
               [69.4, "F9.4"],
               [69.5, "F9.5"],
               [69.6, "F9.6"],
               [69.7, "F9.7"],
               [69.8, "F9.8"],
               [69.9, "F9.9"],
               [70.0, "G0.0"],
               [70.1, "G0.1"],
               [70.2, "G0.2"],
               [70.3, "G0.3"],
               [70.4, "G0.4"],
               [70.5, "G0.5"],
               [70.6, "G0.6"],
               [70.7, "G0.7"],
               [70.8, "G0.8"],
               [70.9, "G0.9"],
               [71.0, "G1.0"],
               [71.1, "G1.1"],
               [71.2, "G1.2"],
               [71.3, "G1.3"],
               [71.4, "G1.4"],
               [71.5, "G1.5"],
               [71.6, "G1.6"],
               [71.7, "G1.7"],
               [71.8, "G1.8"],
               [71.9, "G1.9"],
               [72.0, "G2.0"],
               [72.1, "G2.1"],
               [72.2, "G2.2"],
               [72.3, "G2.3"],
               [72.4, "G2.4"],
               [72.5, "G2.5"],
               [72.6, "G2.6"],
               [72.7, "G2.7"],
               [72.8, "G2.8"],
               [72.9, "G2.9"],
               [73.0, "G3.0"],
               [73.1, "G3.1"],
               [73.2, "G3.2"],
               [73.3, "G3.3"],
               [73.4, "G3.4"],
               [73.5, "G3.5"],
               [73.6, "G3.6"],
               [73.7, "G3.7"],
               [73.8, "G3.8"],
               [73.9, "G3.9"],
               [74.0, "G4.0"],
               [74.1, "G4.1"],
               [74.2, "G4.2"],
               [74.3, "G4.3"],
               [74.4, "G4.4"],
               [74.5, "G4.5"],
               [74.6, "G4.6"],
               [74.7, "G4.7"],
               [74.8, "G4.8"],
               [74.9, "G4.9"],
               [75.0, "G5.0"],
               [75.1, "G5.1"],
               [75.2, "G5.2"],
               [75.3, "G5.3"],
               [75.4, "G5.4"],
               [75.5, "G5.5"],
               [75.6, "G5.6"],
               [75.7, "G5.7"],
               [75.8, "G5.8"],
               [75.9, "G5.9"],
               [76.0, "G6.0"],
               [76.1, "G6.1"],
               [76.2, "G6.2"],
               [76.3, "G6.3"],
               [76.4, "G6.4"],
               [76.5, "G6.5"],
               [76.6, "G6.6"],
               [76.7, "G6.7"],
               [76.8, "G6.8"],
               [76.9, "G6.9"],
               [77.0, "G7.0"],
               [77.1, "G7.1"],
               [77.2, "G7.2"],
               [77.3, "G7.3"],
               [77.4, "G7.4"],
               [77.5, "G7.5"],
               [77.6, "G7.6"],
               [77.7, "G7.7"],
               [77.8, "G7.8"],
               [77.9, "G7.9"],
               [78.0, "G8.0"],
               [78.1, "G8.1"],
               [78.2, "G8.2"],
               [78.3, "G8.3"],
               [78.4, "G8.4"],
               [78.5, "G8.5"],
               [78.6, "G8.6"],
               [78.7, "G8.7"],
               [78.8, "G8.8"],
               [78.9, "G8.9"],
               [79.0, "G9.0"],
               [79.1, "G9.1"],
               [79.2, "G9.2"],
               [79.3, "G9.3"],
               [79.4, "G9.4"],
               [79.5, "G9.5"],
               [79.6, "G9.6"],
               [79.7, "G9.7"],
               [79.8, "G9.8"],
               [79.9, "G9.9"]
           ], result = PREC((fieldname2 * (fieldname4 + fieldname5/16 - 14) * 0.03528 - 143.5)/1.75, 1);
   
           for(var i in swScale)
               if(swScale[i][0] == result*1) return swScale[i][1];
       })()
       ```
   
 * Best regards.
 *  Thread Starter [mira404](https://wordpress.org/support/users/mira404/)
 * (@mira404)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15663429)
 * Thanks a lot! The formula is working that awesome, but where to add the array?
 * > If you want to use the array in the js file to return the result in the format“
   > A3.4”, you can implement the equation as follows:
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15663433)
 * Hello [@mira404](https://wordpress.org/support/users/mira404/)
 * You only should use the last version of the equation I sent you in the previous
   entry. It includes the array as part of the equation:
 *     ```
       (function () {
           var swScale = [
               [10.0, "A0.0"],
               [10.1, "A0.1"],
               [10.2, "A0.2"],
               [10.3, "A0.3"],
               [10.4, "A0.4"],
               [10.5, "A0.5"],
               [10.6, "A0.6"],
               [10.7, "A0.7"],
               [10.8, "A0.8"],
               [10.9, "A0.9"],
               [11.0, "A1.0"],
               [11.1, "A1.1"],
               [11.2, "A1.2"],
               [11.3, "A1.3"],
               [11.4, "A1.4"],
               [11.5, "A1.5"],
               [11.6, "A1.6"],
               [11.7, "A1.7"],
               [11.8, "A1.8"],
               [11.9, "A1.9"],
               [12.0, "A2.0"],
               [12.1, "A2.1"],
               [12.2, "A2.2"],
               [12.3, "A2.3"],
               [12.4, "A2.4"],
               [12.5, "A2.5"],
               [12.6, "A2.6"],
               [12.7, "A2.7"],
               [12.8, "A2.8"],
               [12.9, "A2.9"],
               [13.0, "A3.0"],
               [13.1, "A3.1"],
               [13.2, "A3.2"],
               [13.3, "A3.3"],
               [13.4, "A3.4"],
               [13.5, "A3.5"],
               [13.6, "A3.6"],
               [13.7, "A3.7"],
               [13.8, "A3.8"],
               [13.9, "A3.9"],
               [14.0, "A4.0"],
               [14.1, "A4.1"],
               [14.2, "A4.2"],
               [14.3, "A4.3"],
               [14.4, "A4.4"],
               [14.5, "A4.5"],
               [14.6, "A4.6"],
               [14.7, "A4.7"],
               [14.8, "A4.8"],
               [14.9, "A4.9"],
               [15.0, "A5.0"],
               [15.1, "A5.1"],
               [15.2, "A5.2"],
               [15.3, "A5.3"],
               [15.4, "A5.4"],
               [15.5, "A5.5"],
               [15.6, "A5.6"],
               [15.7, "A5.7"],
               [15.8, "A5.8"],
               [15.9, "A5.9"],
               [16.0, "A6.0"],
               [16.1, "A6.1"],
               [16.2, "A6.2"],
               [16.3, "A6.3"],
               [16.4, "A6.4"],
               [16.5, "A6.5"],
               [16.6, "A6.6"],
               [16.7, "A6.7"],
               [16.8, "A6.8"],
               [16.9, "A6.9"],
               [17.0, "A7.0"],
               [17.1, "A7.1"],
               [17.2, "A7.2"],
               [17.3, "A7.3"],
               [17.4, "A7.4"],
               [17.5, "A7.5"],
               [17.6, "A7.6"],
               [17.7, "A7.7"],
               [17.8, "A7.8"],
               [17.9, "A7.9"],
               [18.0, "A8.0"],
               [18.1, "A8.1"],
               [18.2, "A8.2"],
               [18.3, "A8.3"],
               [18.4, "A8.4"],
               [18.5, "A8.5"],
               [18.6, "A8.6"],
               [18.7, "A8.7"],
               [18.8, "A8.8"],
               [18.9, "A8.9"],
               [19.0, "A9.0"],
               [19.1, "A9.1"],
               [19.2, "A9.2"],
               [19.3, "A9.3"],
               [19.4, "A9.4"],
               [19.5, "A9.5"],
               [19.6, "A9.6"],
               [19.7, "A9.7"],
               [19.8, "A9.8"],
               [19.9, "A9.9"],
               [20.0, "B0.0"],
               [20.1, "B0.1"],
               [20.2, "B0.2"],
               [20.3, "B0.3"],
               [20.4, "B0.4"],
               [20.5, "B0.5"],
               [20.6, "B0.6"],
               [20.7, "B0.7"],
               [20.8, "B0.8"],
               [20.9, "B0.9"],
               [21.0, "B1.0"],
               [21.1, "B1.1"],
               [21.2, "B1.2"],
               [21.3, "B1.3"],
               [21.4, "B1.4"],
               [21.5, "B1.5"],
               [21.6, "B1.6"],
               [21.7, "B1.7"],
               [21.8, "B1.8"],
               [21.9, "B1.9"],
               [22.0, "B2.0"],
               [22.1, "B2.1"],
               [22.2, "B2.2"],
               [22.3, "B2.3"],
               [22.4, "B2.4"],
               [22.5, "B2.5"],
               [22.6, "B2.6"],
               [22.7, "B2.7"],
               [22.8, "B2.8"],
               [22.9, "B2.9"],
               [23.0, "B3.0"],
               [23.1, "B3.1"],
               [23.2, "B3.2"],
               [23.3, "B3.3"],
               [23.4, "B3.4"],
               [23.5, "B3.5"],
               [23.6, "B3.6"],
               [23.7, "B3.7"],
               [23.8, "B3.8"],
               [23.9, "B3.9"],
               [24.0, "B4.0"],
               [24.1, "B4.1"],
               [24.2, "B4.2"],
               [24.3, "B4.3"],
               [24.4, "B4.4"],
               [24.5, "B4.5"],
               [24.6, "B4.6"],
               [24.7, "B4.7"],
               [24.8, "B4.8"],
               [24.9, "B4.9"],
               [25.0, "B5.0"],
               [25.1, "B5.1"],
               [25.2, "B5.2"],
               [25.3, "B5.3"],
               [25.4, "B5.4"],
               [25.5, "B5.5"],
               [25.6, "B5.6"],
               [25.7, "B5.7"],
               [25.8, "B5.8"],
               [25.9, "B5.9"],
               [26.0, "B6.0"],
               [26.1, "B6.1"],
               [26.2, "B6.2"],
               [26.3, "B6.3"],
               [26.4, "B6.4"],
               [26.5, "B6.5"],
               [26.6, "B6.6"],
               [26.7, "B6.7"],
               [26.8, "B6.8"],
               [26.9, "B6.9"],
               [27.0, "B7.0"],
               [27.1, "B7.1"],
               [27.2, "B7.2"],
               [27.3, "B7.3"],
               [27.4, "B7.4"],
               [27.5, "B7.5"],
               [27.6, "B7.6"],
               [27.7, "B7.7"],
               [27.8, "B7.8"],
               [27.9, "B7.9"],
               [28.0, "B8.0"],
               [28.1, "B8.1"],
               [28.2, "B8.2"],
               [28.3, "B8.3"],
               [28.4, "B8.4"],
               [28.5, "B8.5"],
               [28.6, "B8.6"],
               [28.7, "B8.7"],
               [28.8, "B8.8"],
               [28.9, "B8.9"],
               [29.0, "B9.0"],
               [29.1, "B9.0"],
               [29.2, "B9.1"],
               [29.3, "B9.2"],
               [29.4, "B9.3"],
               [29.5, "B9.4"],
               [29.6, "B9.5"],
               [29.7, "B9.6"],
               [29.8, "B9.7"],
               [29.9, "B9.8"],
               [29.9, "B9.9"],
               [30.0, "C0.0"],
               [30.1, "C0.1"],
               [30.2, "C0.2"],
               [30.3, "C0.3"],
               [30.4, "C0.4"],
               [30.5, "C0.5"],
               [30.6, "C0.6"],
               [30.7, "C0.7"],
               [30.8, "C0.8"],
               [30.9, "C0.9"],
               [31.0, "C1.0"],
               [31.1, "C1.1"],
               [31.2, "C1.2"],
               [31.3, "C1.3"],
               [31.4, "C1.4"],
               [31.5, "C1.5"],
               [31.6, "C1.6"],
               [31.7, "C1.7"],
               [31.8, "C1.8"],
               [31.9, "C1.9"],
               [32.0, "C2.0"],
               [32.1, "C2.1"],
               [32.2, "C2.2"],
               [32.3, "C2.3"],
               [32.4, "C2.4"],
               [32.5, "C2.5"],
               [32.6, "C2.6"],
               [32.7, "C2.7"],
               [32.8, "C2.8"],
               [32.9, "C2.9"],
               [33.0, "C3.0"],
               [33.1, "C3.1"],
               [33.2, "C3.2"],
               [33.3, "C3.3"],
               [33.4, "C3.4"],
               [33.5, "C3.5"],
               [33.6, "C3.6"],
               [33.7, "C3.7"],
               [33.8, "C3.8"],
               [33.9, "C3.9"],
               [34.0, "C4.0"],
               [34.1, "C4.1"],
               [34.2, "C4.2"],
               [34.3, "C4.3"],
               [34.4, "C4.4"],
               [34.5, "C4.5"],
               [34.6, "C4.6"],
               [34.7, "C4.7"],
               [34.8, "C4.8"],
               [34.9, "C4.9"],
               [35.0, "C5.0"],
               [35.1, "C5.1"],
               [35.2, "C5.2"],
               [35.3, "C5.3"],
               [35.4, "C5.4"],
               [35.5, "C5.5"],
               [35.6, "C5.6"],
               [35.7, "C5.7"],
               [35.8, "C5.8"],
               [35.9, "C5.9"],
               [36.0, "C6.0"],
               [36.1, "C6.1"],
               [36.2, "C6.2"],
               [36.3, "C6.3"],
               [36.4, "C6.4"],
               [36.5, "C6.5"],
               [36.6, "C6.6"],
               [36.7, "C6.7"],
               [36.8, "C6.8"],
               [36.9, "C6.9"],
               [37.0, "C7.0"],
               [37.1, "C7.1"],
               [37.2, "C7.2"],
               [37.3, "C7.3"],
               [37.4, "C7.4"],
               [37.5, "C7.5"],
               [37.6, "C7.6"],
               [37.7, "C7.7"],
               [37.8, "C7.8"],
               [37.9, "C7.9"],
               [38.0, "C8.0"],
               [38.1, "C8.1"],
               [38.2, "C8.2"],
               [38.3, "C8.3"],
               [38.4, "C8.4"],
               [38.5, "C8.5"],
               [38.6, "C8.6"],
               [38.7, "C8.7"],
               [38.8, "C8.8"],
               [38.9, "C8.9"],
               [39.0, "C9.0"],
               [39.1, "C9.1"],
               [39.2, "C9.2"],
               [39.3, "C9.3"],
               [39.4, "C9.4"],
               [39.5, "C9.5"],
               [39.6, "C9.6"],
               [39.7, "C9.7"],
               [39.8, "C9.8"],
               [39.9, "C9.9"],
               [40.0, "D0.0"],
               [40.1, "D0.1"],
               [40.2, "D0.2"],
               [40.3, "D0.3"],
               [40.4, "D0.4"],
               [40.5, "D0.5"],
               [40.6, "D0.6"],
               [40.7, "D0.7"],
               [40.8, "D0.8"],
               [40.9, "D0.9"],
               [41.0, "D1.0"],
               [41.1, "D1.1"],
               [41.2, "D1.2"],
               [41.3, "D1.3"],
               [41.4, "D1.4"],
               [41.5, "D1.5"],
               [41.6, "D1.6"],
               [41.7, "D1.7"],
               [41.8, "D1.8"],
               [41.9, "D1.9"],
               [42.0, "D2.0"],
               [42.1, "D2.1"],
               [42.2, "D2.2"],
               [42.3, "D2.3"],
               [42.4, "D2.4"],
               [42.5, "D2.5"],
               [42.6, "D2.6"],
               [42.7, "D2.7"],
               [42.8, "D2.8"],
               [42.9, "D2.9"],
               [43.0, "D3.0"],
               [43.1, "D3.1"],
               [43.2, "D3.2"],
               [43.3, "D3.3"],
               [43.4, "D3.4"],
               [43.5, "D3.5"],
               [43.6, "D3.6"],
               [43.7, "D3.7"],
               [43.8, "D3.8"],
               [43.9, "D3.9"],
               [44.0, "D4.0"],
               [44.1, "D4.1"],
               [44.2, "D4.2"],
               [44.3, "D4.3"],
               [44.4, "D4.4"],
               [44.5, "D4.5"],
               [44.6, "D4.6"],
               [44.7, "D4.7"],
               [44.8, "D4.8"],
               [44.9, "D4.9"],
               [45.0, "D5.0"],
               [45.1, "D5.1"],
               [45.2, "D5.2"],
               [45.3, "D5.3"],
               [45.4, "D5.4"],
               [45.5, "D5.5"],
               [45.6, "D5.6"],
               [45.7, "D5.7"],
               [45.8, "D5.8"],
               [45.9, "D5.9"],
               [46.0, "D6.0"],
               [46.1, "D6.1"],
               [46.2, "D6.2"],
               [46.3, "D6.3"],
               [46.4, "D6.4"],
               [46.5, "D6.5"],
               [46.6, "D6.6"],
               [46.7, "D6.7"],
               [46.8, "D6.8"],
               [46.9, "D6.9"],
               [47.0, "D7.0"],
               [47.1, "D7.1"],
               [47.2, "D7.2"],
               [47.3, "D7.3"],
               [47.4, "D7.4"],
               [47.5, "D7.5"],
               [47.6, "D7.6"],
               [47.7, "D7.7"],
               [47.8, "D7.8"],
               [47.9, "D7.9"],
               [48.0, "D8.0"],
               [48.1, "D8.1"],
               [48.2, "D8.2"],
               [48.3, "D8.3"],
               [48.4, "D8.4"],
               [48.5, "D8.5"],
               [48.6, "D8.6"],
               [48.7, "D8.7"],
               [48.8, "D8.8"],
               [48.9, "D8.9"],
               [49.0, "D9.0"],
               [49.1, "D9.1"],
               [49.2, "D9.2"],
               [49.3, "D9.3"],
               [49.4, "D9.4"],
               [49.5, "D9.5"],
               [49.6, "D9.6"],
               [49.7, "D9.7"],
               [49.8, "D9.8"],
               [49.9, "D9.9"],
               [50.0, "E0.0"],
               [50.1, "E0.1"],
               [50.2, "E0.2"],
               [50.3, "E0.3"],
               [50.4, "E0.4"],
               [50.5, "E0.5"],
               [50.6, "E0.6"],
               [50.7, "E0.7"],
               [50.8, "E0.8"],
               [50.9, "E0.9"],
               [51.0, "E1.0"],
               [51.1, "E1.1"],
               [51.2, "E1.2"],
               [51.3, "E1.3"],
               [51.4, "E1.4"],
               [51.5, "E1.5"],
               [51.6, "E1.6"],
               [51.7, "E1.7"],
               [51.8, "E1.8"],
               [51.9, "E1.9"],
               [52.0, "E2.0"],
               [52.1, "E2.1"],
               [52.2, "E2.2"],
               [52.3, "E2.3"],
               [52.4, "E2.4"],
               [52.5, "E2.5"],
               [52.6, "E2.6"],
               [52.7, "E2.7"],
               [52.8, "E2.8"],
               [52.9, "E2.9"],
               [53.0, "E3.0"],
               [53.1, "E3.1"],
               [53.2, "E3.2"],
               [53.3, "E3.3"],
               [53.4, "E3.4"],
               [53.5, "E3.5"],
               [53.6, "E3.6"],
               [53.7, "E3.7"],
               [53.8, "E3.8"],
               [53.9, "E3.9"],
               [54.0, "E4.0"],
               [54.1, "E4.1"],
               [54.2, "E4.2"],
               [54.3, "E4.3"],
               [54.4, "E4.4"],
               [54.5, "E4.5"],
               [54.6, "E4.6"],
               [54.7, "E4.7"],
               [54.8, "E4.8"],
               [54.9, "E4.9"],
               [55.0, "E5.0"],
               [55.1, "E5.1"],
               [55.2, "E5.2"],
               [55.3, "E5.3"],
               [55.4, "E5.4"],
               [55.5, "E5.5"],
               [55.6, "E5.6"],
               [55.7, "E5.7"],
               [55.8, "E5.8"],
               [55.9, "E5.9"],
               [56.0, "E6.0"],
               [56.1, "E6.1"],
               [56.2, "E6.2"],
               [56.3, "E6.3"],
               [56.4, "E6.4"],
               [56.5, "E6.5"],
               [56.6, "E6.6"],
               [56.7, "E6.7"],
               [56.8, "E6.8"],
               [56.9, "E6.9"],
               [57.0, "E7.0"],
               [57.1, "E7.1"],
               [57.2, "E7.2"],
               [57.3, "E7.3"],
               [57.4, "E7.4"],
               [57.5, "E7.5"],
               [57.6, "E7.6"],
               [57.7, "E7.7"],
               [57.8, "E7.8"],
               [57.9, "E7.9"],
               [58.0, "E8.0"],
               [58.1, "E8.1"],
               [58.2, "E8.2"],
               [58.3, "E8.3"],
               [58.4, "E8.4"],
               [58.5, "E8.5"],
               [58.6, "E8.6"],
               [58.7, "E8.7"],
               [58.8, "E8.8"],
               [58.9, "E8.9"],
               [59.0, "E9.0"],
               [59.1, "E9.1"],
               [59.2, "E9.2"],
               [59.3, "E9.3"],
               [59.4, "E9.4"],
               [59.5, "E9.5"],
               [59.6, "E9.6"],
               [59.7, "E9.7"],
               [59.8, "E9.8"],
               [59.9, "E9.9"],
               [60.0, "F0.0"],
               [60.1, "F0.1"],
               [60.2, "F0.2"],
               [60.3, "F0.3"],
               [60.4, "F0.4"],
               [60.5, "F0.5"],
               [60.6, "F0.6"],
               [60.7, "F0.7"],
               [60.8, "F0.8"],
               [60.9, "F0.9"],
               [61.0, "F1.0"],
               [61.1, "F1.1"],
               [61.2, "F1.2"],
               [61.3, "F1.3"],
               [61.4, "F1.4"],
               [61.5, "F1.5"],
               [61.6, "F1.6"],
               [61.7, "F1.7"],
               [61.8, "F1.8"],
               [61.9, "F1.9"],
               [62.0, "F2.0"],
               [62.1, "F2.1"],
               [62.2, "F2.2"],
               [62.3, "F2.3"],
               [62.4, "F2.4"],
               [62.5, "F2.5"],
               [62.6, "F2.6"],
               [62.7, "F2.7"],
               [62.8, "F2.8"],
               [62.9, "F2.9"],
               [63.0, "F3.0"],
               [63.1, "F3.1"],
               [63.2, "F3.2"],
               [63.3, "F3.3"],
               [63.4, "F3.4"],
               [63.5, "F3.5"],
               [63.6, "F3.6"],
               [63.7, "F3.7"],
               [63.8, "F3.8"],
               [63.9, "F3.9"],
               [64.0, "F4.0"],
               [64.1, "F4.1"],
               [64.2, "F4.2"],
               [64.3, "F4.3"],
               [64.4, "F4.4"],
               [64.5, "F4.5"],
               [64.6, "F4.6"],
               [64.7, "F4.7"],
               [64.8, "F4.8"],
               [64.9, "F4.9"],
               [65.0, "F5.0"],
               [65.1, "F5.1"],
               [65.2, "F5.2"],
               [65.3, "F5.3"],
               [65.4, "F5.4"],
               [65.5, "F5.5"],
               [65.6, "F5.6"],
               [65.7, "F5.7"],
               [65.8, "F5.8"],
               [65.9, "F5.9"],
               [66.0, "F6.0"],
               [66.1, "F6.1"],
               [66.2, "F6.2"],
               [66.3, "F6.3"],
               [66.4, "F6.4"],
               [66.5, "F6.5"],
               [66.6, "F6.6"],
               [66.7, "F6.7"],
               [66.8, "F6.8"],
               [66.9, "F6.9"],
               [67.0, "F7.0"],
               [67.1, "F7.1"],
               [67.2, "F7.2"],
               [67.3, "F7.3"],
               [67.4, "F7.4"],
               [67.5, "F7.5"],
               [67.6, "F7.6"],
               [67.7, "F7.7"],
               [67.8, "F7.8"],
               [67.9, "F7.9"],
               [68.0, "F8.0"],
               [68.1, "F8.1"],
               [68.2, "F8.2"],
               [68.3, "F8.3"],
               [68.4, "F8.4"],
               [68.5, "F8.5"],
               [68.6, "F8.6"],
               [68.7, "F8.7"],
               [68.8, "F8.8"],
               [68.9, "F8.9"],
               [69.0, "F9.0"],
               [69.1, "F9.1"],
               [69.2, "F9.2"],
               [69.3, "F9.3"],
               [69.4, "F9.4"],
               [69.5, "F9.5"],
               [69.6, "F9.6"],
               [69.7, "F9.7"],
               [69.8, "F9.8"],
               [69.9, "F9.9"],
               [70.0, "G0.0"],
               [70.1, "G0.1"],
               [70.2, "G0.2"],
               [70.3, "G0.3"],
               [70.4, "G0.4"],
               [70.5, "G0.5"],
               [70.6, "G0.6"],
               [70.7, "G0.7"],
               [70.8, "G0.8"],
               [70.9, "G0.9"],
               [71.0, "G1.0"],
               [71.1, "G1.1"],
               [71.2, "G1.2"],
               [71.3, "G1.3"],
               [71.4, "G1.4"],
               [71.5, "G1.5"],
               [71.6, "G1.6"],
               [71.7, "G1.7"],
               [71.8, "G1.8"],
               [71.9, "G1.9"],
               [72.0, "G2.0"],
               [72.1, "G2.1"],
               [72.2, "G2.2"],
               [72.3, "G2.3"],
               [72.4, "G2.4"],
               [72.5, "G2.5"],
               [72.6, "G2.6"],
               [72.7, "G2.7"],
               [72.8, "G2.8"],
               [72.9, "G2.9"],
               [73.0, "G3.0"],
               [73.1, "G3.1"],
               [73.2, "G3.2"],
               [73.3, "G3.3"],
               [73.4, "G3.4"],
               [73.5, "G3.5"],
               [73.6, "G3.6"],
               [73.7, "G3.7"],
               [73.8, "G3.8"],
               [73.9, "G3.9"],
               [74.0, "G4.0"],
               [74.1, "G4.1"],
               [74.2, "G4.2"],
               [74.3, "G4.3"],
               [74.4, "G4.4"],
               [74.5, "G4.5"],
               [74.6, "G4.6"],
               [74.7, "G4.7"],
               [74.8, "G4.8"],
               [74.9, "G4.9"],
               [75.0, "G5.0"],
               [75.1, "G5.1"],
               [75.2, "G5.2"],
               [75.3, "G5.3"],
               [75.4, "G5.4"],
               [75.5, "G5.5"],
               [75.6, "G5.6"],
               [75.7, "G5.7"],
               [75.8, "G5.8"],
               [75.9, "G5.9"],
               [76.0, "G6.0"],
               [76.1, "G6.1"],
               [76.2, "G6.2"],
               [76.3, "G6.3"],
               [76.4, "G6.4"],
               [76.5, "G6.5"],
               [76.6, "G6.6"],
               [76.7, "G6.7"],
               [76.8, "G6.8"],
               [76.9, "G6.9"],
               [77.0, "G7.0"],
               [77.1, "G7.1"],
               [77.2, "G7.2"],
               [77.3, "G7.3"],
               [77.4, "G7.4"],
               [77.5, "G7.5"],
               [77.6, "G7.6"],
               [77.7, "G7.7"],
               [77.8, "G7.8"],
               [77.9, "G7.9"],
               [78.0, "G8.0"],
               [78.1, "G8.1"],
               [78.2, "G8.2"],
               [78.3, "G8.3"],
               [78.4, "G8.4"],
               [78.5, "G8.5"],
               [78.6, "G8.6"],
               [78.7, "G8.7"],
               [78.8, "G8.8"],
               [78.9, "G8.9"],
               [79.0, "G9.0"],
               [79.1, "G9.1"],
               [79.2, "G9.2"],
               [79.3, "G9.3"],
               [79.4, "G9.4"],
               [79.5, "G9.5"],
               [79.6, "G9.6"],
               [79.7, "G9.7"],
               [79.8, "G9.8"],
               [79.9, "G9.9"]
           ], result = PREC((fieldname2 * (fieldname4 + fieldname5/16 - 14) * 0.03528 - 143.5)/1.75, 1);
   
           for(var i in swScale)
               if(swScale[i][0] == result*1) return swScale[i][1];
       })()
       ```
   
 * Best regards.
 *  Thread Starter [mira404](https://wordpress.org/support/users/mira404/)
 * (@mira404)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15663866)
 * Everything is working.
 * If anyone provides the wrong value I want to show **undefined** like this: [https://prnt.sc/OJ9wvzskkpOb](https://prnt.sc/OJ9wvzskkpOb)
 * How to do this?
 * How to hide form name on post?
 * Can I add Prefix and Suffix Label? Like this: [https://prnt.sc/KxmhkIsYRBMj](https://prnt.sc/KxmhkIsYRBMj)
 * Also, Can I add two columns side by side? Check this: [https://prnt.sc/WkZkNmvtnmDt](https://prnt.sc/WkZkNmvtnmDt)
    -  This reply was modified 4 years ago by [mira404](https://wordpress.org/support/users/mira404/).
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15663941)
 * Hello [@mira404](https://wordpress.org/support/users/mira404/)
 * Q: If anyone provides the wrong value I want to show undefined like this…
 * A: Yes, of course. At the end of the equation, you should include the instruction:
 * `return 'Undefined';`
 * If any option in the array satisfies the calculation, the equation returns it.
   Otherwise, it will return the Undefined text. Please, look at the definitive 
   equation below:
 *     ```
       (function () {
           var swScale = [
               [10.0, "A0.0"],
               [10.1, "A0.1"],
               [10.2, "A0.2"],
               [10.3, "A0.3"],
               [10.4, "A0.4"],
               [10.5, "A0.5"],
               [10.6, "A0.6"],
               [10.7, "A0.7"],
               [10.8, "A0.8"],
               [10.9, "A0.9"],
               [11.0, "A1.0"],
               [11.1, "A1.1"],
               [11.2, "A1.2"],
               [11.3, "A1.3"],
               [11.4, "A1.4"],
               [11.5, "A1.5"],
               [11.6, "A1.6"],
               [11.7, "A1.7"],
               [11.8, "A1.8"],
               [11.9, "A1.9"],
               [12.0, "A2.0"],
               [12.1, "A2.1"],
               [12.2, "A2.2"],
               [12.3, "A2.3"],
               [12.4, "A2.4"],
               [12.5, "A2.5"],
               [12.6, "A2.6"],
               [12.7, "A2.7"],
               [12.8, "A2.8"],
               [12.9, "A2.9"],
               [13.0, "A3.0"],
               [13.1, "A3.1"],
               [13.2, "A3.2"],
               [13.3, "A3.3"],
               [13.4, "A3.4"],
               [13.5, "A3.5"],
               [13.6, "A3.6"],
               [13.7, "A3.7"],
               [13.8, "A3.8"],
               [13.9, "A3.9"],
               [14.0, "A4.0"],
               [14.1, "A4.1"],
               [14.2, "A4.2"],
               [14.3, "A4.3"],
               [14.4, "A4.4"],
               [14.5, "A4.5"],
               [14.6, "A4.6"],
               [14.7, "A4.7"],
               [14.8, "A4.8"],
               [14.9, "A4.9"],
               [15.0, "A5.0"],
               [15.1, "A5.1"],
               [15.2, "A5.2"],
               [15.3, "A5.3"],
               [15.4, "A5.4"],
               [15.5, "A5.5"],
               [15.6, "A5.6"],
               [15.7, "A5.7"],
               [15.8, "A5.8"],
               [15.9, "A5.9"],
               [16.0, "A6.0"],
               [16.1, "A6.1"],
               [16.2, "A6.2"],
               [16.3, "A6.3"],
               [16.4, "A6.4"],
               [16.5, "A6.5"],
               [16.6, "A6.6"],
               [16.7, "A6.7"],
               [16.8, "A6.8"],
               [16.9, "A6.9"],
               [17.0, "A7.0"],
               [17.1, "A7.1"],
               [17.2, "A7.2"],
               [17.3, "A7.3"],
               [17.4, "A7.4"],
               [17.5, "A7.5"],
               [17.6, "A7.6"],
               [17.7, "A7.7"],
               [17.8, "A7.8"],
               [17.9, "A7.9"],
               [18.0, "A8.0"],
               [18.1, "A8.1"],
               [18.2, "A8.2"],
               [18.3, "A8.3"],
               [18.4, "A8.4"],
               [18.5, "A8.5"],
               [18.6, "A8.6"],
               [18.7, "A8.7"],
               [18.8, "A8.8"],
               [18.9, "A8.9"],
               [19.0, "A9.0"],
               [19.1, "A9.1"],
               [19.2, "A9.2"],
               [19.3, "A9.3"],
               [19.4, "A9.4"],
               [19.5, "A9.5"],
               [19.6, "A9.6"],
               [19.7, "A9.7"],
               [19.8, "A9.8"],
               [19.9, "A9.9"],
               [20.0, "B0.0"],
               [20.1, "B0.1"],
               [20.2, "B0.2"],
               [20.3, "B0.3"],
               [20.4, "B0.4"],
               [20.5, "B0.5"],
               [20.6, "B0.6"],
               [20.7, "B0.7"],
               [20.8, "B0.8"],
               [20.9, "B0.9"],
               [21.0, "B1.0"],
               [21.1, "B1.1"],
               [21.2, "B1.2"],
               [21.3, "B1.3"],
               [21.4, "B1.4"],
               [21.5, "B1.5"],
               [21.6, "B1.6"],
               [21.7, "B1.7"],
               [21.8, "B1.8"],
               [21.9, "B1.9"],
               [22.0, "B2.0"],
               [22.1, "B2.1"],
               [22.2, "B2.2"],
               [22.3, "B2.3"],
               [22.4, "B2.4"],
               [22.5, "B2.5"],
               [22.6, "B2.6"],
               [22.7, "B2.7"],
               [22.8, "B2.8"],
               [22.9, "B2.9"],
               [23.0, "B3.0"],
               [23.1, "B3.1"],
               [23.2, "B3.2"],
               [23.3, "B3.3"],
               [23.4, "B3.4"],
               [23.5, "B3.5"],
               [23.6, "B3.6"],
               [23.7, "B3.7"],
               [23.8, "B3.8"],
               [23.9, "B3.9"],
               [24.0, "B4.0"],
               [24.1, "B4.1"],
               [24.2, "B4.2"],
               [24.3, "B4.3"],
               [24.4, "B4.4"],
               [24.5, "B4.5"],
               [24.6, "B4.6"],
               [24.7, "B4.7"],
               [24.8, "B4.8"],
               [24.9, "B4.9"],
               [25.0, "B5.0"],
               [25.1, "B5.1"],
               [25.2, "B5.2"],
               [25.3, "B5.3"],
               [25.4, "B5.4"],
               [25.5, "B5.5"],
               [25.6, "B5.6"],
               [25.7, "B5.7"],
               [25.8, "B5.8"],
               [25.9, "B5.9"],
               [26.0, "B6.0"],
               [26.1, "B6.1"],
               [26.2, "B6.2"],
               [26.3, "B6.3"],
               [26.4, "B6.4"],
               [26.5, "B6.5"],
               [26.6, "B6.6"],
               [26.7, "B6.7"],
               [26.8, "B6.8"],
               [26.9, "B6.9"],
               [27.0, "B7.0"],
               [27.1, "B7.1"],
               [27.2, "B7.2"],
               [27.3, "B7.3"],
               [27.4, "B7.4"],
               [27.5, "B7.5"],
               [27.6, "B7.6"],
               [27.7, "B7.7"],
               [27.8, "B7.8"],
               [27.9, "B7.9"],
               [28.0, "B8.0"],
               [28.1, "B8.1"],
               [28.2, "B8.2"],
               [28.3, "B8.3"],
               [28.4, "B8.4"],
               [28.5, "B8.5"],
               [28.6, "B8.6"],
               [28.7, "B8.7"],
               [28.8, "B8.8"],
               [28.9, "B8.9"],
               [29.0, "B9.0"],
               [29.1, "B9.0"],
               [29.2, "B9.1"],
               [29.3, "B9.2"],
               [29.4, "B9.3"],
               [29.5, "B9.4"],
               [29.6, "B9.5"],
               [29.7, "B9.6"],
               [29.8, "B9.7"],
               [29.9, "B9.8"],
               [29.9, "B9.9"],
               [30.0, "C0.0"],
               [30.1, "C0.1"],
               [30.2, "C0.2"],
               [30.3, "C0.3"],
               [30.4, "C0.4"],
               [30.5, "C0.5"],
               [30.6, "C0.6"],
               [30.7, "C0.7"],
               [30.8, "C0.8"],
               [30.9, "C0.9"],
               [31.0, "C1.0"],
               [31.1, "C1.1"],
               [31.2, "C1.2"],
               [31.3, "C1.3"],
               [31.4, "C1.4"],
               [31.5, "C1.5"],
               [31.6, "C1.6"],
               [31.7, "C1.7"],
               [31.8, "C1.8"],
               [31.9, "C1.9"],
               [32.0, "C2.0"],
               [32.1, "C2.1"],
               [32.2, "C2.2"],
               [32.3, "C2.3"],
               [32.4, "C2.4"],
               [32.5, "C2.5"],
               [32.6, "C2.6"],
               [32.7, "C2.7"],
               [32.8, "C2.8"],
               [32.9, "C2.9"],
               [33.0, "C3.0"],
               [33.1, "C3.1"],
               [33.2, "C3.2"],
               [33.3, "C3.3"],
               [33.4, "C3.4"],
               [33.5, "C3.5"],
               [33.6, "C3.6"],
               [33.7, "C3.7"],
               [33.8, "C3.8"],
               [33.9, "C3.9"],
               [34.0, "C4.0"],
               [34.1, "C4.1"],
               [34.2, "C4.2"],
               [34.3, "C4.3"],
               [34.4, "C4.4"],
               [34.5, "C4.5"],
               [34.6, "C4.6"],
               [34.7, "C4.7"],
               [34.8, "C4.8"],
               [34.9, "C4.9"],
               [35.0, "C5.0"],
               [35.1, "C5.1"],
               [35.2, "C5.2"],
               [35.3, "C5.3"],
               [35.4, "C5.4"],
               [35.5, "C5.5"],
               [35.6, "C5.6"],
               [35.7, "C5.7"],
               [35.8, "C5.8"],
               [35.9, "C5.9"],
               [36.0, "C6.0"],
               [36.1, "C6.1"],
               [36.2, "C6.2"],
               [36.3, "C6.3"],
               [36.4, "C6.4"],
               [36.5, "C6.5"],
               [36.6, "C6.6"],
               [36.7, "C6.7"],
               [36.8, "C6.8"],
               [36.9, "C6.9"],
               [37.0, "C7.0"],
               [37.1, "C7.1"],
               [37.2, "C7.2"],
               [37.3, "C7.3"],
               [37.4, "C7.4"],
               [37.5, "C7.5"],
               [37.6, "C7.6"],
               [37.7, "C7.7"],
               [37.8, "C7.8"],
               [37.9, "C7.9"],
               [38.0, "C8.0"],
               [38.1, "C8.1"],
               [38.2, "C8.2"],
               [38.3, "C8.3"],
               [38.4, "C8.4"],
               [38.5, "C8.5"],
               [38.6, "C8.6"],
               [38.7, "C8.7"],
               [38.8, "C8.8"],
               [38.9, "C8.9"],
               [39.0, "C9.0"],
               [39.1, "C9.1"],
               [39.2, "C9.2"],
               [39.3, "C9.3"],
               [39.4, "C9.4"],
               [39.5, "C9.5"],
               [39.6, "C9.6"],
               [39.7, "C9.7"],
               [39.8, "C9.8"],
               [39.9, "C9.9"],
               [40.0, "D0.0"],
               [40.1, "D0.1"],
               [40.2, "D0.2"],
               [40.3, "D0.3"],
               [40.4, "D0.4"],
               [40.5, "D0.5"],
               [40.6, "D0.6"],
               [40.7, "D0.7"],
               [40.8, "D0.8"],
               [40.9, "D0.9"],
               [41.0, "D1.0"],
               [41.1, "D1.1"],
               [41.2, "D1.2"],
               [41.3, "D1.3"],
               [41.4, "D1.4"],
               [41.5, "D1.5"],
               [41.6, "D1.6"],
               [41.7, "D1.7"],
               [41.8, "D1.8"],
               [41.9, "D1.9"],
               [42.0, "D2.0"],
               [42.1, "D2.1"],
               [42.2, "D2.2"],
               [42.3, "D2.3"],
               [42.4, "D2.4"],
               [42.5, "D2.5"],
               [42.6, "D2.6"],
               [42.7, "D2.7"],
               [42.8, "D2.8"],
               [42.9, "D2.9"],
               [43.0, "D3.0"],
               [43.1, "D3.1"],
               [43.2, "D3.2"],
               [43.3, "D3.3"],
               [43.4, "D3.4"],
               [43.5, "D3.5"],
               [43.6, "D3.6"],
               [43.7, "D3.7"],
               [43.8, "D3.8"],
               [43.9, "D3.9"],
               [44.0, "D4.0"],
               [44.1, "D4.1"],
               [44.2, "D4.2"],
               [44.3, "D4.3"],
               [44.4, "D4.4"],
               [44.5, "D4.5"],
               [44.6, "D4.6"],
               [44.7, "D4.7"],
               [44.8, "D4.8"],
               [44.9, "D4.9"],
               [45.0, "D5.0"],
               [45.1, "D5.1"],
               [45.2, "D5.2"],
               [45.3, "D5.3"],
               [45.4, "D5.4"],
               [45.5, "D5.5"],
               [45.6, "D5.6"],
               [45.7, "D5.7"],
               [45.8, "D5.8"],
               [45.9, "D5.9"],
               [46.0, "D6.0"],
               [46.1, "D6.1"],
               [46.2, "D6.2"],
               [46.3, "D6.3"],
               [46.4, "D6.4"],
               [46.5, "D6.5"],
               [46.6, "D6.6"],
               [46.7, "D6.7"],
               [46.8, "D6.8"],
               [46.9, "D6.9"],
               [47.0, "D7.0"],
               [47.1, "D7.1"],
               [47.2, "D7.2"],
               [47.3, "D7.3"],
               [47.4, "D7.4"],
               [47.5, "D7.5"],
               [47.6, "D7.6"],
               [47.7, "D7.7"],
               [47.8, "D7.8"],
               [47.9, "D7.9"],
               [48.0, "D8.0"],
               [48.1, "D8.1"],
               [48.2, "D8.2"],
               [48.3, "D8.3"],
               [48.4, "D8.4"],
               [48.5, "D8.5"],
               [48.6, "D8.6"],
               [48.7, "D8.7"],
               [48.8, "D8.8"],
               [48.9, "D8.9"],
               [49.0, "D9.0"],
               [49.1, "D9.1"],
               [49.2, "D9.2"],
               [49.3, "D9.3"],
               [49.4, "D9.4"],
               [49.5, "D9.5"],
               [49.6, "D9.6"],
               [49.7, "D9.7"],
               [49.8, "D9.8"],
               [49.9, "D9.9"],
               [50.0, "E0.0"],
               [50.1, "E0.1"],
               [50.2, "E0.2"],
               [50.3, "E0.3"],
               [50.4, "E0.4"],
               [50.5, "E0.5"],
               [50.6, "E0.6"],
               [50.7, "E0.7"],
               [50.8, "E0.8"],
               [50.9, "E0.9"],
               [51.0, "E1.0"],
               [51.1, "E1.1"],
               [51.2, "E1.2"],
               [51.3, "E1.3"],
               [51.4, "E1.4"],
               [51.5, "E1.5"],
               [51.6, "E1.6"],
               [51.7, "E1.7"],
               [51.8, "E1.8"],
               [51.9, "E1.9"],
               [52.0, "E2.0"],
               [52.1, "E2.1"],
               [52.2, "E2.2"],
               [52.3, "E2.3"],
               [52.4, "E2.4"],
               [52.5, "E2.5"],
               [52.6, "E2.6"],
               [52.7, "E2.7"],
               [52.8, "E2.8"],
               [52.9, "E2.9"],
               [53.0, "E3.0"],
               [53.1, "E3.1"],
               [53.2, "E3.2"],
               [53.3, "E3.3"],
               [53.4, "E3.4"],
               [53.5, "E3.5"],
               [53.6, "E3.6"],
               [53.7, "E3.7"],
               [53.8, "E3.8"],
               [53.9, "E3.9"],
               [54.0, "E4.0"],
               [54.1, "E4.1"],
               [54.2, "E4.2"],
               [54.3, "E4.3"],
               [54.4, "E4.4"],
               [54.5, "E4.5"],
               [54.6, "E4.6"],
               [54.7, "E4.7"],
               [54.8, "E4.8"],
               [54.9, "E4.9"],
               [55.0, "E5.0"],
               [55.1, "E5.1"],
               [55.2, "E5.2"],
               [55.3, "E5.3"],
               [55.4, "E5.4"],
               [55.5, "E5.5"],
               [55.6, "E5.6"],
               [55.7, "E5.7"],
               [55.8, "E5.8"],
               [55.9, "E5.9"],
               [56.0, "E6.0"],
               [56.1, "E6.1"],
               [56.2, "E6.2"],
               [56.3, "E6.3"],
               [56.4, "E6.4"],
               [56.5, "E6.5"],
               [56.6, "E6.6"],
               [56.7, "E6.7"],
               [56.8, "E6.8"],
               [56.9, "E6.9"],
               [57.0, "E7.0"],
               [57.1, "E7.1"],
               [57.2, "E7.2"],
               [57.3, "E7.3"],
               [57.4, "E7.4"],
               [57.5, "E7.5"],
               [57.6, "E7.6"],
               [57.7, "E7.7"],
               [57.8, "E7.8"],
               [57.9, "E7.9"],
               [58.0, "E8.0"],
               [58.1, "E8.1"],
               [58.2, "E8.2"],
               [58.3, "E8.3"],
               [58.4, "E8.4"],
               [58.5, "E8.5"],
               [58.6, "E8.6"],
               [58.7, "E8.7"],
               [58.8, "E8.8"],
               [58.9, "E8.9"],
               [59.0, "E9.0"],
               [59.1, "E9.1"],
               [59.2, "E9.2"],
               [59.3, "E9.3"],
               [59.4, "E9.4"],
               [59.5, "E9.5"],
               [59.6, "E9.6"],
               [59.7, "E9.7"],
               [59.8, "E9.8"],
               [59.9, "E9.9"],
               [60.0, "F0.0"],
               [60.1, "F0.1"],
               [60.2, "F0.2"],
               [60.3, "F0.3"],
               [60.4, "F0.4"],
               [60.5, "F0.5"],
               [60.6, "F0.6"],
               [60.7, "F0.7"],
               [60.8, "F0.8"],
               [60.9, "F0.9"],
               [61.0, "F1.0"],
               [61.1, "F1.1"],
               [61.2, "F1.2"],
               [61.3, "F1.3"],
               [61.4, "F1.4"],
               [61.5, "F1.5"],
               [61.6, "F1.6"],
               [61.7, "F1.7"],
               [61.8, "F1.8"],
               [61.9, "F1.9"],
               [62.0, "F2.0"],
               [62.1, "F2.1"],
               [62.2, "F2.2"],
               [62.3, "F2.3"],
               [62.4, "F2.4"],
               [62.5, "F2.5"],
               [62.6, "F2.6"],
               [62.7, "F2.7"],
               [62.8, "F2.8"],
               [62.9, "F2.9"],
               [63.0, "F3.0"],
               [63.1, "F3.1"],
               [63.2, "F3.2"],
               [63.3, "F3.3"],
               [63.4, "F3.4"],
               [63.5, "F3.5"],
               [63.6, "F3.6"],
               [63.7, "F3.7"],
               [63.8, "F3.8"],
               [63.9, "F3.9"],
               [64.0, "F4.0"],
               [64.1, "F4.1"],
               [64.2, "F4.2"],
               [64.3, "F4.3"],
               [64.4, "F4.4"],
               [64.5, "F4.5"],
               [64.6, "F4.6"],
               [64.7, "F4.7"],
               [64.8, "F4.8"],
               [64.9, "F4.9"],
               [65.0, "F5.0"],
               [65.1, "F5.1"],
               [65.2, "F5.2"],
               [65.3, "F5.3"],
               [65.4, "F5.4"],
               [65.5, "F5.5"],
               [65.6, "F5.6"],
               [65.7, "F5.7"],
               [65.8, "F5.8"],
               [65.9, "F5.9"],
               [66.0, "F6.0"],
               [66.1, "F6.1"],
               [66.2, "F6.2"],
               [66.3, "F6.3"],
               [66.4, "F6.4"],
               [66.5, "F6.5"],
               [66.6, "F6.6"],
               [66.7, "F6.7"],
               [66.8, "F6.8"],
               [66.9, "F6.9"],
               [67.0, "F7.0"],
               [67.1, "F7.1"],
               [67.2, "F7.2"],
               [67.3, "F7.3"],
               [67.4, "F7.4"],
               [67.5, "F7.5"],
               [67.6, "F7.6"],
               [67.7, "F7.7"],
               [67.8, "F7.8"],
               [67.9, "F7.9"],
               [68.0, "F8.0"],
               [68.1, "F8.1"],
               [68.2, "F8.2"],
               [68.3, "F8.3"],
               [68.4, "F8.4"],
               [68.5, "F8.5"],
               [68.6, "F8.6"],
               [68.7, "F8.7"],
               [68.8, "F8.8"],
               [68.9, "F8.9"],
               [69.0, "F9.0"],
               [69.1, "F9.1"],
               [69.2, "F9.2"],
               [69.3, "F9.3"],
               [69.4, "F9.4"],
               [69.5, "F9.5"],
               [69.6, "F9.6"],
               [69.7, "F9.7"],
               [69.8, "F9.8"],
               [69.9, "F9.9"],
               [70.0, "G0.0"],
               [70.1, "G0.1"],
               [70.2, "G0.2"],
               [70.3, "G0.3"],
               [70.4, "G0.4"],
               [70.5, "G0.5"],
               [70.6, "G0.6"],
               [70.7, "G0.7"],
               [70.8, "G0.8"],
               [70.9, "G0.9"],
               [71.0, "G1.0"],
               [71.1, "G1.1"],
               [71.2, "G1.2"],
               [71.3, "G1.3"],
               [71.4, "G1.4"],
               [71.5, "G1.5"],
               [71.6, "G1.6"],
               [71.7, "G1.7"],
               [71.8, "G1.8"],
               [71.9, "G1.9"],
               [72.0, "G2.0"],
               [72.1, "G2.1"],
               [72.2, "G2.2"],
               [72.3, "G2.3"],
               [72.4, "G2.4"],
               [72.5, "G2.5"],
               [72.6, "G2.6"],
               [72.7, "G2.7"],
               [72.8, "G2.8"],
               [72.9, "G2.9"],
               [73.0, "G3.0"],
               [73.1, "G3.1"],
               [73.2, "G3.2"],
               [73.3, "G3.3"],
               [73.4, "G3.4"],
               [73.5, "G3.5"],
               [73.6, "G3.6"],
               [73.7, "G3.7"],
               [73.8, "G3.8"],
               [73.9, "G3.9"],
               [74.0, "G4.0"],
               [74.1, "G4.1"],
               [74.2, "G4.2"],
               [74.3, "G4.3"],
               [74.4, "G4.4"],
               [74.5, "G4.5"],
               [74.6, "G4.6"],
               [74.7, "G4.7"],
               [74.8, "G4.8"],
               [74.9, "G4.9"],
               [75.0, "G5.0"],
               [75.1, "G5.1"],
               [75.2, "G5.2"],
               [75.3, "G5.3"],
               [75.4, "G5.4"],
               [75.5, "G5.5"],
               [75.6, "G5.6"],
               [75.7, "G5.7"],
               [75.8, "G5.8"],
               [75.9, "G5.9"],
               [76.0, "G6.0"],
               [76.1, "G6.1"],
               [76.2, "G6.2"],
               [76.3, "G6.3"],
               [76.4, "G6.4"],
               [76.5, "G6.5"],
               [76.6, "G6.6"],
               [76.7, "G6.7"],
               [76.8, "G6.8"],
               [76.9, "G6.9"],
               [77.0, "G7.0"],
               [77.1, "G7.1"],
               [77.2, "G7.2"],
               [77.3, "G7.3"],
               [77.4, "G7.4"],
               [77.5, "G7.5"],
               [77.6, "G7.6"],
               [77.7, "G7.7"],
               [77.8, "G7.8"],
               [77.9, "G7.9"],
               [78.0, "G8.0"],
               [78.1, "G8.1"],
               [78.2, "G8.2"],
               [78.3, "G8.3"],
               [78.4, "G8.4"],
               [78.5, "G8.5"],
               [78.6, "G8.6"],
               [78.7, "G8.7"],
               [78.8, "G8.8"],
               [78.9, "G8.9"],
               [79.0, "G9.0"],
               [79.1, "G9.1"],
               [79.2, "G9.2"],
               [79.3, "G9.3"],
               [79.4, "G9.4"],
               [79.5, "G9.5"],
               [79.6, "G9.6"],
               [79.7, "G9.7"],
               [79.8, "G9.8"],
               [79.9, "G9.9"]
           ], result = PREC((fieldname2 * (fieldname4 + fieldname5/16 - 14) * 0.03528 - 143.5)/1.75, 1);
   
           for(var i in swScale)
               if(swScale[i][0] == result*1) return swScale[i][1];
       })()
       Expand
       Best regards.
   
       Thread Startermira404 (@mira404)
       2 hours, 23 minutes ago
       Thanks a lot! The formula is working that awesome, but where to add the array?
   
       If you want to use the array in the js file to return the result in the format “A3.4”, you can implement the equation as follows:
   
       Plugin Authorcodepeople (@codepeople)
       2 hours, 20 minutes ago
       Hello @mira404
   
       You only should use the last version of the equation I sent you in the previous entry. It includes the array as part of the equation:
   
       (function () {
           var swScale = [
               [10.0, "A0.0"],
               [10.1, "A0.1"],
               [10.2, "A0.2"],
               [10.3, "A0.3"],
               [10.4, "A0.4"],
               [10.5, "A0.5"],
               [10.6, "A0.6"],
               [10.7, "A0.7"],
               [10.8, "A0.8"],
               [10.9, "A0.9"],
               [11.0, "A1.0"],
               [11.1, "A1.1"],
               [11.2, "A1.2"],
               [11.3, "A1.3"],
               [11.4, "A1.4"],
               [11.5, "A1.5"],
               [11.6, "A1.6"],
               [11.7, "A1.7"],
               [11.8, "A1.8"],
               [11.9, "A1.9"],
               [12.0, "A2.0"],
               [12.1, "A2.1"],
               [12.2, "A2.2"],
               [12.3, "A2.3"],
               [12.4, "A2.4"],
               [12.5, "A2.5"],
               [12.6, "A2.6"],
               [12.7, "A2.7"],
               [12.8, "A2.8"],
               [12.9, "A2.9"],
               [13.0, "A3.0"],
               [13.1, "A3.1"],
               [13.2, "A3.2"],
               [13.3, "A3.3"],
               [13.4, "A3.4"],
               [13.5, "A3.5"],
               [13.6, "A3.6"],
               [13.7, "A3.7"],
               [13.8, "A3.8"],
               [13.9, "A3.9"],
               [14.0, "A4.0"],
               [14.1, "A4.1"],
               [14.2, "A4.2"],
               [14.3, "A4.3"],
               [14.4, "A4.4"],
               [14.5, "A4.5"],
               [14.6, "A4.6"],
               [14.7, "A4.7"],
               [14.8, "A4.8"],
               [14.9, "A4.9"],
               [15.0, "A5.0"],
               [15.1, "A5.1"],
               [15.2, "A5.2"],
               [15.3, "A5.3"],
               [15.4, "A5.4"],
               [15.5, "A5.5"],
               [15.6, "A5.6"],
               [15.7, "A5.7"],
               [15.8, "A5.8"],
               [15.9, "A5.9"],
               [16.0, "A6.0"],
               [16.1, "A6.1"],
               [16.2, "A6.2"],
               [16.3, "A6.3"],
               [16.4, "A6.4"],
               [16.5, "A6.5"],
               [16.6, "A6.6"],
               [16.7, "A6.7"],
               [16.8, "A6.8"],
               [16.9, "A6.9"],
               [17.0, "A7.0"],
               [17.1, "A7.1"],
               [17.2, "A7.2"],
               [17.3, "A7.3"],
               [17.4, "A7.4"],
               [17.5, "A7.5"],
               [17.6, "A7.6"],
               [17.7, "A7.7"],
               [17.8, "A7.8"],
               [17.9, "A7.9"],
               [18.0, "A8.0"],
               [18.1, "A8.1"],
               [18.2, "A8.2"],
               [18.3, "A8.3"],
               [18.4, "A8.4"],
               [18.5, "A8.5"],
               [18.6, "A8.6"],
               [18.7, "A8.7"],
               [18.8, "A8.8"],
               [18.9, "A8.9"],
               [19.0, "A9.0"],
               [19.1, "A9.1"],
               [19.2, "A9.2"],
               [19.3, "A9.3"],
               [19.4, "A9.4"],
               [19.5, "A9.5"],
               [19.6, "A9.6"],
               [19.7, "A9.7"],
               [19.8, "A9.8"],
               [19.9, "A9.9"],
               [20.0, "B0.0"],
               [20.1, "B0.1"],
               [20.2, "B0.2"],
               [20.3, "B0.3"],
               [20.4, "B0.4"],
               [20.5, "B0.5"],
               [20.6, "B0.6"],
               [20.7, "B0.7"],
               [20.8, "B0.8"],
               [20.9, "B0.9"],
               [21.0, "B1.0"],
               [21.1, "B1.1"],
               [21.2, "B1.2"],
               [21.3, "B1.3"],
               [21.4, "B1.4"],
               [21.5, "B1.5"],
               [21.6, "B1.6"],
               [21.7, "B1.7"],
               [21.8, "B1.8"],
               [21.9, "B1.9"],
               [22.0, "B2.0"],
               [22.1, "B2.1"],
               [22.2, "B2.2"],
               [22.3, "B2.3"],
               [22.4, "B2.4"],
               [22.5, "B2.5"],
               [22.6, "B2.6"],
               [22.7, "B2.7"],
               [22.8, "B2.8"],
               [22.9, "B2.9"],
               [23.0, "B3.0"],
               [23.1, "B3.1"],
               [23.2, "B3.2"],
               [23.3, "B3.3"],
               [23.4, "B3.4"],
               [23.5, "B3.5"],
               [23.6, "B3.6"],
               [23.7, "B3.7"],
               [23.8, "B3.8"],
               [23.9, "B3.9"],
               [24.0, "B4.0"],
               [24.1, "B4.1"],
               [24.2, "B4.2"],
               [24.3, "B4.3"],
               [24.4, "B4.4"],
               [24.5, "B4.5"],
               [24.6, "B4.6"],
               [24.7, "B4.7"],
               [24.8, "B4.8"],
               [24.9, "B4.9"],
               [25.0, "B5.0"],
               [25.1, "B5.1"],
               [25.2, "B5.2"],
               [25.3, "B5.3"],
               [25.4, "B5.4"],
               [25.5, "B5.5"],
               [25.6, "B5.6"],
               [25.7, "B5.7"],
               [25.8, "B5.8"],
               [25.9, "B5.9"],
               [26.0, "B6.0"],
               [26.1, "B6.1"],
               [26.2, "B6.2"],
               [26.3, "B6.3"],
               [26.4, "B6.4"],
               [26.5, "B6.5"],
               [26.6, "B6.6"],
               [26.7, "B6.7"],
               [26.8, "B6.8"],
               [26.9, "B6.9"],
               [27.0, "B7.0"],
               [27.1, "B7.1"],
               [27.2, "B7.2"],
               [27.3, "B7.3"],
               [27.4, "B7.4"],
               [27.5, "B7.5"],
               [27.6, "B7.6"],
               [27.7, "B7.7"],
               [27.8, "B7.8"],
               [27.9, "B7.9"],
               [28.0, "B8.0"],
               [28.1, "B8.1"],
               [28.2, "B8.2"],
               [28.3, "B8.3"],
               [28.4, "B8.4"],
               [28.5, "B8.5"],
               [28.6, "B8.6"],
               [28.7, "B8.7"],
               [28.8, "B8.8"],
               [28.9, "B8.9"],
               [29.0, "B9.0"],
               [29.1, "B9.0"],
               [29.2, "B9.1"],
               [29.3, "B9.2"],
               [29.4, "B9.3"],
               [29.5, "B9.4"],
               [29.6, "B9.5"],
               [29.7, "B9.6"],
               [29.8, "B9.7"],
               [29.9, "B9.8"],
               [29.9, "B9.9"],
               [30.0, "C0.0"],
               [30.1, "C0.1"],
               [30.2, "C0.2"],
               [30.3, "C0.3"],
               [30.4, "C0.4"],
               [30.5, "C0.5"],
               [30.6, "C0.6"],
               [30.7, "C0.7"],
               [30.8, "C0.8"],
               [30.9, "C0.9"],
               [31.0, "C1.0"],
               [31.1, "C1.1"],
               [31.2, "C1.2"],
               [31.3, "C1.3"],
               [31.4, "C1.4"],
               [31.5, "C1.5"],
               [31.6, "C1.6"],
               [31.7, "C1.7"],
               [31.8, "C1.8"],
               [31.9, "C1.9"],
               [32.0, "C2.0"],
               [32.1, "C2.1"],
               [32.2, "C2.2"],
               [32.3, "C2.3"],
               [32.4, "C2.4"],
               [32.5, "C2.5"],
               [32.6, "C2.6"],
               [32.7, "C2.7"],
               [32.8, "C2.8"],
               [32.9, "C2.9"],
               [33.0, "C3.0"],
               [33.1, "C3.1"],
               [33.2, "C3.2"],
               [33.3, "C3.3"],
               [33.4, "C3.4"],
               [33.5, "C3.5"],
               [33.6, "C3.6"],
               [33.7, "C3.7"],
               [33.8, "C3.8"],
               [33.9, "C3.9"],
               [34.0, "C4.0"],
               [34.1, "C4.1"],
               [34.2, "C4.2"],
               [34.3, "C4.3"],
               [34.4, "C4.4"],
               [34.5, "C4.5"],
               [34.6, "C4.6"],
               [34.7, "C4.7"],
               [34.8, "C4.8"],
               [34.9, "C4.9"],
               [35.0, "C5.0"],
               [35.1, "C5.1"],
               [35.2, "C5.2"],
               [35.3, "C5.3"],
               [35.4, "C5.4"],
               [35.5, "C5.5"],
               [35.6, "C5.6"],
               [35.7, "C5.7"],
               [35.8, "C5.8"],
               [35.9, "C5.9"],
               [36.0, "C6.0"],
               [36.1, "C6.1"],
               [36.2, "C6.2"],
               [36.3, "C6.3"],
               [36.4, "C6.4"],
               [36.5, "C6.5"],
               [36.6, "C6.6"],
               [36.7, "C6.7"],
               [36.8, "C6.8"],
               [36.9, "C6.9"],
               [37.0, "C7.0"],
               [37.1, "C7.1"],
               [37.2, "C7.2"],
               [37.3, "C7.3"],
               [37.4, "C7.4"],
               [37.5, "C7.5"],
               [37.6, "C7.6"],
               [37.7, "C7.7"],
               [37.8, "C7.8"],
               [37.9, "C7.9"],
               [38.0, "C8.0"],
               [38.1, "C8.1"],
               [38.2, "C8.2"],
               [38.3, "C8.3"],
               [38.4, "C8.4"],
               [38.5, "C8.5"],
               [38.6, "C8.6"],
               [38.7, "C8.7"],
               [38.8, "C8.8"],
               [38.9, "C8.9"],
               [39.0, "C9.0"],
               [39.1, "C9.1"],
               [39.2, "C9.2"],
               [39.3, "C9.3"],
               [39.4, "C9.4"],
               [39.5, "C9.5"],
               [39.6, "C9.6"],
               [39.7, "C9.7"],
               [39.8, "C9.8"],
               [39.9, "C9.9"],
               [40.0, "D0.0"],
               [40.1, "D0.1"],
               [40.2, "D0.2"],
               [40.3, "D0.3"],
               [40.4, "D0.4"],
               [40.5, "D0.5"],
               [40.6, "D0.6"],
               [40.7, "D0.7"],
               [40.8, "D0.8"],
               [40.9, "D0.9"],
               [41.0, "D1.0"],
               [41.1, "D1.1"],
               [41.2, "D1.2"],
               [41.3, "D1.3"],
               [41.4, "D1.4"],
               [41.5, "D1.5"],
               [41.6, "D1.6"],
               [41.7, "D1.7"],
               [41.8, "D1.8"],
               [41.9, "D1.9"],
               [42.0, "D2.0"],
               [42.1, "D2.1"],
               [42.2, "D2.2"],
               [42.3, "D2.3"],
               [42.4, "D2.4"],
               [42.5, "D2.5"],
               [42.6, "D2.6"],
               [42.7, "D2.7"],
               [42.8, "D2.8"],
               [42.9, "D2.9"],
               [43.0, "D3.0"],
               [43.1, "D3.1"],
               [43.2, "D3.2"],
               [43.3, "D3.3"],
               [43.4, "D3.4"],
               [43.5, "D3.5"],
               [43.6, "D3.6"],
               [43.7, "D3.7"],
               [43.8, "D3.8"],
               [43.9, "D3.9"],
               [44.0, "D4.0"],
               [44.1, "D4.1"],
               [44.2, "D4.2"],
               [44.3, "D4.3"],
               [44.4, "D4.4"],
               [44.5, "D4.5"],
               [44.6, "D4.6"],
               [44.7, "D4.7"],
               [44.8, "D4.8"],
               [44.9, "D4.9"],
               [45.0, "D5.0"],
               [45.1, "D5.1"],
               [45.2, "D5.2"],
               [45.3, "D5.3"],
               [45.4, "D5.4"],
               [45.5, "D5.5"],
               [45.6, "D5.6"],
               [45.7, "D5.7"],
               [45.8, "D5.8"],
               [45.9, "D5.9"],
               [46.0, "D6.0"],
               [46.1, "D6.1"],
               [46.2, "D6.2"],
               [46.3, "D6.3"],
               [46.4, "D6.4"],
               [46.5, "D6.5"],
               [46.6, "D6.6"],
               [46.7, "D6.7"],
               [46.8, "D6.8"],
               [46.9, "D6.9"],
               [47.0, "D7.0"],
               [47.1, "D7.1"],
               [47.2, "D7.2"],
               [47.3, "D7.3"],
               [47.4, "D7.4"],
               [47.5, "D7.5"],
               [47.6, "D7.6"],
               [47.7, "D7.7"],
               [47.8, "D7.8"],
               [47.9, "D7.9"],
               [48.0, "D8.0"],
               [48.1, "D8.1"],
               [48.2, "D8.2"],
               [48.3, "D8.3"],
               [48.4, "D8.4"],
               [48.5, "D8.5"],
               [48.6, "D8.6"],
               [48.7, "D8.7"],
               [48.8, "D8.8"],
               [48.9, "D8.9"],
               [49.0, "D9.0"],
               [49.1, "D9.1"],
               [49.2, "D9.2"],
               [49.3, "D9.3"],
               [49.4, "D9.4"],
               [49.5, "D9.5"],
               [49.6, "D9.6"],
               [49.7, "D9.7"],
               [49.8, "D9.8"],
               [49.9, "D9.9"],
               [50.0, "E0.0"],
               [50.1, "E0.1"],
               [50.2, "E0.2"],
               [50.3, "E0.3"],
               [50.4, "E0.4"],
               [50.5, "E0.5"],
               [50.6, "E0.6"],
               [50.7, "E0.7"],
               [50.8, "E0.8"],
               [50.9, "E0.9"],
               [51.0, "E1.0"],
               [51.1, "E1.1"],
               [51.2, "E1.2"],
               [51.3, "E1.3"],
               [51.4, "E1.4"],
               [51.5, "E1.5"],
               [51.6, "E1.6"],
               [51.7, "E1.7"],
               [51.8, "E1.8"],
               [51.9, "E1.9"],
               [52.0, "E2.0"],
               [52.1, "E2.1"],
               [52.2, "E2.2"],
               [52.3, "E2.3"],
               [52.4, "E2.4"],
               [52.5, "E2.5"],
               [52.6, "E2.6"],
               [52.7, "E2.7"],
               [52.8, "E2.8"],
               [52.9, "E2.9"],
               [53.0, "E3.0"],
               [53.1, "E3.1"],
               [53.2, "E3.2"],
               [53.3, "E3.3"],
               [53.4, "E3.4"],
               [53.5, "E3.5"],
               [53.6, "E3.6"],
               [53.7, "E3.7"],
               [53.8, "E3.8"],
               [53.9, "E3.9"],
               [54.0, "E4.0"],
               [54.1, "E4.1"],
               [54.2, "E4.2"],
               [54.3, "E4.3"],
               [54.4, "E4.4"],
               [54.5, "E4.5"],
               [54.6, "E4.6"],
               [54.7, "E4.7"],
               [54.8, "E4.8"],
               [54.9, "E4.9"],
               [55.0, "E5.0"],
               [55.1, "E5.1"],
               [55.2, "E5.2"],
               [55.3, "E5.3"],
               [55.4, "E5.4"],
               [55.5, "E5.5"],
               [55.6, "E5.6"],
               [55.7, "E5.7"],
               [55.8, "E5.8"],
               [55.9, "E5.9"],
               [56.0, "E6.0"],
               [56.1, "E6.1"],
               [56.2, "E6.2"],
               [56.3, "E6.3"],
               [56.4, "E6.4"],
               [56.5, "E6.5"],
               [56.6, "E6.6"],
               [56.7, "E6.7"],
               [56.8, "E6.8"],
               [56.9, "E6.9"],
               [57.0, "E7.0"],
               [57.1, "E7.1"],
               [57.2, "E7.2"],
               [57.3, "E7.3"],
               [57.4, "E7.4"],
               [57.5, "E7.5"],
               [57.6, "E7.6"],
               [57.7, "E7.7"],
               [57.8, "E7.8"],
               [57.9, "E7.9"],
               [58.0, "E8.0"],
               [58.1, "E8.1"],
               [58.2, "E8.2"],
               [58.3, "E8.3"],
               [58.4, "E8.4"],
               [58.5, "E8.5"],
               [58.6, "E8.6"],
               [58.7, "E8.7"],
               [58.8, "E8.8"],
               [58.9, "E8.9"],
               [59.0, "E9.0"],
               [59.1, "E9.1"],
               [59.2, "E9.2"],
               [59.3, "E9.3"],
               [59.4, "E9.4"],
               [59.5, "E9.5"],
               [59.6, "E9.6"],
               [59.7, "E9.7"],
               [59.8, "E9.8"],
               [59.9, "E9.9"],
               [60.0, "F0.0"],
               [60.1, "F0.1"],
               [60.2, "F0.2"],
               [60.3, "F0.3"],
               [60.4, "F0.4"],
               [60.5, "F0.5"],
               [60.6, "F0.6"],
               [60.7, "F0.7"],
               [60.8, "F0.8"],
               [60.9, "F0.9"],
               [61.0, "F1.0"],
               [61.1, "F1.1"],
               [61.2, "F1.2"],
               [61.3, "F1.3"],
               [61.4, "F1.4"],
               [61.5, "F1.5"],
               [61.6, "F1.6"],
               [61.7, "F1.7"],
               [61.8, "F1.8"],
               [61.9, "F1.9"],
               [62.0, "F2.0"],
               [62.1, "F2.1"],
               [62.2, "F2.2"],
               [62.3, "F2.3"],
               [62.4, "F2.4"],
               [62.5, "F2.5"],
               [62.6, "F2.6"],
               [62.7, "F2.7"],
               [62.8, "F2.8"],
               [62.9, "F2.9"],
               [63.0, "F3.0"],
               [63.1, "F3.1"],
               [63.2, "F3.2"],
               [63.3, "F3.3"],
               [63.4, "F3.4"],
               [63.5, "F3.5"],
               [63.6, "F3.6"],
               [63.7, "F3.7"],
               [63.8, "F3.8"],
               [63.9, "F3.9"],
               [64.0, "F4.0"],
               [64.1, "F4.1"],
               [64.2, "F4.2"],
               [64.3, "F4.3"],
               [64.4, "F4.4"],
               [64.5, "F4.5"],
               [64.6, "F4.6"],
               [64.7, "F4.7"],
               [64.8, "F4.8"],
               [64.9, "F4.9"],
               [65.0, "F5.0"],
               [65.1, "F5.1"],
               [65.2, "F5.2"],
               [65.3, "F5.3"],
               [65.4, "F5.4"],
               [65.5, "F5.5"],
               [65.6, "F5.6"],
               [65.7, "F5.7"],
               [65.8, "F5.8"],
               [65.9, "F5.9"],
               [66.0, "F6.0"],
               [66.1, "F6.1"],
               [66.2, "F6.2"],
               [66.3, "F6.3"],
               [66.4, "F6.4"],
               [66.5, "F6.5"],
               [66.6, "F6.6"],
               [66.7, "F6.7"],
               [66.8, "F6.8"],
               [66.9, "F6.9"],
               [67.0, "F7.0"],
               [67.1, "F7.1"],
               [67.2, "F7.2"],
               [67.3, "F7.3"],
               [67.4, "F7.4"],
               [67.5, "F7.5"],
               [67.6, "F7.6"],
               [67.7, "F7.7"],
               [67.8, "F7.8"],
               [67.9, "F7.9"],
               [68.0, "F8.0"],
               [68.1, "F8.1"],
               [68.2, "F8.2"],
               [68.3, "F8.3"],
               [68.4, "F8.4"],
               [68.5, "F8.5"],
               [68.6, "F8.6"],
               [68.7, "F8.7"],
               [68.8, "F8.8"],
               [68.9, "F8.9"],
               [69.0, "F9.0"],
               [69.1, "F9.1"],
               [69.2, "F9.2"],
               [69.3, "F9.3"],
               [69.4, "F9.4"],
               [69.5, "F9.5"],
               [69.6, "F9.6"],
               [69.7, "F9.7"],
               [69.8, "F9.8"],
               [69.9, "F9.9"],
               [70.0, "G0.0"],
               [70.1, "G0.1"],
               [70.2, "G0.2"],
               [70.3, "G0.3"],
               [70.4, "G0.4"],
               [70.5, "G0.5"],
               [70.6, "G0.6"],
               [70.7, "G0.7"],
               [70.8, "G0.8"],
               [70.9, "G0.9"],
               [71.0, "G1.0"],
               [71.1, "G1.1"],
               [71.2, "G1.2"],
               [71.3, "G1.3"],
               [71.4, "G1.4"],
               [71.5, "G1.5"],
               [71.6, "G1.6"],
               [71.7, "G1.7"],
               [71.8, "G1.8"],
               [71.9, "G1.9"],
               [72.0, "G2.0"],
               [72.1, "G2.1"],
               [72.2, "G2.2"],
               [72.3, "G2.3"],
               [72.4, "G2.4"],
               [72.5, "G2.5"],
               [72.6, "G2.6"],
               [72.7, "G2.7"],
               [72.8, "G2.8"],
               [72.9, "G2.9"],
               [73.0, "G3.0"],
               [73.1, "G3.1"],
               [73.2, "G3.2"],
               [73.3, "G3.3"],
               [73.4, "G3.4"],
               [73.5, "G3.5"],
               [73.6, "G3.6"],
               [73.7, "G3.7"],
               [73.8, "G3.8"],
               [73.9, "G3.9"],
               [74.0, "G4.0"],
               [74.1, "G4.1"],
               [74.2, "G4.2"],
               [74.3, "G4.3"],
               [74.4, "G4.4"],
               [74.5, "G4.5"],
               [74.6, "G4.6"],
               [74.7, "G4.7"],
               [74.8, "G4.8"],
               [74.9, "G4.9"],
               [75.0, "G5.0"],
               [75.1, "G5.1"],
               [75.2, "G5.2"],
               [75.3, "G5.3"],
               [75.4, "G5.4"],
               [75.5, "G5.5"],
               [75.6, "G5.6"],
               [75.7, "G5.7"],
               [75.8, "G5.8"],
               [75.9, "G5.9"],
               [76.0, "G6.0"],
               [76.1, "G6.1"],
               [76.2, "G6.2"],
               [76.3, "G6.3"],
               [76.4, "G6.4"],
               [76.5, "G6.5"],
               [76.6, "G6.6"],
               [76.7, "G6.7"],
               [76.8, "G6.8"],
               [76.9, "G6.9"],
               [77.0, "G7.0"],
               [77.1, "G7.1"],
               [77.2, "G7.2"],
               [77.3, "G7.3"],
               [77.4, "G7.4"],
               [77.5, "G7.5"],
               [77.6, "G7.6"],
               [77.7, "G7.7"],
               [77.8, "G7.8"],
               [77.9, "G7.9"],
               [78.0, "G8.0"],
               [78.1, "G8.1"],
               [78.2, "G8.2"],
               [78.3, "G8.3"],
               [78.4, "G8.4"],
               [78.5, "G8.5"],
               [78.6, "G8.6"],
               [78.7, "G8.7"],
               [78.8, "G8.8"],
               [78.9, "G8.9"],
               [79.0, "G9.0"],
               [79.1, "G9.1"],
               [79.2, "G9.2"],
               [79.3, "G9.3"],
               [79.4, "G9.4"],
               [79.5, "G9.5"],
               [79.6, "G9.6"],
               [79.7, "G9.7"],
               [79.8, "G9.8"],
               [79.9, "G9.9"]
           ], result = PREC((fieldname2 * (fieldname4 + fieldname5/16 - 14) * 0.03528 - 143.5)/1.75, 1);
   
           for(var i in swScale)
               if(swScale[i][0] == result*1) return swScale[i][1];
          return 'Undefined';
       })()
       ```
   
 * Q: Can I add Prefix and Suffix Label?
 * A: I don’t know what you mean by prefix/suffix label. But if you want to display
   a hint text to indicate to the users the values to enter:
 * 1. Enter the text into the default value attribute in the field’s settings.
 * 2. Tick the checkbox: “Use the default value as a placeholder”
 * In your form, you are using the calculated fields for everything. I recommend
   you to use the calculated fields only for fields that require calculations. For
   example, in the form 8 ([https://weekendgolf.co/?cff-form=8](https://weekendgolf.co/?cff-form=8))
   you use the calculated fields for entering the “Total Weight” and “Balance” when
   you should use number fields.
 * The calculated fields have a particularity. Every time you enter a value in the
   form, the plugin should check the equations associated with every calculated 
   field to identify the equations affected by the value. If you use calculated 
   fields in other contexts than calculation, you affect the form performance for
   no reason.
 * Q: Can I add two columns side by side?
 * A: Yes. The plugin includes multiple alternatives to distribute the fields into
   columns. You can use container fields or assign predefined class names directly
   to the fields. Please, watch the videos in the following section of the plugin’s
   documentation:
 * [https://cff.dwbooster.com/documentation#customize-form-design](https://cff.dwbooster.com/documentation#customize-form-design)
 * Best regards.
 *  Thread Starter [mira404](https://wordpress.org/support/users/mira404/)
 * (@mira404)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15664201)
 * [@codepeople](https://wordpress.org/support/users/codepeople/) Everything is 
   working perfectly. But I have a few more questions.
 * 1. How to hide the form (all) name on a post? Check this: [https://prnt.sc/r–mwMeprLpG](https://prnt.sc/r–mwMeprLpG)
 * 2. I forgot, I will ask later!
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15664213)
 * Hello [@mira404](https://wordpress.org/support/users/mira404/)
 * The screenshot is not available.
 * Best regards.
 *  Thread Starter [mira404](https://wordpress.org/support/users/mira404/)
 * (@mira404)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15664223)
 * oh, check this: [https://prnt.sc/SGOClV3M32kd](https://prnt.sc/SGOClV3M32kd)
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15664232)
 * Hello [@mira404](https://wordpress.org/support/users/mira404/)
 * To hide the form’s title, delete it from the “Form Settings” tab:
 * ![](https://i0.wp.com/resources.developers4web.com/cff/images/documentation/form-
   settings-tab.png?ssl=1)
 * Best regards.
 *  Thread Starter [mira404](https://wordpress.org/support/users/mira404/)
 * (@mira404)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15664233)
 * I also see this option, but I want to hide all form titles.
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15664245)
 * Hello [@mira404](https://wordpress.org/support/users/mira404/)
 * You can delete the information from every form setting.
 * Or if you want to hide it with CSS you can enter the style definition below through
   the menu option “Appearance > Customize > Additional CSS”:
 * `#fbuilder .fform{display:none !important;}`
 * Best regards.
 *  Thread Starter [mira404](https://wordpress.org/support/users/mira404/)
 * (@mira404)
 * [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15664256)
 * Thanks for everything! I don’t believe that any free plugin with this type of
   support, is Unbeliviable! Superfast!
 * Thanks Again!

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Conditional Logic’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [mira404](https://wordpress.org/support/users/mira404/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/conditional-logic-80/#post-15664256)
 * Status: resolved