{"id":18170294,"date":"2024-11-29T22:35:58","date_gmt":"2024-11-29T22:35:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/validating-fields-on-server\/"},"modified":"2024-11-29T22:35:58","modified_gmt":"2024-11-29T22:35:58","slug":"validating-fields-on-server","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/validating-fields-on-server\/","title":{"rendered":"Validating fields on server"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi everyone, <br \/><br \/>I have a form with a strip payment, I have a field that the user will use to enter some data&#8230; Is there a way where I can do some stuff on the server and tell the form if the field passed the validation or not to hide the payment part? <\/p>\n","protected":false},"template":"","class_list":["post-18170294","topic","type-topic","status-publish","hentry","topic-tag-ajax","topic-tag-server","topic-tag-validation"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18170294","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":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18170294\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18170294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}