vladblagi
Forum Replies Created
-
Awesome, it works, and it’s a much nicer solution
Hi Danny
Here is the use-case:
– People sign up on a web page
– They get redirected to a thank you page. On the thank you page, I ask them to fill in a feedback form (I use Gravity Forms for this)
– I collect the feedback, but I also want to collect their email in a hidden fieldCookie is a nicer option as I prefer the users not seeing their email in the address bar of the browser. Gravity forms support URL param out of the box, for cookie I think I’d have to use their hook.
Or, could I perhaps use a MailChimp form for this?
Best
VladI’ve hacked it in the code of class-form-request.php, on line 223, replaced the following line:
wp_redirect( $this->form_options[‘redirect’] )
with this
wp_redirect( $this->form_options[‘redirect’] .”?email=”.urlencode($data[‘EMAIL’]) )
But of course this will be overwritten by the next update