AnsweredAssumed Answered

PopupTemplate fieldInfo formatting weird behaviour

Question asked by shakiltmbc on Jul 16, 2019
Latest reply on Jul 17, 2019 by Liz.Eidsness_aafc

Why does the first reference to myFieldName in the content work fine, outputting "431467" but the second reference in the href of the link output as "431,467", which breaks the link? On version 4.12.

 

          popupTemplate:{
            title: "My Popup",
            content:"{myFieldName} <a href='https://mysite.co.uk/PDFs/{myFieldName}.pdf'>View Order</a>",
            fieldInfos:[
              {
                fieldName: "myFieldName",
                format: {
                  places:0,
                  digitSeparator: false
                }
              }
            ]
          }

Outcomes