You need to sign in to do that
Don't have an account?
Mark Bailey
Pre-populate fields in a web-to-case form using the URL
I have a web-to-case form that is created and working. I want to send a link by email from within Salesforce. How do I prepopulate specific fields on the form? I don't want them to be hidden inputs, because I want the recipient to see them and possibly change the information.
I can inspect the form fields, get the id and add the info to the URL string, but the information isn't displayed in the VisualForce page form.
Link in email: http://mydomain.com/myform?name={!Contact.Name}&email={!Contact.Email}
URL that is visited:
http://mydomain.com/myform?name=John&email=john@email.com
But the fields in the form are blank.
I can inspect the form fields, get the id and add the info to the URL string, but the information isn't displayed in the VisualForce page form.
Link in email: http://mydomain.com/myform?name={!Contact.Name}&email={!Contact.Email}
URL that is visited:
http://mydomain.com/myform?name=John&email=john@email.com
But the fields in the form are blank.
Matthew Allen
I am also trying to do this but can't get it to work. Is it just you an't do it on a Web2Case?? Anyone have any sucess of this since this was posted 5 years ago?