What we are hoping to do is when user types in the address and it’s looked up by Google for us to be able to fill in the other address boxes in checkout using it. For this to work we’d need an onchange event to be added I think.
Hi Alex, would it be possible to add a state about whether or not the user has chosen a valid address? I need to be able to check this to validate my form. Many thanks.
Also after taking time to add features and cleanup the code, I raised the price from $5 to $8 so that after bubble commission it leaves me with $6 which is more sustainable for me to keep working on it and spend time supporting users
It would be sustainable if I had 50 more users, so please help me achieve that and leave a review
@arthuro did you have a look at the features I added? Is this what you asked for?
Please remember to leave a nice review, this plugin suffers from missleading reviews
Thx !
is there a way to not allow them to enter anything except the value returned by Google?
Actually there are several options
use events
You can do as I did in the demo to show / hide the “green tick”. Here is how: create a workflow which enables the submit button when an address is selected from the list. In the demo, the event is “AddressInput select an address”. Also create a workflow to disable the submit button when the user writes an address instead of selecting it in the list. In the demo this event is “AddressInput type an address”.
You can use the AddressInput states in your workflows, to test if the user selected an address in the list (the AddressInput’s state “Selected address” is set) or typed to change the selected address (Selected address is empty)
Alex, Thanks for creating this plugin! Couple of questions:
When a user is typing their address, is there a way to not allow them to enter anything except the value returned by Google? I want them to only choose what is in the list.
ALSO, is there a way to allow them to view/choose only street addresses, not places or anything else?
When a user is typing their address, is there a way to not allow them to enter anything except the value returned by Google? I want them to only choose what is in the list.
I actually answered it here, just after I received your email:
ALSO, is there a way to allow them to view/choose only street addresses, not places or anything else?
I added this feature for you, would you tell me if it solves your use case?