Select to view content in your preferred language

Set default coordinates for a geopoint that has a calculation

725
2
Jump to solution
07-29-2022 01:52 PM
RosemaryHatch
Regular Contributor

I have a geopoint question that is fed by an address field (using a custom geocoder) on a public web form.  Is there any way to keep a default x,y when I have a pulldata expression in the calculation field? 

 

I could have sworn this was working before just fine, but I'm wondering if there was an update that made it no longer feasible to do both? It's now setting the default to 0,0

 

RosemaryHatch_0-1659127908501.png

 

0 Kudos
1 Solution

Accepted Solutions
LaurenceTait
Frequent Contributor

You just need to put a formula into the calculation field for the geopoint that returns the default if no address is selected and returns the coordinates for a selected address.

LaurenceTait_2-1663116258651.pngLaurenceTait_3-1663116275380.png

 

View solution in original post

0 Kudos
2 Replies
LaurenceTait
Frequent Contributor

You just need to put a formula into the calculation field for the geopoint that returns the default if no address is selected and returns the coordinates for a selected address.

LaurenceTait_2-1663116258651.pngLaurenceTait_3-1663116275380.png

 

0 Kudos
RosemaryHatch
Regular Contributor

Thanks! I think there must have been something buggy going on, because it's working fine now. It definitely keeps me on my toes keeping up with all of the updates!

0 Kudos