Support » Plugin: Product Addons & Fields for WooCommerce » validation of required fields

  • Resolved czechu92

    (@czechu92)


    Hi,
    Is it possible to add with css a red border on required fields that have not been filled in or some other way to indicate that this particular field has not been filled in?

Viewing 3 replies - 1 through 3 (of 3 total)
  • AndreeaR

    (@andreearadacina21)

    Hi @czechu92

    Thank you for choosing PPOM!
    The required fields are marked with a red asterisk – check photo.
    This can be done while editing a field and checking the Required checkbox – photo.

    Let me know if it helps or if you need something else. Have a great day!

    • This reply was modified 1 month, 1 week ago by AndreeaR.
    Thread Starter czechu92

    (@czechu92)

    @andreearadacina21

    Unfortunately, this is not the answer to my question.
    I meant a situation in which someone fills out a form, does not enter a value into the required field and presses add to cart. Then the field should light up red, e.g. with a red border.
    At the moment the only information that the customer has that he made a mistake is a woocmerca error, which is not so expressive.

    Is it possible to add a red border to a field when a customer does not fill in the required field and press add to cart?

    Plugin Support Mustafa Şükrü Kapusuz

    (@mskapusuz)

    Hi @czechu92

    I’m a developer from Themeisle crew.

    For now, our plugin does not support it. In the Pro version; there is a client side validation but that does not cover your need exactly (shows the notice near the add to cart button and the validation works when typing)

    Thank you for your recommendation. Personally, I think that can be a cool enhancement.

    I’ve added your request to our Github repo, our team evaluates the request and decides if there will be a development or not. You can follow up here: https://github.com/Codeinwp/woocommerce-product-addon/issues/15

    Have a great day!

    Mustafa

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