Is ist possible to prefill (hidden) fields from the URL of the webpage.
Example: https://mysite.com/events/event-20200512-0900
Can I somehow get that date and time from the URL into my form?
Hi,
I think you should be able to use the Power Automate AI builder to achieve this as well,
I have not tested it but sounds doable.
Hi KE Comm,
You can achieve it by adding custom typescript code to corresponding ts file(eventregistration.component.ts) of event registration page.
In the ts file, use
this.router.urlfunction get full URL then extract date and time from it.
Process to extraction:
1. Get "event-20200512-0900" with lastIndexOf function.
2. Use split function to split date and time value to 3 substrings. 20200512 is the second substring, 0900 is the third.
Finally, return the extracted value to page.
The whole process would be bit complex, please feel free to ask any question if you had encountered any trouble when adding custom code.
Regards,
Clofly
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156