Hi @alrehman97
I hope you are doing well.
I am afraid it isn’t possible out of the box, Forminator has some filters for email submission but then you would need to create a small integration to get the coupons code and inject it into email dynamically, but it will require some development to be done.
A small example of an available filter:
/**
* Message data filter
*
* @since 1.0.4
*
* @param array $data - the post data.
* @param Forminator_Form_Model $custom_form - the form.
* @param Forminator_Form_Entry_Model $entry - saved entry @since 1.0.3.
*
* @return array $data
*/
$data = apply_filters( 'forminator_custom_form_mail_data', $data, $custom_form, $entry );
/forminator/library/modules/custom-forms/front/front-mail.php line 105
Best Regards
Patrick Freitas
Hello @alrehman97 ,
We haven’t heard from you for several days now, so it looks like you don’t have more questions for us.
Feel free to re-open this ticket if needed.
Kind regards
Kasia