How to pre-fill a url in HTML -


i'm trying send email ad out clients when click on link website, information such name, email, , dob included on form.

i'm using structure right in url , it's pre-filling name, nothing else:

params=fname/{{firstname}}/lname/{{lastname}}/birthdate/{{dob_year}}/{{dob_month}}/{{dob_day}}/email/{{email}} 

what do?

that's because use / separator birthdate data. try use separator year/month/day

params=fname/{{firstname}}/lname/{{lastname}}/birthdate/{{dob_year}}-{{dob_month}}-{{dob_day}}/email/{{email}} 

if need slash birthdate can handle before displaying:

php example:

$date = implode('/', explode('-', $_get['birthdate'])); 

Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -