Sometimes you have requirement to open the particular type of new record with some default values already filled. This can be achieved by passing the field values to the query string.
To open the new record form
Pass field values as query string parameters
If you need to pass the multiple field values then just append those field-value combination string at the end with the “&” as a separator.
Note while generating the URL you need to take care of some characters. Instead of directly placing the character you need to use the ASCII code for that character. Below table will provide you with the list of mostly used characters while creating URL. You should prefix the “%” character before the ASCII code.
(Blue is the actual field name and its related attribute name like for lookup there are 2 names and brown is the actual value)
Below is the total URL with all above field values passed to the new contact form,
Hope this helps!