We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17921
    • 101 Posts
    mrhaw, thanks! smiley
      samurai smiley
      • 17921
      • 101 Posts
      Hallo, me again smiley Is it possible to add capcha to this form?
        samurai smiley
        • 33238
        • 388 Posts
        Hello, i'm having a problem with eform and ajax...

        I have a form with a jQuery code that I'm using to validate and call some content using Ajax into a <option field:

        <form method="post" action="[~[*id*]~]" id="bookingForm" name="bookingForm">
        <input name="forxmid" type="hidden" value="bookingForm" />
        more code
        var loadToPlaces = function (fromPlaceId) {
            var params = {"method":"loadToPlaces", "fromId":fromPlaceId};
                [b]type: "POST",[/b]
                url: "[~208~]",
                data: params,
                dataType: "json",
                success: function(data) {
                    $.each(data.places, function(index, value) {
                        $('#toSelect').append('<option value="' + value.id + '__' + value.location + '">' + value.name + '</option>');
                            function() {
                                var dataArray = $(this).val().split("__");
                                setMarkerPosition(dataArray[1], false);

        Everything works perfect, BUT the SEND button is not sending the form, the problem is this:

        type: "POST",

        If i change it to GET for example, the form works perfect, but the <option will not get the info....

        ANY IDEAS???
        Thank you very much.
          • 52896
          • 1 Posts
          Great Tut, it really worked for me! smiley smiley

          I'm just having one problem. I want the shareform to automaticlly load when I open the page. Window unload doesn't work. Can somebody please help me?