top of page

Forum Posts

gitaganapathy
Nov 01, 2021
In Coding with Velo
Hi! In my Wix Form, I have a dropdown (selection field). The options are populated from a collection such that the option 's label is a readable text ("ABC Course Name") and its value is a system generated ID ("aca0f0a2-aa6a-4474-b082-5f8990e3c8bb"). When the form is submitted, the email notification sent contains the form field Name and Value pairs. As the value is something unreadable like mentioned, I want to set it to the Label Text. I do this change in the onWixFormSubmit event handler. But it gives the above error, whereas the fieldValue change to a text input field is accepted. Kindly help, i am not able to locate the problem. $w("#wixForms1").onWixFormSubmit((event) => { let index = $w("#dropdownCourseName").selectedIndex; let dropdownoptions = $w("#dropdownCourseName").options; let coursename = dropdownoptions[index].label; for (var i=0; i < event.fields.length; i++) { console.log ("Event field", event.fields[i]); // dropdown selection field element. Value is set to Text. fieldValue change gives error if (event.fields[i].id === "dropdownCourseName"){ event.fields[i].fieldValue= coursename; } // text field element. Value is set to Text. No error. fieldValue change is accepted if (event.fields[i].id === "input25"){ event.fields[i].fieldValue= "FIRST NAME"; } } return event.fields; }) Thanks. Gita
0
12
142
gitaganapathy
Dec 23, 2020
In Coding with Velo
I created a form using "Contact & Forms" in the editor. Published the site and tested it. It seems to work fine - When a form is submitted, the success message is shown. From the Dashboard I see that the Inbox contains the form submission message, Contact List contains the details of the new submission. But the Form submissions tab is giving some vague message as below. How to create a form again which is already created? In the editor I clicked "Form Settings" tab of the Form and tried "Create Submissions Table" and it was hanging at "Loading ..". I tried multiple times, but same error. To my shock there were many collections with the same name, when i checked the "Databases" tab in the editor. So I tired removing the newer ones. I am in a mess now. I dont know which is the actual collection that is connected to the forms table. Looks like the original collection got deleted and Wix is not able to resolve which collection to be connected to the Forms Submissions Table, and there is an impasse situation ? Pls help me to connect and view the Form Submission table and the collection. I am attaching screen shots. When I get into the editor and try to create submissions table, it is not happening. It is is stuck at loading... forever In the content manager, I find multiple collections with the same name. When I select the settings, it shows the Form Name and the other settings like email notification etc. When I select the Contacts tab it show the fields that get into the contacts
Wix Form Submissions Table Not Working  content media
0
2
1k

gitaganapathy

More actions
bottom of page