Hi,
I want to take the numerical answers to two survey questions.  Then I will apply these to a known fixed mathematical formula (actually a multiple regression equation).  Then I want to scale  images in subsequent questions by this factor.
e.g. Answer 1 = X1, Answer 2 = X2
scaleFactor = aX1 + bX2 + c
For each image:
width = width * scaleFactor
Any thoughts about how I can achieve this?
Thanks.
        
            Page 1 / 1 
    
            Save the answer as Embedded Data. Then, in the place you want to use the number just reference your ED. 
i.e.
```html
<img id="Falcon" style="width: ${e://Field/falconWidth}" src="falcon.png"/>
```
Obviously in this case it assumes the `width * scalefactor` calculation has been done in the survey flow. If this is not possible, then you should use JavaScript to do it for you. Something like in this gist: https://gist.github.com/mattbloomfield/4ad49c300b9d379c937685c5a6a4ae93
                
    
                            Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
