Conversation
supportHello Team, I am using the Product Add-ons & Extra Options plugin on my WordPress site and I need assistance with setting up a radio button field as a required option. Currently, the plugin does not seem to enforce the radio button selection as mandatory, which is crucial for my product configuration. Could you please advise if there’s a way to make the radio button field required, either through settings or a custom solution? I appreciate your help and look forward to your guidance on how to implement this feature. Thank you in advance!
Hi there, I hope you’re well. Unfortunately, it isn’t possible to set a radio add-on as required. In this case, I suggest you either set a default option in the radio add-on since the customer would only be able to select another option in the same add-on (you will get the default option in the cart if they don’t choose another option), or instead use the checkbox add-ons. We’ll remain at your disposal.
I know the default option, but I want validation. If no option is selected, it should validation. I have set this up using custom JavaScript, So thanks for your help.
Hi there, I hope you’re well. Unfortunately, it isn’t possible to set a radio add-on as required. In this case, I suggest you either set a default option in the radio add-on since the customer would only be able to select another option in the same add-on (you will get the default option in the cart if they don’t choose another option), or instead use the checkbox add-ons. We’ll remain at your disposal.
I know the default option, but I want validation. If no option is selected, it should validation. I have set this up using custom JavaScript, So thanks for your help.