PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Changing value tag in xml

  1. eramstad09
    Member

    Hey All

    Hope all is well! Quick question, we are trying to integrate gravity forms on our site with a new rental system that we have implemented between a few stores that we have in town. The goal being that our inventory is always accurate between stores and that gravity forms can integrate with the systems setup so the information doesnt have to be re-formatted with each online query.

    The issue we are having is a disjoint between how information is being exported out of gravity forms and the simple way our rental system is looking to accept the information. The basic structure we are looking to have the data seen as is as follows-

    <firstname>Susan</firstname> <lastname>Test</lastname>
    <email>susan.test@test.com</email>

    Whereas currently the table structure/way that everything is exported into xml format from the current mysql setup appears exported like the following...

    <wp_rg_lead_detail><id>7071</id><lead_id>313</lead_id><form_id>1</form_id><field_number>40</field_number><value>8.5</value></wp_rg_lead_detail>

    We dont need to get rid of the additional fields, i guess is there a way or has anyone come across this problem before. Conceptually i think what i am trying to accomplish would be to combine <field_number>&<value> tags into one custom defined variable that gets exported...

    Ive searched the forums for a bit, and perhaps im not using the correct terminology but was unable to find if this was a possibility...

    Thanks a ton in advance for the help!

    Erik

    Posted 13 years ago on Thursday November 8, 2012 | Permalink
  2. eramstad09
    Member

    Hey Guys

    Just wondering if anyone had any thoughts on this issue or if it would involve an entire database restructuring to get the desired effect?

    Thanks a lot!
    Erik

    Posted 13 years ago on Friday November 9, 2012 | Permalink