Hi all,
I've posted this on here, but I think this is more relevant on the GD.
I have multiple clients which all require the same forms, the only difference between them is that they need to individually manage who has access to what.
So I am trying to have two different installs of FT with their own databases but for them to share the table which hold the actual forms but not their submissions.
i.e. when the form changes, it only needs to be changed in one place
I've found where the tables are specified, but is this going to work overall?
Ta!
I've posted this on here, but I think this is more relevant on the GD.
I have multiple clients which all require the same forms, the only difference between them is that they need to individually manage who has access to what.
So I am trying to have two different installs of FT with their own databases but for them to share the table which hold the actual forms but not their submissions.
i.e. when the form changes, it only needs to be changed in one place
I've found where the tables are specified, but is this going to work overall?
Code:
$order = ft_load_field("order", "form_sort_order", "form_id-DESC");
$keyword = ft_load_field("keyword", "form_search_keyword", "");
$status = ft_load_field("status", "form_search_status", "");
$client_id = ft_load_field("client_id", "form_search_client_id", "");
$search_criteria = array(
"order" => $order,
"keyword" => $keyword,
"status" => $status,
"client_id" => $client_id
);
$num_forms = ft_get_form_count();
$forms = ft_search_forms($client_id, true, $search_criteria);
$clients = ft_get_client_list();
Ta!