• Resolved divyeshpanchal

    (@divyeshpanchal)


    After adding a product to the cart, go to the checkout page where I want to apply conditional validation. If the user selects “Order type: Company,” two other fields should be required; otherwise, those fields should not be required.

    Screenshot

    The page I need help with: [log in to see the link]

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

    (@diana_burduja)

    Hello @divyeshpanchal,

    unfortunately, the Input Field Block plugin doesn’t support conditional validation. We’re planning to add the feature sometime in the future.

    Thread Starter divyeshpanchal

    (@divyeshpanchal)

    Hello, could you please provide a detailed answer to my question on how to add fields based on specific conditions?

    Plugin Author SilkyPress

    (@diana_burduja)

    Hello, it is not possible to add fields based on specific conditions. The plugin doesn’t support the feature.

    James

    (@james-feaver)

    Hello,

    I read your reply to the original poster: “it is not possible to add fields based on specific conditions.?“. That’s a shame. At a first quick look your plugin is brilliant. It makes the complicated job of adding custom fields to a block-based checkout VERY easy compared to WooCommerce’s VERY technical route with json, Webpack and JavaScript. However, I am looking to replace a plugin I wrote for the classic checkout that uses conditions (if a specific product is in the cart) to determine display of certain custom fields.

    Hoping that gets on to your development map.

    Thanks,

    James

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