This topic is locked

Default value in add page

11/17/2011 02:42:34
PHPRunner General questions
K
kikoink02 author

If the user logs in go to the add page the users name must be automatically input the users login_name.

C
cgphp 11/17/2011

In the "Process record values" event of the add page enter this code:

$values['login_name'] = $_SESSION['UserID'];