Posted on 03/02/2022 13:01:51
Hi Nuno
Dynamicweb only validates fields that are submitted to avoid validation errors on steps where a field is not present.
Radio buttons and Checkboxes in html will not submit anything if nothing has been selected. In this case you have a radiobutton group where nothing has been selected and then the field is not submitted and hence not validated by Dynamicweb.
See "Data representation of a radio group" in https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio
You have 2 ways of solving it - setting a default shipping provider in backend so one of them will always be selected, change the markup to set selected at at least one of them, or add a hidden field with the same name as the radio buttons. The latter will submit an empty field and trigger validation. If a shipping is selected both values are being submitted and then validation will pass.
BR Nicolai