[Resuelto] How to populate user name and surname as post title in a cred form
This support ticket is created hace 5 años. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
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.
Los hilos nuevos creados por Minesh y vinculados a este se encuentran a continuación: