URL or Page Title to form input

A quick example of how to pass the current web address or page title to a hidden form field. If you look in the form block you'll see an embed with a coded inputs that have id's of 'url' and 'page-title'. There is some code in the before body code block in page settings that passes the URL and Page Title through. Hope this helps someone!