Hello @metesey
Please be sure you tick the checkbox to submit the texts of the fields’ choices in the settings of the checkbox field. It does not affect the equations, only the information to submit. Then, edit the piece of code as follows:
IN("Parke Miktarı",fieldname96|v)
The |v modifier gives you access to the information to submit.
Best regards.
Hesaplamayı kullanacaklar için “Include quantity boxes.” için değer girmesini istedim.
Örneğin;
Parke Miktarı: 10
Seramik Miktarı: 5 değerini girdiğinde formül alanında şu işlemi yapmak istiyorum.
Hesaplama Alanı: IN(“Parke Miktarı”,fieldname96|v)*2+IN(“Seramik Miktarı”,fieldname96|v)*3
=10*2+5*3=35 sonucunu almak istiyorum.
Fakat; IN(“Parke Miktarı”,fieldname96|v) formül çalışmadı!
Hello @metesey
The IN operation returns true or false if the first parameters is present in the second parameter. It does not returns a number.
If you have a checkbox field, I will call it fieldname123, where each choice has associate a number as its value, and the visual text, and you ticked the option to include a quantity box per choice, the plugin makes the mathematics for you.
You need only to include the field’s namefieldname123 in the equation. The plugin will sum the choices’ values multiplied by their corresponding quantities. You don’t need to do it yourself.
Best regards.