• Resolved luisef

    (@luisef)


    Ih
    I′m trying to use “result-here” in HTML filed to show a large amount of text from a concatenated field, but it seems not to work.
    Is there something wrong with my formula?
    (function(){
    var result =
    concatenate(fieldname8|r, ” The effect size was “,fieldname21|r, ” and precision “,fieldname22|r);
    }
    jQuery(‘.result-here’).html(result);
    return result;
    })()

    Regards

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

    (@codepeople)

    Hello @luisef

    There is a wrong } symbol in the equation, the correct structure would be:

    
    (function(){
        var result = 
    concatenate(fieldname8|r, " The effect size was ",fieldname21|r, " and precision ",fieldname22|r);
        jQuery('.result-here').html(result);
        return result;
    })()
    

    Best regards.

    Thread Starter luisef

    (@luisef)

    Thank you very much. It’s working fine.
    This concatenate text is the final result of a form.
    Is there a way to show it only after all fields are field?
    Regards

    Plugin Author codepeople

    (@codepeople)

    Hello @luisef

    Yes of course, you can use if conditional statements as part of the equations.

    Best regards.

    Thread Starter luisef

    (@luisef)

    Ok
    Thankyou again
    Best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Concatenate and “result-here”’ is closed to new replies.