This topic is locked

Save and Send button PHPRunner5.3

1/13/2011 8:46:28 AM
PHPRunner General questions
K
kausi author

How to make on edit page a Save and Send button on version 5.3. Sent should be only changed info and email address is included in edit page field.
Following code worked on 5.2 but not on 5.3
on edit page

<INPUT id=submit2 class=button value="Save and Send" type=submit name=submit2>


and BeforeEdit event

$msg="";
if ($_REQUEST["submit2"]=="Save and Send" )
{
global $conn;
$email=$oldvalues["email"];

$subject="Answer on Claim No:".$keys["ID"]."\r\n";
foreach($values as $field=>$value)

{

if(!IsBinaryType(GetFieldType($field)))

$msg.= $field." : ".$value."\r\n";

}



$ret=runner_mail(array('to' => $email, 'subject' => $subject, 'body' => $msg));
}

}
return true;


Thanks

KS

Sergey Kornilov admin 1/13/2011

I would ask you to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.