Issues with Google maps and the requirement of text fields

Hi, because it is difficult to describe my questions in a written form, I made a small 47 second video about it and uploaded it on Youtube:

https://youtu.be/9LFnbxoQqqw

Do you maybe know how to solve these issues?
Thank you in advance :smiley:

Hi, the first question for distance is only possible using these components

https://adalo.pragmaflowservers.com/install-component

You have 4 options

  1. use the geofiltered list which does not allow customization of design for the nice look you made, but can filter by distance
  2. use the distance calculator from the component to calculate and use sometimes visible option
  3. use Google API in external collection to generate the list (a little complicated)
  4. wait for Adalo to fix the problem

For the second problem I don’t quite understand. Are you asking for cascading lists that result Ina value? You probably need to use integromat or something similar to make it work. That or a custom component.

Reference information:

3 Likes

You can wait for this feature to come out as well

1 Like

Hi, thank you very much for your answer. I’ll try your solutions this afternoon and inform you if they worked.

As for the second problem: I want that an ā€œorderā€ is only created, if the two text fields and the two dropdown menus are NOT empty. So there should be a vallue in every text field and in every dropdown menu. If there is no vallue, there should appear a message like ā€œthis field is requiredā€

Okay, for the second problem, there are two ways we manage this.

  1. The easiest way is to use the FORM component. It has the ability to set the field as required or not. This way you just mark all 4 items as required and the system takes care of it for you.
  2. The more difficult way, but let’s you make much nicer UI designs is using invisible fields. It takes a little more work and is difficult to explain so I made a quick video on YouTube to walk through it.
    Tutorial - Adding validation to custom forms - YouTube
2 Likes

Thank you very much. Now every issue is solved :smiley:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.