WPform adress validation | WordPress.org
Hey everyone,
I’m using wpform for a form on my site and I need a hand. I want to make sure the address someone enters is accurate before the form is sent. If it’s not, I want to show an error. But if it’s all good, the form should go through like normal.
Right now, I’ve got a dropdown list of addresses from Google API, but it doesn’t check the address if someone decides not to use the suggestions/autocomplete. Is there any way to make sure they pick from the dropdown list or to validate the address?
I saw Google has an Address Validation API (https://developers.google.com/maps/documentation/address-validation/overview), but it seems a bit over my head with my limited programming skills. I’m not even sure if it can work with wpform and wordpress. Anyone know a simpler way to do this or to force the user to choose the address from the dropdown list? Appreciate any help!
Thanks,
Ann
The page I need help with: [log in to see the link]
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس