• Resolved burfila

    (@burfila)


    * The version of WooCommerce Checkout Manager – Version 4.2.4
    * The version of WooCommerce – Version 3.5.3
    * The version of WordPress – 5.0.3
    * Include any PHP errors/warnings/notices (strip out any personal server paths or identifying details, etc.) – None
    * Be descriptive:-

    Requirement:-
    ———–
    I wanted to have a conditional field where if the user chooses shipping type as Pickup, it disables the required validation on Address, State, Zipcode on the checkout page.

    Steps Done:-
    ———-
    1. Created a Radio field in Additional and enabled Required checkbox and titled it as Shipping Type. With Pickup||Delivery as Options.
    2. Under the Billing tab, I enabled Conditional checkboxes for Address, State, Zipcode
    3. Under Conditional tab, I enabled checkboxes under Conditional for Address, State, Zipcode
    4. Also, I enabled checkboxes under Conditional Parent for Address, State, Zipcode
    5. I entered the field-name of Shipping Type (myfield1) in Conditional Tie for Address, State, Zipcode

    What is happening:-
    —————–
    It is throwing the error messages such as “Billing State is a required field.” even when Pickup is chosen as the Shipping Type.

    • This topic was modified 6 years, 1 month ago by burfila. Reason: version
Viewing 1 replies (of 1 total)
  • Kaivan Shah

    (@kaivan02)

    I am facing same issue.
    I have conditional field and I want that if yes is selected then 3 fields are shown out of which first field has to be complusory and out of other two if one field has value then ok else one of the 2 field is complusory to be filled.

    Please provide solution as fast as possible.

Viewing 1 replies (of 1 total)
  • The topic ‘Conditional field not working’ is closed to new replies.