Form action into database

Hi, 


i have a form in my project. Also my form contains syncfusion dropdownlistbuttons.  İ have used your form validator. 
Now i want know how can i save the input values and the selected items from dropdownlist into the database when i click submit button. 



Attachment: UserProfile.vue_85d40d3f.zip

1 Reply

BC Berly Christopher Syncfusion Team October 28, 2019 12:31 PM UTC

Hi Nurhan, 


Greetings from Syncfusion support.
 

We have validated your query. We would like to inform you that submit event will be triggered before submitting value to the form. You can get the submitted values with the help of submit event. Please refer the below code snippet and get back to us if you need any further assistance on this.

Code Snippet:
 
this.formObj = new FormValidator('#form-element', this.options); 
    document.getElementById("form-element").addEventListener('submit', (args) => { 
        alert("You Sbmitted:\n" + args.srcElement.querySelectorAll("input[type='text']")[0].value); 
    }) 
 
Regards,
Berly B.C.  
 


Loader.
Up arrow icon