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

    (@codepeople)

    Hello @amading

    In the equations the fields’ names with the structure: fieldname# correspond only to fields in the same form. However, there is always an alternative to implement the behavior described. I’ll try to describe the process with a hypothetical example:

    * Assuming there are two forms in the page: Form A and Form B, and you want to use the fieldname1 field, inserted in the form A, as part of the equations of the form B. As I said previously that’s not possible directly, so, the idea would be populate a field in the form B with the values of the field in the form A, and use the field in the form B as part of the equations.

    – First, assign an unique class name to the field in the form A, for example: my-a-field

    Note: the class names are assigned to the fields through their attributes: “Add CSS Layout Keywords”

    – Second, insert a hidden field in the form B (I’ll call it, fieldname23) and assign to it a custom class name too, for example: my-b-field

    – Third, insert a “HTML Content” field in the form B with a block of code similar to the following one as its content:

    
    <script>
    jQuery(document).on('change', '.my-a-field input', function(){
    jQuery('.my-b-field input').val(this.value).change();
    });
    </script>
    

    and that’s all. Now you can use in the equations of the form B the fieldname23 field as usual, because it belongs to the form B, and this field is being populated with the values of the fieldname1 field in the form A.

    Best regards.

    Thread Starter amading

    (@amading)

    Thank you for the quick response. I got it to work, but I’m still having difficulties in accomplishing my main goal.

    The reason why I want to have multiple calculators is so that I can create charts in specific areas. However, when I bring in the data from calc A, calc B does not display any information in the chart.

    The chart is set to evaluate dynamically and works when I input directly into calc B. It just doesn’t show the information that I’m pulling from calc A into calc B. Do you know why this would be happening or is there an easier way to accomplish this?

    I appreciate your help.

    Plugin Author codepeople

    (@codepeople)

    Hello @amading

    If you are generating the chart from the equation associated to a calculated field in the form B, it should continue working as usual. Note that for the form B the existence of the form A is irrelevant, because the value of the field in the form A is being assigned to a field in the form B.

    Best regards.

    Thread Starter amading

    (@amading)

    After doing some testing it looks like the equations are not being evaluated dynamically after they get brought into calc B. More specifically, it’s just the equations that are referencing the variables from calc A. Equations with other variables are being evaluated dynamically. A workaround is to add another button to calculate, but I would like to avoid that.

    Do you have a potential workaround for this?

    Thanks again.

    Plugin Author codepeople

    (@codepeople)

    Hello @amading

    Please, send me know the URL to the page where the forms are inserted, and indicate the equation you are referring.

    Best regards.

    Thread Starter amading

    (@amading)

    https://outsourcedriskanalyst.com/risk-adjusted-return-model-for-lending-club/

    The graph on the right side is the dependent calc. I included all inputs and a field that allows a user to enter a number. The graph only updates when you press the calculate button, or a number is entered.

    Plugin Author codepeople

    (@codepeople)

    Hello @amading

    The problem is simple, the id you have assigned to the canvas tag is yield and not my-chart as you are using in the equation, you simply should replace the my-chart in the equation by yield

    Best regards.

    Hi we are using the premium version .
    We are facing two issues
    We are using payments from authorize in test mode ,database is not being populated with the transactions details for authorize in its table so we are unable to fetch user details along with the submitted data.we have manually added the recipt urls on backend setting and on authorize but it seems no recipet is being sent or stored.

    Second issue is we have cash on delivery implemented and on clicking submit button it directly takes to thank you page ,how can we add another form before thank you button to capture cash on delivery address etc details.

    Little bit about form struture :
    <Form start>
    cff field 1
    cff field 2
    cff field 3
    Choose option for authorize payment
    Choose option for cash on delivery
    <submit button>
    </form ends>

    Plugin Author codepeople

    (@codepeople)

    Hi @syedasifalinaqi

    We’d like to help but we can’t reply about that in this forum. We are not allowed to support any customers in these forums.

    Commercial products are not supported in these forums. We will happily answer this and any other questions you can have on our own site.

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Use Calculated Field in One Calculator with A Different Calculator’ is closed to new replies.