Skip Navigation

[Resolved] CRED forms – forcing a valid Google address?

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 4 replies, has 3 voices.

Last updated by Beda 7 years, 5 months ago.

Assisted by: Noman.

Author
Posts
#522921

I am trying to use a form to capture an address. The addresses will later be plotted on a map and the map used to make decisions. I want the user to be responsible for entering a valid address - at present they use a text field and can enter a variant of a road name and I spend a lot of time cleaning addresses.

Using a Google map when they enter the address is a big step forward, but my CRED form doesn't force the user to enter a valid street address. They could, for example, enter 69 Dodgyass Boulevard, Nowheretown and still be able to save the record.

I want to carry out some sort of validation of the address before the form is submitted. Does anyone have a clever idea? Thanks in advance ????

#523104

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Greig,

Thank you for contacting Toolset Support. Toolset Maps does not have any builtin option for this. I found some custom solutions posted here:
http://stackoverflow.com/a/683431
http://stackoverflow.com/a/34339799

It would need some custom coding to make it happen. We have some recommended list of service providers here if you would like to take a look: https://toolset.com/consultant/

If you would like me to send it as feature request to our development team, please let me know and I will be happy to do this.

Have a great day, Thank you

#523218

Hi Noman

Thanks very much for your reply.

I think that this would be a very good feature to add to CRED. Think of it in the same way as a Select menu - we wouldn't want a user to write their own value having already chosen from the list we presented them. This is kind of the same thing 🙂

Kind regards,
Greig

#523379

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello Greig,

Sure, I have submitted it as feature request to our development team for further consideration.

Have a great day, Thank you

#533637

This is not possible.

How should we, or Google, know what is valid and what not.

There are Addresses that not even Google will find.
And then, you need Custom Addressees.

It's like with Phone Numbers. You can't really validate them.

I am sorry to say that this can not be implemented in e globally valid way.

We will not be able to add this.

The forum ‘Types Community Support’ is closed to new topics and replies.