Autofill a Wix Form with Logged In Member Info

Поділитися
Вставка
  • Опубліковано 12 вер 2024

КОМЕНТАРІ • 26

  • @Poisoned007
    @Poisoned007 7 місяців тому

    congrats on those 4k subs, now let's go for the 5k, you deserve that and more, Wiz.

    • @thewixwiz
      @thewixwiz  7 місяців тому

      Thanks so much!!

  • @drousar
    @drousar 4 місяці тому +1

    The code works great to autofill. But when I submit the form, the values aren't saving. Any idea what I am missing?

    • @michaelkearney576
      @michaelkearney576 Місяць тому

      I'm getting the same issue. It seems really intermittent.Sometimes works, mostly does not.

  • @slashedshortsdotcom
    @slashedshortsdotcom 2 місяці тому

    Hey @thewixwiz, I had a blast following your tutorial, and I'm thrilled to say the code is working great! However, I ran into a bit of a snag. As @RodneyMaele pointed out, "it fails to insert into the data collection field the input field is connected to after submission." This is quite frustrating, especially for us learners who completed your tutorial only to find the solution didn’t work as expected. Users might not realise they’re submitting blanks, and repopulating the fields this way feels redundant. Could you possibly update the video description with a solution or some debugging tips for us noobs? Thank you for the tutorial, please keep them coming!

    • @thewixwiz
      @thewixwiz  2 місяці тому +1

      Hi, thanks for your comment! I have double checked this on the site you see in the tutorial and can confirm that the auto populated fields appear in the submissions table for the form. While I don't doubt that you are encountering the issue you mentioned, it is hard to provide guidance when I can't replicate the scenario. I would recommend double checking:
      1. That there is a submissions table for your form.
      2. That you aren't using test@gmail.com or the likes as the email address for submission.
      3. If you are using "old forms" or "new forms" (this demo uses old forms).
      If none of the above helps, you are welcome to join the livestream next week and maybe we can take a look at it.

    • @slashedshortsdotcom
      @slashedshortsdotcom 2 місяці тому

      @@thewixwiz I see, perhaps it's due to using the 'new form' then. Would love to join the livestream but can't find how to join it.

  • @haripriyakatti20
    @haripriyakatti20 7 місяців тому

    Great Video Sir

  • @shreerammahadik2124
    @shreerammahadik2124 7 місяців тому

    thank you very much godsend😇50% work complete

  • @jonathanfarchi-segal8420
    @jonathanfarchi-segal8420 5 місяців тому

    Hi Eitan, how do I pull custom field data? I am trying to pull numbers and dates of birth, and boxes checked.

    • @thewixwiz
      @thewixwiz  5 місяців тому

      Hi, have you seen my tutorial about Custom Forms?

  • @garyhui2023
    @garyhui2023 6 місяців тому

    thanks for your video. i was educated from your tutorial.
    Can i convert this wix form data to google sheet?

    • @thewixwiz
      @thewixwiz  6 місяців тому

      If you are using a Wix form you can set that up via an automation -
      support.wix.com/en/article/wix-automations-sending-data-to-google-sheets

  • @nachovidondo296
    @nachovidondo296 2 місяці тому

    How can i create an auto increment field in a cms . Let say i have a colecction called Trip. As soon i create a new one i need it to make an auto generate field called Trip Number .. Any suggestions?
    Thanks!

    • @thewixwiz
      @thewixwiz  2 місяці тому

      Sounds like a typical use case for a data hook!

    • @nachovidondo296
      @nachovidondo296 2 місяці тому

      @@thewixwizyes could be , do you have any example? Thanjs

    • @nachovidondo296
      @nachovidondo296 2 місяці тому

      @@thewixwiz hey brother there is any way to make that?

  • @user-bm9cs8ky7p
    @user-bm9cs8ky7p 7 місяців тому

    hi thanks so much for your content i have a different question regarding a contact form i want to make with the url that one box lets say called "traffic source" prefilled with "campaignx" so like that i know when i send out the form i get the results knowing it came from that source... so i can customize it. Please let me know if there is any way to do so. I tried looking up how but couldnt find any solution thanks in advance. Note that i am using wix forms and added a field...

    • @thewixwiz
      @thewixwiz  7 місяців тому

      Thanks for watching! You could use the same principles in this video to pre-populate a field with any value.

  • @sumandas1
    @sumandas1 7 місяців тому

    Why connecting data set by CMS slow my page

    • @thewixwiz
      @thewixwiz  7 місяців тому

      It shouldn't make a big difference unless you are loading a lot of data!

    • @sumandas1
      @sumandas1 7 місяців тому

      @@thewixwiz I want to learn velo coding do you have any platform or training program to join

    • @thewixwiz
      @thewixwiz  7 місяців тому

      @@sumandas1 you can check out my course on Udemy! www.udemy.com/course/velo-for-beginners/?referralCode=01160FFEE1B0AC0D7884

  • @RodneyMaele
    @RodneyMaele 7 місяців тому

    Thank you for the tip, very helpful. I just have 2 questions
    1. Though the input field is displaying the current member firstName , it fails to insert it into the data collection field the input field is connect to after submission, the field is empty in the data collection... I've reviewed all my permissions, they are set to allow anyone to edit. What could be the problem?
    2. What are the benefits of using the async function rather than this simple one
    $w.onReady(function () {

    currentMember.getMember()

    .then((member) => {

    const fullName = `${member.contactDetails.firstName} ${member.contactDetails.lastName}`;

    $w('#fullNameInput').value = fullName

    • @thewixwiz
      @thewixwiz  7 місяців тому +1

      Hey, thanks so much for your comment and support!
      It is hard to know what the issue is without taking a look at your code. There are several ways we can offer help -
      1. Our free forum: thewixwiz.com.com/forum - I try to address questions there at least once a week. Please support your question with code snippets, screenshots, and even video.
      2. Developer services. You can schedule a consult at thewixwiz.com/book-online.
      Asynchronous functions are another approach to resolving promises that often leads to cleaner code by avoiding what is known as "callback hell".
      I appreciate your support and thanks for watching!