• Resolved arnab28

    (@arnab28)


    Hello Sir,

    I am trying to figure out some functions using the plugin. like when I enter the filed 5 it’s showing the same field value like 500 (multiply using 100), how can I make that. I am also trying to use the % function but it’s not working in this plugin, help me to understand how can I do that calculation which I need to use the % function?

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    My apologies for the delay in responding to your question. I never got the notification about your forum post.

    If you have a number field, for example, the fieldname1, and you want to multiply its value by 100:

    Insert a calculated field in the form, and enter the following equation through the “Set equation” attribute in its settings:

    
    fieldname1*100
    

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    Hello Sir,

    Thanks for the previous reply, it really helps me a lot.
    I want to ask you another question is it possible to allow multiple options to be chosen for the radio button. Right now I can select only one option.

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    You are describing a checkbox field. In the HTML standard the radio buttons only one choice can be selected at the same time (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio). However, in the checkbox fields can be selected multiple choices (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox)

    So, you must use a checkbox field instead of a radio button.

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    Hello Sir,

    Thanks for your previous help, I always appreciate your work. I have a small question like in the calculation filed I used the If condition it’s written like (IF(logical_test, value_if_true, value_if_false)). Can you give me an example of this formula?

    I want to create like this below link screenshot condition. Help me to do this.

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    For example, assuming you have two number fields: fieldname1 and fieldname2, and you need an equation that returns 20 if the sum is over 10 and, 500 in other cases (the equation is very simply and hypothetical, only to describe the use of the “IF” operation).

    The equation can be implemented as follows:

    
    IF(10<fieldname1+fieldname2, 20, 500)
    

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    Hello,

    Thanks for the reply. I am trying like this but it’s not showing. my question is one number filed value>=0 then Combination Condition1 Text filed file show in Final text section other that if number filed value<=1 then Combination Condition2 text field value shown in Final text Section. I can try with the Define dependencies equation its works but the text output doe’s not shown in the final text field. Help me how I do that, Sorry for explain that many words because I really stuck this problem.

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    I’m sorry, I don’t understand what you are trying to do. Please, send me the link to the page that includes the form and describe the problem with the real names of fields.

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    Hello Sir.

    Please see the below URL https://bsbtest.assiduusinc.com/condition/ , here i used condition operation.but in final text i want to show condition text just like https://ibb.co/DMdb4G8 url scrrenshot. i dont want number in final text , i want condition text only

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    I’m sorry, but the form you sent me as a reference does not include any of the equations you are referring and the screenshot does not clarify them.

    Honestly, I don’t know why you are using the fields included in the form. If you want to display a long text based on multiple conditions, a calculated field and some “HTML Content” fields are enough.

    I’ll try to describe the process again with a hypothetical example:

    * Assuming you have a calculated field that calculates the BMI (fieldname1), and you want to display a text based on the BMI:

    Underweight and the explanation to gain weight = <18.5
    Normal weight and the explanation to maintain a healthy life = 18.5–24.9
    Overweight and the diet required to solve it = 25–29.9
    Obesity and the diet and exercises recommended to loss weight = BMI of 30 or greater

    * Insert four “HTML Content” fields:

    – The fieldname2 field with the content: Underweight and the explanation to gain weight
    – The fieldname3 field with the content: Normal weight and the explanation to maintain a healthy life
    – The fieldname4 field with the content: Overweight and the diet required to solve it
    – The fieldname5 field with the content: Obesity and the diet and exercises recommended to lose weight

    * Finally, edit the dependencies in the calculated field fieldname1 similar to the screenshot below:

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    How can I show text field text on calculate field? I had tried on this but its not showing.

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    What do you mean with: … text field text on calculate field

    If the text field is the fieldname1, and you want show its value into a calculated field, the equation would be simply: fieldname1

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    Like in Text Area filed i put some text in Predefined Value.I want to show this Predefined Value in Calculated Field. How can i make that?

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    The answer is the same, if the textarea field is the fieldname1, the equation of the calculated field would be: fieldname1

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    It’s not showing text while I put this Text Area filed name like (fieldname1)

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    There are multiple errors in your form. Your form includes only two equations, the first one: fieldname9 that is working properly, and the second equation:

    fieldname5,fieldname11,fieldname12

    That is incorrect. If you want to concatenate fields you should use the “CONCATENATE” operation, as follows:

    CONCATENATE(fieldname5,fieldname11,fieldname12)

    The second error. You are generating input and textarea tags manually into the “HTML Content” fields, these fields cannot be used from the equations. Furthermore, you are generating a conflict because you are duplicating the ids of the fields.

    Best regards.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Help’ is closed to new replies.