Dates with URL Parameters

Hello!

I’m trying to pass a date into a input field on my page. It’s not using a path, as it is new data.

Does anyone know how I can do this?

Cheers,

Hi @cairngormstudios,

It sounds like you want to extract a date from your URL and have it pre-fill an input, is that correct?

Assuming the date value is formatted properly in the URL, you can do this by adding a dynamic expression to the input’s initial content

You want to use Get data from page url and enter in your parameter name so Bubble knows which parameter’s value to extract. For example, if your URL is 应用宝官网-全网最新最热手机应用游戏下载, then the parameter name here is “registration-date”

If the input in question is a date picker or an input with type of content set to “date,” then make sure you set the type of this parameter to “date” as well so that the input can read the value as a date.

That should help you move forward!

Cheers,
Gaby

Coaching No Code Apps
Join our Facebook group for insider access to no-code development
Get professional development services
Enroll in expert-led courses and products

1 Like