I have a post type called participants. I need to autofill the post title based on the two values of the Surname and first name fields.
The cred form I am using is called " Add New Participant" with an id of 623
The field slug for each one Is:
student_surname and student-first-name respectively.
Here is the function i am trying to run. It does not give me any errors however the Post title default to "CRED Auto Draft 7726c74b95ac858d5ccbdd91d443f0b1" value
add_action('cred_save_data', 'func_auto_post_name',10,2);
function func_auto_post_name($post_id, $form_data) {
I just see a page with header and footer. I do not see the form.
It seems I will require admin access details to see the form.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
The only thing you missed is , you have to activate the code snippet you have added to "Custom Code" section offered by Toolset. I've just activated the code snippet you added and I can see its working as expected.
Can you please confirm it works at your end as well.