Calculations in a field based on an earlier customer response Y/N

  • Profile Image
    Asked on February 27, 2014 at 08:53 AM


    You kindly attempted to make this clear for me but it has me stumped this is the bit you gave me 

    Here's how I designed the field so that it is added into the calculation:


    The <em></em> tags will dissapear and leave an italicized number, that's fine, we just don't want them to show on the form. 

    To hide hose numerical values on the live form, just add the following CSS rule into your form using this guide:

    em {

    Now you can add the field in any calculation, and using the 0/1 based on what the form user selects (or whatever you have in there), you can manipulate the result of the calculation.

    Here's a guide that might clarify things:

    I wonder if I could ask to describe the way you implimented its use in my form?  I suspect this might put my other posting into perspective.


  • Profile Image
    Answered on February 27, 2014 at 12:47 PM

    Hi Peter, 

    I can see that the reply you pasted in this thread was given by my colleagued Titus on this thread:

    I think that my colleague made that suggestion as he stated "I take it you want to add them as a factor in the calculation" 

    So based the on that statement I can give you this explanation.

    Since there is no other way to add a default value to the Radio button other than putting a number in th its label, you need to apply the workaround suggested by my colleague, which is:

    1. Adding the value 1 to Yes and 0 to NO. That way the value will read by the calculation feature and will affect also the calculation.

    2. But, to hide those numbers from the label of the options for the Radio button you need to use the tags <em> and </em> and then give them a transparent color using CSS code.

    In that way you can accomplish the desired calculation in your form.

    I hope this helps you to understand better. Please let us know if I have misunderstood your inquiry or if you need further assistance with this.


  • Profile Image
    Answered on February 27, 2014 at 01:33 PM

    All cleared now thanks, I did two threads running albeit two elements to it but once the other was sorted this too fell into place - thanks for your rtime