i want to link directly to add form from a static page with one field already populated. i have a list of courses on a static page. when someone clicks on one, i want to open a registration database to the add form with the course number already selected and in a hidden field. is this possible? thanks
Feb 28, 2006, 8:13 AM
Veteran / Moderator (8669 posts)
Feb 28, 2006, 8:13 AM
Post #3 of 3
Views: 584
Yes, that will work unless you need to modify the record. If you do need to modify it, you'll likely get nothing in that field. I would say
if ($in{'add_form'}) {
$rec{'ActivityID'} = $in{'ActivityID'};
}
JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
if ($in{'add_form'}) {
$rec{'ActivityID'} = $in{'ActivityID'};
}
JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.

