Hello @cncladmin
First, if you want hide the captcha, go to the form’s settings, and select the “No” option for the attribute: “Use Captcha Verification?”, and that’s all.
Now, your question about the equation. As fields depends on each other, you should identify first the field that has been edited manually by the user. I’ll describe the process with a hypothetical example:
1. Insert two calculated fields, fieldname1 and fieldname2, for “Grams” and “Calories” respectively, and untick the “Read only” checkbox in the settings of both fields. So, these fields are at the same time input fields and calculated fields.
2. Insert a “HTML Content” field in the form with the following piece of code as its content:
<script>
var edited = '';
jQuery(document).on('keydown', '[id*="fieldname1_"]', function(){edited = 'gram';})
jQuery(document).on('keydown', '[id*="fieldname2_"]', function(){edited = 'cal';})
</script>
As you can see, the code above, it simply identifies which of fields have been edited manually by the user (keydown event), and enter the text ‘gram’ or ‘cal’ to the global variable: edited, depending on the field that is entered manually.
3. Finally, the equations.
The equation associated to the fieldname1 would be:
IF(edited == 'gram', __ME__, fieldname2/2.4)
The equation associated to the fieldname2:
IF(edited == 'cal', __ME__, fieldname1*2.4)
The description is very straightforward, so, I will describe only the first of them. If I’m the field that is being entered manually (edited == ‘gram’), then the equation returns my own value (the predefined constant: __ME__), but if the field that is being edited is the other one, then, the equation returns the calculated value that depends of the other field.
Best regards.