Check if geo_point input exists
Options
![Dmytro Pyatkovka](https://us.v-cdn.net/6037124/user_avatars/3939210.jpg)
Dmytro Pyatkovka
Member ✭
Hi all,
is there a way to check an input of type "geo_point" if it exists?
Checking for null does not work, it immediately shows the following message if parameter does not exist:[image.png]But when I insert a parameter and leave it empty then it brings me a null[image.png]
is there a way to check an input of type "geo_point" if it exists?
Checking for null does not work, it immediately shows the following message if parameter does not exist:[image.png]But when I insert a parameter and leave it empty then it brings me a null[image.png]
Comments
-
you could accomplish this with a conditional and using the is_empty filter
IF input: location | is_empty | = true
THEN xyz...
ELSE abc... -
thank you for your answer.
But unfortunately this does not work. I have set as follows:
[image.png][image.png]
And this is what I get when no parameter "location" is set.[image.png] -
"Unable to locate input: location" would mean the input does not exist. Are you looking to do something else specifically?
-
Hi ,
I would like to have the "location" parameter not as a required field and would use this API call without specifying "location".
Similar to other parameter types e.g. date or text - if they don't exist, it will return a null and then I can modify the logic with an IF request.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback