I wanted to make a custom table on the notification email with the checkbox selected in the input forms. with more checkboxes the user selects, it should dynamically add more rows.
Is it something possible in Gravity forms?
If so, I would like to some help on implementation.
I saw some documentation of gform_notifications, but how can i say a particular notification only to go through this function instead on letting all my notifications go through this function?
is there an id that im missing to add in the filter?
Hi Siva, I’m not certain what you are trying to accomplish exactly, but to your question “how can i say a particular notification only to go through this function instead on letting all my notifications go through this function” you can target one notification by ID like this:
Apply to all notifications: add_filter( 'gform_notification', 'your_function_name', 10, 3 );
Apply to one notification (note form ID): add_filter( 'gform_notification_26', 'form_twenty_six_function', 10, 3 );
Target the notification by name:
add_filter( 'gform_notification', 'change_autoresponder_email', 10, 3 );
function change_autoresponder_email( $notification, $form, $entry ) {
// There is no concept of user notifications anymore, so
// we will need to target notifications based on other
// criteria, such as name
if ( $notification['name'] == 'User Notification' ) {
Thanks for the fast reply chris. This is more detailed explanation on using the notifications.
I have checkboxes on the forms and need to send emails with table layout for price info to their email. I tried adding JS code with in notification email editor for gravity forms but that didnt work. My notification email should have dynamically generated table rows based on user selection.
Hi Siva. You will need to generate the pricing info table in PHP in order to send it with the gform_notification filter. JavaScript won’t work for that.
Thanks Chris, Is there an example for the kind of implementation that I’m looking for? What variables on the gravity form should be changed in php to get it done.