Can I add +1 to the Entry ID query string?

Hi,

I’m want to use the Query String {entry_id} as a confirmation but I want it to do a +1 calculation on it. So if the submitted entry has Entry ID 266, I want the query string to use 267.

Is something like that possible?

Kind regards,
Joke W.

Hello. I can’t think of a way to do that in the form settings for the confirmation. You don’t have the entry ID before the form is submitted, so there is no way to perform a calculation to arrive at the new number. I would recommend using the gform_confirmation filter to add +1 to the entry ID, and then create your redirect URL.

If you need more assistance making that work, please let us know.

© 2008 - 2021. Gravity Forms is a project by Rocketgenius Inc.