This topic is locked
[SOLVED]

 Copy Page: OnLoad Event. Change value of a field when c

5/11/2010 1:21:29 PM
PHPRunner General questions
J
jackieh author

When a copy page loads can I change the value of a fields on the form?
I would like to change to value of 2 fields when the copy page loads:

  1. set CallDate field to now()
  2. set CallStartTime field to now()
    Thanks very much.

Sergey Kornilov admin 5/11/2010

You can use CopyOnLoad event and the following code:

$values["CallDate"]=now();

$values["CallStartTime"]=now();
J
jackieh author 5/11/2010

This is great. Thank you so much.