Manually define save link for notification

Hello

I’d be most grateful for some advice please for a multi-page form that uses ‘save and continue’.

Is there a way to manually define a save link on the notification email that includes a query string rather than using the merge tag {save_link}? For example:

< a href=“{save_url}{save_token}/?my_query_string=lorem_ipsum”>Continue with the form

I don’t think I can do it at the function level like shown in the example below because I don’t want the query string applied globally to all {save_link} URLs - just to one specific email notification.

add_filter( ‘gform_save_and_continue_resume_url’, function( $resume_url, $form, $token, $email ) {
$resume_url = add_query_arg( ‘my_query_string’, ‘lorem_ipsum’, $resume_url );
return $resume_url;
}, 10, 4 );

Thanks for your time.

Regards

Ash Whitney

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.