Hello @pexel
If you want to calculate the value of X in your form, the formula would be X = 6*4/2. You need only to replace the numbers with the corresponding fields’ names:
fieldname33*fieldname25/fieldname31
Best regards.
Thread Starter
pexel
(@pexel)
Hello;
My formula is already like this;
If you load the form completely, you will understand what I mean in the fields.
I think my if(fieldname36 == criteria is not working.
Thanks
Hello @pexel
I’m sorry, I don’t know what you mean because I’m not implementing your form. But if you want to get the X value based on the other three fields, you should use an equation similar to the following one:
fieldname33*fieldname25/fieldname31
If you want to implement a different behavior and require a custom coding service, you should contact us through the plugin website. Contact Us.
Best regards.
Thread Starter
pexel
(@pexel)
Ok I solved it.. I will ask a different question.
fieldname47 my criteria field (dropdown) If A;
fieldname49 Move the A number cell to Read Only position.
Is something like this possible?
Hello @pexel
You can insert a calculated field in the form with a piece of code similar to:
(function(){
var A = getField(fieldname49|n).jQueryRef().find('input'),
B = getField(fieldname50|n).jQueryRef().find('input'),
C = getField(fieldname52|n).jQueryRef().find('input'),
D = getField(fieldname53|n).jQueryRef().find('input');
A.prop('readonly', false);
B.prop('readonly', false);
C.prop('readonly', false);
D.prop('readonly', false);
switch(fieldname47){
case 'A': A.prop('readonly', true); break;
case 'B': B.prop('readonly', true); break;
case 'C': C.prop('readonly', true); break;
case 'D': D.prop('readonly', true); break;
}
})()
Best regards.
Thread Starter
pexel
(@pexel)
Thanks;
I added this to a calculated field but when I select fieldname47 A
fieldname49 is not readyonly, am I doing something wrong?
Thanks.
Hello @pexel
You have deactivated the dynamic evaluation of the equations in your form.
Best regards.
Thread Starter
pexel
(@pexel)
I really congratulate you 🙂