{"id":19008577,"date":"2026-09-01T13:06:15","date_gmt":"2026-09-01T13:06:15","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/radio-list-validation\/"},"modified":"2026-09-01T13:08:00","modified_gmt":"2026-09-01T13:08:00","slug":"radio-list-validation","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/radio-list-validation\/","title":{"rendered":"Radio list validation"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">There are two forms on this page, both with radio lists, both broke somewhere between versions 3.15.0 and 3.15.2 (I have temporarily rolled back to 3.15.0).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The list Labels are text, and the list Values are email addresses, used to populate an &#8216;Email to chosen recipient&#8217; action. I&#8217;ve done various tests with other Values, and the validation works with regular text but fails with email addresses, giving the message &#8220;Invalid selection.&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I see the Change Log includes 3.15.1 (24 August 2026) <em>Security Enhancements:<\/em> strengthen input validation for list field option imports, and it seems likely that this is the issue. But my forms are both manually created, rather than using import.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Is there some way of allowing email addresses in the form Values?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks,<br \/>NoThroughRoad<\/p>\n","protected":false},"template":"","class_list":["post-19008577","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19008577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19008577\/revisions"}],"predecessor-version":[{"id":19008580,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19008577\/revisions\/19008580"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19008577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}