I am using a search function in the appearance column for a select_one field to query a map service and return features where the geopoint value falls "within" the feature geometry.
If the query returns only one value I would like this to be set as the default value for the select_one field, so the user doesn't need to select it from the drop-down, or alternatively for the query result to be pushed to a text field.
Hi @JohnGrogan1 ,
I have a pretty 'hacky' workaround to make something similar work, but it relies on the fact that there will always be only one query result (in my case I'm returning a point in polygon and there are no overlaps in the polygons). Let me know if you think this would be useful to you and I can message you directly with the details of the workaround.
Regards,
Brett
I would be interest in this as well, @BrettStokes , if you don't mind.
Thanks Brett. I'd be interested to see the solution.