Prefill website field with url parameter

Hi, I’m using a website field in my form and I had a custom parameter as “event_url”.
I try to prefill this one by passing url like :

$_GET['event_url'] = urldecode(tribe_get_event_website_url($event_id));

But when I do that, the form disappear ! Maybe for error but I can’t debug.
Somebody knows how to achieve this ?

I’m not sure to understand your use case, is event_url added to the URL of the page where your form is embedded ? Like

Or are you trying to generate a query string after submission for a Redirect confirmation?

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