how to Call dataLayer vriable with decimal?
-
When using gravity form address field your plugin adds the various parts as individual item to the “GFEntryData” variable, but it adds a “.1” “.2” etc.
Her si what the notation looks like:
GFEntryData: {
8.1: “value”,
8.2: “value”,
etc
}So to call them I have to use the notation: “GFEntryData.8.1”
But Decimals hold a special meaning. They signify the JSON layers. This meant he notation of “GFEntryData.8.1″is actually looking for a sub element to “GFEntryData.8”.
GFEntryData: {
8: {
1: “value”,
2: “value”,
}
}
So I’m unsure how to actually pull these values with the plugin’s output.
- The topic ‘how to Call dataLayer vriable with decimal?’ is closed to new replies.