I have created a form with Cred for the post types to be filled in by registered users, but I need the post type to be filled in with the name and surname of the registered user.
At the moment, it appears in my post type as, for example, CRED Auto Draft f528764d624db129b32c21fbca0cb8d6.
It works, since the wpcf-name and wpcf-surname are custom user fields created using Types. What about using the "name" and "surname" of the system (user elements)? What would be the code, please?
I have 2 different credit forms, one records the data into post types of a role and the other one records the data into post types of a different role. The ID of the forms are 2859 and 2886. I have duplicated your code, chaning the ID of the form, but it does not work. How can I solve, please.
Thank you so much.
New threads created by Minesh and linked to this one are listed below: