RE: Pre-fill Forms from URL
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.url
function 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