FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Return field value
#1
Hi,

I'm using the api to retrieve submissions which works well. However my dropdown list has the following entries....

Order Field Value Display Text
1 ami-f5f86b82 Centos6-template-clean

But when I try and get the information back in an xml format I only ever get the display text.

How can I retrieve the Filed value instead?

This is the code I'm using.....

<?php
require("global/api/api.php");
$page = ft_api_load_field("page", "page", 1);
ft_api_show_submissions(1, 1, 7, $return_as_string);
?>

And this is the result.....

<submission_id><![CDATA[13]]></submission_id>
<col_1><![CDATA[*****]]></col_1>
<col_2><![CDATA[t2.micro]]></col_2>
<col_3><![CDATA[default]]></col_3>
<col_4><![CDATA[Centos6-template-clean]]></col_4>
<col_5><![CDATA[EU (Ireland)]]></col_5>
<submission_date><![CDATA[2015-06-22 11:50 AM]]></submission_date>
<last_modified_date><![CDATA[2015-06-22 12:14 PM]]></last_modified_date>
<ip_address><![CDATA[********]]></ip_address>

Any ideas?

Cheers,

Neil
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)