{"id":6802,"date":"2018-06-07T18:36:10","date_gmt":"2018-06-07T18:36:10","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=6802"},"modified":"2020-07-02T11:10:36","modified_gmt":"2020-07-02T18:10:36","slug":"repeating-a-row-on-an-empty-variable","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/repeating-a-row-on-an-empty-variable\/","title":{"rendered":"Repeating a Row on an Empty Variable"},"content":{"rendered":"<p>When using a repeating row, \u2018empty\u2019 values are normally suppressed from output. So, how do you deal with an empty array element?\u00a0In the following sample, the same three array variables are used as the data for each table. The difference is which variable is used as the \u2018Repeat of variable\u2019 parameter of the row. The first table uses a variable for which on value is an empty string. The second has a value on each instance. The third uses the Unicode Non-Breaking Space (\\xA0) character. Download the sample here:\u00a0<a href=\"\/support\/wp-content\/uploads\/2018\/06\/EmptyArrayElement.zip\">EmptyArrayElement<\/a><\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6804\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow.png\" alt=\"\" width=\"593\" height=\"250\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow.png 593w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow-300x126.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow-150x63.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow-250x105.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow-550x232.png 550w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow-427x180.png 427w\" sizes=\"(max-width: 593px) 100vw, 593px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6805\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow2.png\" alt=\"\" width=\"185\" height=\"315\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow2.png 185w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow2-176x300.png 176w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow2-88x150.png 88w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow2-106x180.png 106w\" sizes=\"(max-width: 185px) 100vw, 185px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6806\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow3.png\" alt=\"\" width=\"480\" height=\"115\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow3.png 480w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow3-300x72.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow3-150x36.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/06\/RepeatRow3-250x60.png 250w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When using a repeating row, \u2018empty\u2019 values are normally suppressed from output. So, how do you deal with an empty array element?\u00a0In the following sample, the same three array variables are used as the data for each table. The difference is which variable is used as the \u2018Repeat of variable\u2019 parameter of the row. The [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59,3],"tags":[47],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6802"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=6802"}],"version-history":[{"count":3,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6802\/revisions"}],"predecessor-version":[{"id":8219,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6802\/revisions\/8219"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=6802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=6802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=6802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}