Can error messages depend on the values of many fields?

Home – SaaS Forums Presale questions Woo Price Calculator Can error messages depend on the values of many fields?

  • This topic has 0 replies, 1 voice, and was last updated 3 years ago by Anonymous.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4643
    Anonymous
    Guest

    Hey there,

    I am trialing the free version and so far so good. It seems appropriate but I will need the PRO version because from your description it shows the product configuration in the cart and allows the user to change the configuration from the cart. Nice.

    Before I went ahead, I needed to work out if I could display an error message that depends on the value of multiple fields.

    The material I am working with, fabric, has unlimited length but fixed width.

    The form has these fields:
    L: length
    W: widthe
    B: border.

    (B + L + B) can be unlimited.

    (B + W + B) is limited and cannot exceed the width of the fabric.

    Is there a way to enforce a limit based on the concurrent values of B & W?

    Kind regards,
    Aris

    #4645
    Anonymous
    Guest

    Ignore the emoticons:

    ( B + L + B ) can be unlimited.

    ( B + W + B ) is limited and cannot exceed the width of the fabric.

    #4644
    Enrico
    Participant

    Hi Aris,

    Yes at the moment is possible using PHP. But for that we’ve wrote different tutorials to help our users:

    Please read this tutorial: https://altoswebsolutions.com/blog/more-validation-using-wooprice-calculator-woocommerce

    Also Robin wrote a similar request here: https://altoswebsolutions.com/forum/woo-price-calculator-pro/337-calculating-a-maximum-width

    How many products you have to apply this rule?

    Kind Regards,
    Enrico
    AT260

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.