• Resolved themandril2002

    (@themandril2002)


    We are trying to do what they did in this post:

    https://wordpress.org/support/topic/simple-but-not-workingplease-help?replies=7

    But even simpler. We have a dropdown with three product choices – small, medium and jumbo.

    We have another dropdown with two quantity choices – 500 and 2500.

    The formula we’re using in our calculated field is:

    (function(){
    if(fieldname3==’standard’ && fieldname4==500)
    return .50;
    if(fieldname3==’standard’ && fieldname4==2500)
    return .36;
    if(fieldname3==’medium’ && fieldname4==500)
    return .55;
    if(fieldname3==’medium’ && fieldname4==2500)
    return .41;
    if(fieldname3==’jumbo’ && fieldname4==500)
    return .60;
    if(fieldname3==’jumbo’ && fieldname4==2500)
    return .46;
    })()

    But nothing is appearing in the calculated field. What could we be doing wrong? The one you helped with above works here http://inetgoa.com/wp/?page_id=26

    Any help would be appreciated…

    https://wordpress.org/plugins/calculated-fields-form/

Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Should be simple – please tell me what we are doing wrong…’ is closed to new replies.