21 Posts
LPO PACA
1 year ago
1
Topic

Hi,

When validating a form, I am unable to retrieve the article ID, to send it by email with the e-mail field. 

I use code pack BeforeStore :

$numinscrit =$config['pk'];

JCckDevField::updateValue( 'beforeStore', 'inscrip_pins_cembro_num_inscript_new', $numinscrit, $fields,

And I use #inscrip_pins_cembro_num_inscript_new# in y email

Did you have a solution?

Thanks for your help !

Get a VIP membership
21 Posts
LPO PACA
1 year ago
0
Level 1

With code pack extension, you must use the afterStore function and not beforeStore to retrieve the ID

$numinscrit =$config['pk'];
JCckDevField::updateValue( 'afterStore', 'inscrip_pins_cembro_num_inscript_new', $numinscrit, $fields,

Get a VIP membership