I’ve encountered several bugs with the Wix sign-up form. If saving e-mails or phone numbers as part of your signup info, when you link those to the field in Wix Contacts as specified by the documentation, it saves them as strings instead of arrays.
This is incorrect and causes an alert when looking at the contact info.
To workaround these bugs, I decided to use Corvid to create a few lines of code that insert users and populate the contact info instead. That gives me control over correct the bug so that it passes e-mails and phones correctly as an array.
I’ve also added an AddressInput field to the form and linked it to my Google API key. This works great and it produces JSON data when the user selects an address from autocomplete.
The problem is I can’t figure out how to save the info from the JSON data into the database without having to map out every address field individually.
(Supposedly, you can just tie the AddressInput field directly to the database, but I doubt that works since the phone and e-mail didn’t work and they’re just supposed to be simple arrays.)
Anyone know of how to save the address field without parsing all the JSON components from the AddressInput box?