Tell us what you are trying to do?
I have setup a CPT called Obituaries, I am trying create a custom tittle for it, at the moment it comes in as something like 'CRED Auto Draft e427a60f5f5f6fb04c406d2345a5593f — Pending'. I would like it to be the First Name and the Last Name from the custom fields.
You may need to get the field values directly from the form. Can you send me a link tot he page where the form is so that I can have a look to determine what exactly are the slugs for the fields that you are retrieving ?
Ah ha! I checked and in the front end it was 'wpcf-first-name' and 'wpcf-last-name'. So I updated the code and it worked.
My issue is resolved now. Thank you!