We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Form action into database


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:" + args.srcElement.querySelectorAll("input[type='text']")[0].value); 
Berly B.C.  

Live Chat Icon For mobile
Up arrow icon