<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Tag: XML - Recent Topics</title>
		<link>https://legacy.forums.gravityhelp.com/tags/xml</link>
		<description>Gravity Support Forums Tag: XML - Recent Topics</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 04:48:52 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/tags/xml/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>rfromond on "XML edits to existing form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/xml-edits-to-existing-form#post-290029</link>
			<pubDate>Thu, 30 May 2013 14:37:14 +0000</pubDate>
			<dc:creator>rfromond</dc:creator>
			<guid isPermaLink="false">290029@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a form that I use to collect data from customers.  The form was built prior to the release of the survey/poll add-ons.  I would like to change certain radio/checkbox fields in this form to radio/checkbox poll or survey fields so that I can use the functionality of those features.&#60;/p&#62;
&#60;p&#62;The issue I'm having is that I need to use this particular form (let's call it Form 1) because that is the form my payment forms link up to, and I also have tools that pull certain data from this form based on the field ID number (long story).&#60;/p&#62;
&#60;p&#62;I know enough to export a form's xml file, edit the question properties, and then import it back, but importing the revised xml file creates a new form.  What I need to do is edit the xml file in Form 1 and then save the changes so that the new changes are reflected within Form 1.  &#60;/p&#62;
&#60;p&#62;Is there a way to do this?  Thanks in advance!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>voiid on "JSON(P)/XML export interface API"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jsonpxml-export-interface-api#post-280437</link>
			<pubDate>Mon, 27 May 2013 07:35:05 +0000</pubDate>
			<dc:creator>voiid</dc:creator>
			<guid isPermaLink="false">280437@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It's really necessary to support an API interface ( addon ) so that ppl can share the data gathered with GF. I'd like to visualize the results of polls/surveys with highcharts on  another website. The manual CSV export is no solution. Please support a query API with JSONP &#38;amp; XML. In case somebody has a snippet that I could use to query the database and output the result as JSON, please share it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jezweb on "XML-Gravity form entries send to mail with XML format, when we submit the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/xml-gravity-form-entries-send-to-mail-with-xml-format-when-we-submit-the-form#post-320186</link>
			<pubDate>Thu, 13 Jun 2013 05:08:47 +0000</pubDate>
			<dc:creator>jezweb</dc:creator>
			<guid isPermaLink="false">320186@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
If possible to send Gravity form entries via mail with xml file format. &#60;/p&#62;
&#60;p&#62;When we submit the form, normally all form entries send to email with html format. But i need to send mail with xml format. Please tell me any ideas.&#60;/p&#62;
&#60;p&#62;Thanks in advance for any help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Estone on "formsubmission to xml on server"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/formsubmission-to-xml-on-server#post-315862</link>
			<pubDate>Mon, 10 Jun 2013 17:54:05 +0000</pubDate>
			<dc:creator>Estone</dc:creator>
			<guid isPermaLink="false">315862@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Name: Jim&#60;br /&#62;
Contact Email: &#60;a href=&#34;mailto:jimrol@gmail.com&#34;&#62;jimrol@gmail.com&#60;/a&#62;&#60;br /&#62;
Date Needed: ASAP&#60;/p&#62;
&#60;p&#62;Project: Grafity form submission to xml file on server&#60;/p&#62;
&#60;p&#62;Description:&#60;br /&#62;
Can anyone build for me a script that writes a formsubmission to a xml-file on de server?&#60;/p&#62;
&#60;p&#62;Please send your questions/quotes to emailaddress above.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Jim
&#60;/p&#62;</description>
		</item>
		<item>
			<title>choong.michael88 on "Can I export form entries to XML?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-export-form-entries-to-xml#post-305098</link>
			<pubDate>Thu, 06 Jun 2013 01:46:06 +0000</pubDate>
			<dc:creator>choong.michael88</dc:creator>
			<guid isPermaLink="false">305098@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;I was wondering would it be possible to export out all entries from the form to xml file? I need the xml to import to another system. Many thanks in advance for your help.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Michael
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bobn on "ADF/XML"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adfxml#post-100857</link>
			<pubDate>Mon, 10 Dec 2012 11:19:53 +0000</pubDate>
			<dc:creator>Bobn</dc:creator>
			<guid isPermaLink="false">100857@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello, &#60;/p&#62;
&#60;p&#62;Before I buy will your product create ADF/XML forms?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thinkluke on "Custom Form Field With Multiple Inputs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-form-field-with-multiple-inputs#post-45266</link>
			<pubDate>Mon, 02 Jan 2012 02:37:44 +0000</pubDate>
			<dc:creator>thinkluke</dc:creator>
			<guid isPermaLink="false">45266@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I am trying to create a form that gets the latitude and longitude from Google maps and saves it to a custom table in WordPress. &#60;/p&#62;
&#60;p&#62;Currently i have created a the required fields and everything populates as expected.&#60;/p&#62;
&#60;p&#62;I have then added a custom field type to gravity forms. This renders fine on the client side however doesn't appear to be working on the server side as it is not sending the values through to gravity forms... i would like the function to display as the name field displays in entries.&#60;/p&#62;
&#60;p&#62;I am hoping you maybe able to let me know where i am going wrong &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Add a custom field button to the advanced to the field editor
add_filter( &#38;#39;gform_add_field_buttons&#38;#39;, &#38;#39;add_loc_field&#38;#39; );
function add_loc_field( $field_groups ) {
    foreach( $field_groups as &#38;amp;$group ){
        //if( $group[&#38;quot;name&#38;quot;] == &#38;quot;advanced_fields&#38;quot; ){ // to add to the Advanced Fields
        //if( $group[&#38;quot;name&#38;quot;] == &#38;quot;standard_fields&#38;quot; ){ // to add to the Standard Fields
        if( $group[&#38;quot;name&#38;quot;] == &#38;quot;post_fields&#38;quot; ){ // to add to the Standard Fields
            $group[&#38;quot;fields&#38;quot;][] = array(
                &#38;quot;class&#38;quot;=&#38;gt;&#38;quot;button&#38;quot;,
                &#38;quot;value&#38;quot; =&#38;gt; __(&#38;quot;Add Location&#38;quot;, &#38;quot;gravityforms&#38;quot;),
                &#38;quot;onclick&#38;quot; =&#38;gt; &#38;quot;StartAddField(&#38;#39;add_loc&#38;#39;);&#38;quot;
            );
            break;
        }
    }
    return $field_groups;
}

// Adds title to GF custom field
add_filter( &#38;#39;gform_field_type_title&#38;#39; , &#38;#39;add_loc_title&#38;#39; );
function add_loc_title( $type ) {
    if ( $type == &#38;#39;add_loc&#38;#39; )
	echo $field[&#38;quot;type&#38;quot;];
        return __( &#38;#39;Add Location&#38;#39; , &#38;#39;gravityforms&#38;#39; );
}

// Adds the input area to the external side
add_action( &#38;quot;gform_field_input&#38;quot; , &#38;quot;add_loc_field_input&#38;quot;, 10, 5 );
function add_loc_field_input ( $input, $field, $value, $lead_id, $form_id ){

    if ( $field[&#38;quot;type&#38;quot;] == &#38;quot;add_loc&#38;quot; ) {

		$value = array (

		);
        $max_chars = &#38;quot;&#38;quot;;
        if(!IS_ADMIN &#38;amp;&#38;amp; !empty($field[&#38;quot;maxLength&#38;quot;]) &#38;amp;&#38;amp; is_numeric($field[&#38;quot;maxLength&#38;quot;]))
            $max_chars = self::get_counter_script($form_id, $field_id, $field[&#38;quot;maxLength&#38;quot;]);

        $input_name = $form_id .&#38;#39;_&#38;#39; . $field[&#38;quot;id&#38;quot;];
        $tabindex = GFCommon::get_tabindex();

		//div start
		$wrap_start = sprintf(&#38;quot;&#38;lt;div id=&#38;#39;gmaps_location_%s&#38;#39; class=&#38;#39;ginput_complex ginput_container&#38;#39;&#38;gt;&#38;quot;,$field[&#38;quot;id&#38;quot;]);

		//Location - Address
		$location_address = sprintf(&#38;quot;&#38;lt;input type=&#38;#39;text&#38;#39; name=&#38;#39;input_%d_address&#38;#39; id=&#38;#39;%s_address&#38;#39;/&#38;gt;&#38;lt;label for=&#38;#39;add_loc_&#38;quot; . $field[&#38;quot;id&#38;quot;] . &#38;quot;_address&#38;#39; id=&#38;#39;add_loc_&#38;quot; . $field[&#38;quot;id&#38;quot;] . &#38;quot;_address_label&#38;#39;&#38;gt;Enter Location&#38;lt;/label&#38;gt;&#38;quot;	, $field[&#38;quot;id&#38;quot;], &#38;#39;add_loc_&#38;#39;.$field[&#38;#39;id&#38;#39;], $location_value, $disabled_text, $field_id);

		//Submit Location
		$sub_id = &#38;quot;add_loc_&#38;quot;.$field[&#38;#39;id&#38;#39;].&#38;quot;_address&#38;quot;;
		$sub_location = &#38;quot;&#38;lt;input type=\&#38;quot;button\&#38;quot; onclick=\&#38;quot;findAddress(document.getElementById(&#38;#39;{$sub_id}&#38;#39;).value);\&#38;quot;  value=\&#38;quot;Set Address on Map\&#38;quot; class=\&#38;quot;b_submit\&#38;quot;&#38;gt;&#38;quot;;

		$location_submit = $sub_location;

		//Map Canvas
		$map_canvas = &#38;quot;&#38;lt;div id=&#38;#39;map_canvas&#38;#39; style=&#38;#39;width:500px; height:500px&#38;#39;&#38;gt;&#38;lt;/div&#38;gt;&#38;quot;;	

		//Lat Position
		$lat_position = sprintf(&#38;quot;&#38;lt;input type=&#38;#39;text&#38;#39; name=&#38;#39;input_%d_lat&#38;#39; id=&#38;#39;%s_lat&#38;#39; value=&#38;#39;%F&#38;#39; $tabindex %s/&#38;gt;&#38;lt;label for=&#38;#39;add_loc_&#38;quot; . $field[&#38;quot;id&#38;quot;] . &#38;quot;_lat&#38;#39; id=&#38;#39;add_loc_&#38;quot; . $field[&#38;quot;id&#38;quot;] . &#38;quot;_lat_label&#38;#39;&#38;gt;Latitude&#38;lt;/label&#38;gt;&#38;quot;, $field[&#38;quot;id&#38;quot;], &#38;#39;add_loc_&#38;#39;.$field[&#38;#39;id&#38;#39;], esc_attr(stripslashes($geo_latitude)), $disabled_text, $field_id);

		//Lon Position
		$lon_position = sprintf(&#38;quot;&#38;lt;input type=&#38;#39;text&#38;#39; name=&#38;#39;input_%d_lon&#38;#39; id=&#38;#39;%s_lon&#38;#39; value=&#38;#39;%F&#38;#39; $tabindex %s/&#38;gt;&#38;lt;label for=&#38;#39;add_loc_&#38;quot; . $field[&#38;quot;id&#38;quot;] . &#38;quot;_lon&#38;#39; id=&#38;#39;add_loc_&#38;quot; . $field[&#38;quot;id&#38;quot;] . &#38;quot;_lon_label&#38;#39;&#38;gt;Longitude&#38;lt;/label&#38;gt;&#38;quot;, $field[&#38;quot;id&#38;quot;], &#38;#39;add_loc_&#38;#39;.$field[&#38;#39;id&#38;#39;], esc_attr(stripslashes($geo_longitude)), $disabled_text, $field_id);

		//end div
		$wrap_end = &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;

		$multifield = $wrap_start;
		$multifield .= $location_address;
		$multifield .= $location_submit;
		$multifield .= $map_canvas;
		$multifield .= $lat_position;
		$multifield .= $lon_position;
		$multifield .= print_r($value);
		$multifield .= $wrap_end;

		//$multifield = sprintf(&#38;quot;&#38;lt;div class=&#38;#39;ginput_container&#38;#39;&#38;gt;&#38;lt;input type= &#38;#39;text&#38;#39; name=&#38;#39;input_%s_address&#38;#39; id=&#38;#39;%s_address&#38;#39; class=&#38;#39;textfield gform_add_loc %s&#38;#39; value=&#38;#39;%s&#38;#39; /&#38;gt;&#38;lt;/div&#38;gt;&#38;quot;, $field[&#38;quot;id&#38;quot;], &#38;#39;add_loc-&#38;#39;.$field[&#38;#39;id&#38;#39;] , $field[&#38;quot;type&#38;quot;] . &#38;#39; &#38;#39; . esc_attr($field[&#38;#39;cssClass&#38;#39;]) . &#38;#39; &#38;#39; . $field[&#38;#39;size&#38;#39;] , esc_attr(stripslashes($value)));

		 return $multifield;

    }

    return $input;
}

// Now we execute some javascript technicalitites for the field to load correctly
add_action( &#38;quot;gform_editor_js&#38;quot;, &#38;quot;wps_gform_editor_js&#38;quot; );
function wps_gform_editor_js(){
?&#38;gt;

&#38;lt;script type=&#38;#39;text/javascript&#38;#39;&#38;gt;

    jQuery(document).ready(function($) {
        //Add all textarea settings to the &#38;quot;add_loc&#38;quot; field plus custom &#38;quot;add_loc_setting&#38;quot;
        // fieldSettings[&#38;quot;add_loc&#38;quot;] = fieldSettings[&#38;quot;textarea&#38;quot;] + &#38;quot;, .add_loc_setting&#38;quot;; // this will show all fields that Paragraph Text field shows plus my custom setting

        // from forms.js; can add custom &#38;quot;add_loc_setting&#38;quot; as well
        fieldSettings[&#38;quot;add_loc&#38;quot;] = &#38;quot;.label_setting, .description_setting, .admin_label_setting, .size_setting, .default_value_textarea_setting, .error_message_setting, .css_class_setting, .visibility_setting, .add_loc_setting&#38;quot;; //this will show all the fields of the Paragraph Text field minus a couple that I didn&#38;#39;t want to appear.

        //binding to the load field settings event to initialize the checkbox
        $(document).bind(&#38;quot;gform_load_field_settings&#38;quot;, function(event, field, form){
            jQuery(&#38;quot;#field_add_loc&#38;quot;).attr(&#38;quot;checked&#38;quot;, field[&#38;quot;field_add_loc&#38;quot;] == true);
            $(&#38;quot;#field_add_loc_value&#38;quot;).val(field[&#38;quot;add_loc&#38;quot;]);
        });
    });

&#38;lt;/script&#38;gt;
&#38;lt;?php
}

// Add a custom setting to the add_loc advanced field
add_action( &#38;quot;gform_field_advanced_settings&#38;quot; , &#38;quot;add_loc_settings&#38;quot; , 10, 2 );
function add_loc_settings( $position, $form_id ){

    // Create settings on position 50 (right after Field Label)
    if( $position == 50 ){
    ?&#38;gt;

    &#38;lt;li class=&#38;quot;add_loc_setting field_setting&#38;quot;&#38;gt;

        &#38;lt;input type=&#38;quot;checkbox&#38;quot; id=&#38;quot;field_add_loc&#38;quot; onclick=&#38;quot;SetFieldProperty(&#38;#39;field_add_loc&#38;#39;, this.checked);&#38;quot; /&#38;gt;
        &#38;lt;label for=&#38;quot;field_add_loc&#38;quot; class=&#38;quot;inline&#38;quot;&#38;gt;
            &#38;lt;?php _e(&#38;quot;Disable Submit Button&#38;quot;, &#38;quot;gravityforms&#38;quot;); ?&#38;gt;
            &#38;lt;?php gform_tooltip(&#38;quot;form_field_add_loc&#38;quot;); ?&#38;gt;
        &#38;lt;/label&#38;gt;

    &#38;lt;/li&#38;gt;
    &#38;lt;?php
    }
}

//Filter to add a new tooltip
add_filter(&#38;#39;gform_tooltips&#38;#39;, &#38;#39;wps_add_add_loc_tooltips&#38;#39;);
function wps_add_add_loc_tooltips($tooltips){
   $tooltips[&#38;quot;form_field_add_loc&#38;quot;] = &#38;quot;&#38;lt;h6&#38;gt;Disable Submit Button&#38;lt;/h6&#38;gt;Check the box if you would like to disable the submit button.&#38;quot;;
   $tooltips[&#38;quot;form_field_default_value&#38;quot;] = &#38;quot;&#38;lt;h6&#38;gt;Default Value&#38;lt;/h6&#38;gt;Enter the Add Location here.&#38;quot;;
   return $tooltips;
}

// Add a script to the display of the particular form only if add_loc field is being used
add_action( &#38;#39;gform_enqueue_scripts&#38;#39; , &#38;#39;wps_gform_enqueue_scripts&#38;#39; , 10 , 2 );
function wps_gform_enqueue_scripts( $form, $ajax ) {
    // cycle through fields to see if add_loc is being used
    foreach ( $form[&#38;#39;fields&#38;#39;] as $field ) {
        if ( $field[&#38;#39;type&#38;#39;] == &#38;#39;add_loc&#38;#39; ) {
			wp_register_script( &#38;#39;gmaps_api&#38;#39;, &#38;#39;http://maps.googleapis.com/maps/api/js?sensor=true&#38;#39;);
    		wp_enqueue_script( &#38;#39;gmaps_api&#38;#39; );
            break;
        }
    }
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>foodin65 on "Forms Import Not Functioning On Multi-Site Setup"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/forms-import-not-functioning-on-multi-site-setup#post-71380</link>
			<pubDate>Thu, 16 Aug 2012 18:44:39 +0000</pubDate>
			<dc:creator>foodin65</dc:creator>
			<guid isPermaLink="false">71380@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I'm trying to import a gravity form into an already existing site on a multi-site network.&#60;/p&#62;
&#60;p&#62;I get a successful form import message, but when I go to the edit forms page, there are no forms. &#60;/p&#62;
&#60;p&#62;Here's a quick screencast showing the issue:&#60;br /&#62;
&#60;a href=&#34;http://screencast.com/t/3YqlDmray&#34; rel=&#34;nofollow&#34;&#62;http://screencast.com/t/3YqlDmray&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Also, I've added the WP-Config.php options to add the form to newly created sites and I tested that... it also does not work. &#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>freeHat on "import/export form error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/importexport-form-error#post-194232</link>
			<pubDate>Tue, 02 Apr 2013 08:27:32 +0000</pubDate>
			<dc:creator>freeHat</dc:creator>
			<guid isPermaLink="false">194232@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am trying to import/export from one WP installation to another. When I try to import the exported file I get the following error message - 'Forms could not be imported. Please make sure your XML export file is in the correct format.'
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gryan on "Possible to Use Gravity Forms Outside of Wordpress?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/possible-to-use-gravity-forms-outside-of-wordpress#post-13026</link>
			<pubDate>Fri, 19 Nov 2010 18:50:34 +0000</pubDate>
			<dc:creator>gryan</dc:creator>
			<guid isPermaLink="false">13026@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Love using the gravity forms!  This may be a stupid question, but is it possible to use a form on a standard html page outside of wordpress? basically, is there away to export the code for embedding purposes?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
