This topic is locked

Copy Record Button

4/9/2017 7:13:52 PM
PHPRunner General questions
M
mhollibush author

Is there a way to specify which fields the "Copy Record" copies to the new record?
I know it copies the entire record, looking to modify that function to only copy specific fields from the current record

or omit specific fields in the current record
Any help on this would be greatly appreciated

jadachDevClub member 4/9/2017

Use events. Copy page Onload. You can set values for fields there.

romaldus 4/9/2017

for example if you don't want to copy "product_name" field,

[size="3"]In copy onload event:

[/size]

$values["product_name"]="":
M
mhollibush author 4/11/2017

Thank You
I am new to this, so the help is greatly appreciated