Hi,
Pretty straight forward, I would've thought, but not working.
Basically, on a transition from "inactive" to "active" change the text in the "Transition" form field name (it's a text box).
The condition executes, but I have no clue what's wrong with the POST thing. PHP beginner here
Second thing, how do I obtain the current submission ID, rather than using ft_get_submission_info(1, 1), I would like to use something like ft_get_submission_info(1, $Submission_ID)?
Pretty straight forward, I would've thought, but not working.
Code:
$submission_info = ft_get_submission_info(1, 1);
if (($_POST["Status"]=="Active") && ($submission_info["status"]=="Inactive"))
{
$_POST["Transitions"]= "String";
}
Basically, on a transition from "inactive" to "active" change the text in the "Transition" form field name (it's a text box).
The condition executes, but I have no clue what's wrong with the POST thing. PHP beginner here
Second thing, how do I obtain the current submission ID, rather than using ft_get_submission_info(1, 1), I would like to use something like ft_get_submission_info(1, $Submission_ID)?