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

    (@codepeople)

    Hi,

    I’m sorry, I don’t understand what you pretend calculate with your equation. Could you give me additional details, please?

    Best regards.

    Thread Starter Jaer1823

    (@jaer1823)

    The question was how I can call a third field by the combination of two items from fieldname1 and fieldname2.

    For this example I have 4 fields: fieldname1 and fieldname2, drop down menu, fieldname3 another control, any of them, and finally the fieldname4, a calculated field.

    for displaying the third field a gave to fieldname1 a value of 1 and for fieldname2 a value of 3.

    I assign to the fieldname3 a classname I pasted in Add Css Layout Keywords and then paste the attribute in the css style as .{display:none;}

    and finally in the fieldname4 ( Calculated field) I paste the code they gave me:

    function(){
    if( fieldname1 == 1 && fieldname2 == 3)
    {
    jQuery( ‘.myclass’ ).show();
    }
    else
    {
    jQuery( ‘.myclass’ ).hide();
    }

    // The rest of the equation here

    })()

    everything it is ok but nothing happened my third field doesn’t appear.

    this is my site: https://marketingpowercolombia.com/Qutation/quotation/

    Thanks for help I already sent a ticket.

    Thread Starter Jaer1823

    (@jaer1823)

    Thanks a lot the plugin work as charm with the code you gave me. It is a very profesional atention, and fast reply you save My job.

    Best regards,
    Jorge

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Items inside fields’ is closed to new replies.