What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Map Address Locator $_POST data in joomla component

    Asked by enovat  on April 04, 2014 at 06:40 AM



    I have succesfully msanaged to retriev $_POST data from a the map address locator Widget ( A powerful widget that is by the way) - When I run the widget outside my joomla component everything is  100%  fine - tha challenge is running it a joomla component form -- when I run in joomla component the [q1_clickTo] does not return any data


    other input fiedls in the the form do return data - here is a var_dump($_POST) data


    Array ( [custom_field_10] => [field_access_10] => 0 [custom_field_12] => Geo-location Based [field_access_12] => 0 [formID] => 40923773875567 [q1_clickTo] => [project_title] => nanzo ke [id_category] => Array ( [0] => 9 ) [start_date] => 2014-04-04 09:42:16 [expires] => 365 [project_type] => COM_JBLANCE_FIXED [budgetrange_fixed] => 10-30 [budgetrange_hourly] => 8-15 [project_duration] => 1 [commitment] => Array ( [period] => 5 [interval] => COM_JBLANCE_DAY


    Take note that after [q1_clickTo] => there is nothing


    take note that outside joomla component I get


    array(3) { ["formID"]=> string(14) "40923773875567" ["q1_clickTo"]=> string(130) "

    Country: SOUTH AFRICA

    Province: KwaZulu-Natal Latitude: -29.8508333 Longitude: 30.993055599999934

    " ["website"]=> string(0) "" } SOUTH AFRICA KwaZulu-Natal -29.8508333 30.993055599999934


    ///////////////////////// Here is the weidget html embedded on the componetn page //////////

    take note also that I have lloaded the jotform javascripts the right way and checked they are working

    the widget HTML


           <input type="hidden" name="formID" value="40923773875567" />
      <div class="form-all">
        <ul class="form-section">
          <li class="form-line" id="id_1">
            <label class="form-label-top" id="label_1" for="input_1"> Address Map Locator </label>
            <div id="cid_1" class="form-input-wide">
              <div style="width:100%; text-align:Left;">
                <iframe onload="widgetFrameLoaded(1)" frameborder="0" scrolling="no" class="custom-field-frame" id="customFieldFrame_1" src="" style="border:none;width:610px; height: 560px">
                  <input id="input_1" class="form-hidden form-widget" type="hidden" name="q1_clickTo" value="">
      document.getElementById("customFieldFrame_1").src = "http://widgets.jotform.io/mapLocator/?&qid=1&ref=" + encodeURIComponent(window.location.protocol + "//" + window.location.host);
    }, 5);
    var _JCFClientID = 1



    please kindly help-what could be disrupting the submmision of map data in joomla



  • Profile Image

    Answered by jedcadorna on April 04, 2014 at 10:19 AM

    Can you please share the site URL so we can further investigate. It seems that you have embedded the form using form source if im not mistaken or I might be wrong. We'd like to check the site if there's anything that could cause this not to work.

    Have you tried re-embedding your form? If you are using a form source have you tried grabbing a fresh copy of the source code?