• Resolved nr32themes

    (@nr32themes)


    Hello,
    i want to retrieve the calculated status.

    I want to give the user response, between input and complete calculated form.

    Such as: “Please wait…”

    Can i retrieve the Status via jQuery?

    Thanks

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

    (@codepeople)

    Hello @nr32themes,

    I’m sorry, but I don’t understand your question. The plugin is able to evaluate the equations dynamically as the user enter or select the fields’ values in the form.

    What do you mean with the status?

    If you want the user enter the data, and press a submit button to see the results, you will need at least the Professional version of the plugin and configure the form as follows:

    – Creates a page in your website and enter into its content the shortcode for the results: [CP_CALCULATED_FIELDS_RESULT]

    – Enter the URL to this page into the “Thank you page” attribute in the form’s settings.

    – Finally, select the calculated fields and tick the checkbox: “Hide Field From Public Page” in their settings.

    Now the users must submit the forms to see the results in the thank you pages, and you can capture the users information.

    Best regards.

    Thread Starter nr32themes

    (@nr32themes)

    Ok,
    after input, the form need a while before the calculation is finaly.
    In this time i want to show a info for the user.
    Like a loading info for Images (preloader).

    • This reply was modified 7 years, 6 months ago by nr32themes.
    Plugin Author codepeople

    (@codepeople)

    Hello @nr32themes,

    There are different alternatives, for example, you can insert a “HTML Content” field in the form with the following piece of code as its content:

    
    <div class="evaluating-equation">Evaluating Equation</div>
    <style>
    #fbuilder .evaluating-equation{
            display: none;
    	position:fixed;
    	z-index:999999;
    	background:white;
    	padding:30px;
    	border: 1px solid #DADADA;
    	top:50%;
    	left: calc( 50% - 100px );
    	width:200px;
    	text-align:center;
    }
    </style>
    

    And then, enter the following piece of code as the first instruction of the equation:

    
    jQuery('.evaluating-equation').show();
    

    and the following piece of code before the return instruction:

    
    jQuery('.evaluating-equation').hide();
    

    But as I said previously, there are multiple alternatives.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Retrieve is form calculated’ is closed to new replies.