{"id":18260451,"date":"2025-01-23T09:02:02","date_gmt":"2025-01-23T09:02:02","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/field-group-last-field-not-saved-for-future-call-backs-in-form\/"},"modified":"2025-01-23T09:02:51","modified_gmt":"2025-01-23T09:02:51","slug":"field-group-last-field-not-saved-for-future-call-backs-in-form","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/field-group-last-field-not-saved-for-future-call-backs-in-form\/","title":{"rendered":"Field Group &#8211; last field not saved for future call-backs in form"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I am using a group field (repeater field) where the user can input various data types collected by their IoT device (one data type per field).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Later in the same form, I am trying to callback to the user&#8217;s input in that group field using the HTML widget and {} macros.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, I have noticed that in the callback, the input in the very last field is not properly displayed. This can be solved by having the user click on the &#8220;add field&#8221; and leaving the new field blank but this is not an ideal UI.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">e.g:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Repeater field one: email  &#8211;  Repeater field two: name &#8211; Repeater field three: phone number<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the callback, only email and name are shown and phone number is not.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I look forward to receiving your advice on this issue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Kind regards, Clea<\/p>\n","protected":false},"template":"","class_list":["post-18260451","topic","type-topic","status-publish","hentry","topic-tag-group-field","topic-tag-repeater-field"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18260451","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\/18260451\/revisions"}],"predecessor-version":[{"id":18260453,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18260451\/revisions\/18260453"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18260451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}