Hello and happy new year,
I would like to use this script: https://script.surveygizmo.com/help/article/link/calculate-bmi
The survey i have created is called: STOPBang Questionnaire
Unfortunately, the button “Calculate” doesn’t appear.
For your information, the example survey “http://www.surveygizmo.com/s3/2040937/Calculate-BMI” works well.
thank you for your help!
As you can see, the button appear in “building mode” but not in “preview mode”.
Thank you all for your help!
Now the link works. The button doesn’t appear like a button in preview mode but i can click on it.
I guess it’s just a css issue?
Hey Jef, Are you going to the layout tab and unchecking to Automatically Verify and Fix HTML? That could be the issue if that button is checked. If it is, uncheck it and then paste it again.
Thank you for your help.
I’ve tried it but the button still doesn’t appear :/
You have to add the ‘Calculate’ button manually in a Text/Media field. Create a new Text/Media item and then expand the toolbar ribbon at the bottom of the entry area. You then need to click on the View Source button to get to the HTML view (see picture below). You can then insert the div elements referenced in the article:
<div class=”calculate btn btn-primary”>Calculate</div><br /><div class=”bmi-total”></div>