On my Contact form I have a look up to a custom Details Entity.
When the New option is selected, a Quick Create Form opens up for a user to input additional details about the new contact.
The Details form has a name field that I would like to populate with the Contact's full name and append "-Details"
Example. If the new contact that is being created has the name John Smith, I would like that name to prepopulate the Quick Create Details form onload as "John Smith-Details" in the name field.
What would the javascript code look like to capture the name from the contact form and use in the Quick Create Form?