1
0
-1

Hi,

Is it possible to submit a form using Ajax? If yes would somebody have a working example?

In particular I am looking at what to use in the "url" and "data" parameters.

$.ajax({
      type: "POST",
      url: ???,
      data: ???,
      success: function(msg) {
          alert("Success");
       }
});

I need one field of my form to be updated in the database on a button click and on success do some additional processing.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Yes, you can make use of the add-on builder - API Builder - Form update API Form#Updateformdata

      1. CF

        Fantastic! Thank you so much. This helped me a lot.

      CommentAdd your comment...