I was going to try following the instructions there, but I realized our need has something slightly different to it. One of our fields that we want to use in the title can be defined by the method provided in the code on this page. In our case that will be
$field_1 = $_POST['wpcf-match-date-and-time']
But the second and third field we need to use are ones where I'm not sure what to use. You can see our Post Form here:
hidden link
We want to use the Team 1 and Team 2 fields, but these are created through a relationship between our Match and Team content types. So I'm not sure what code I'd need to use for these two fields. Would it be as follows?
Try going to the URL again now. I had the form access set to admin only. I've added it for guest users temporarily so you should be able to see it now. I'll let you see the form before I try the code. I'm just not sure about wpcf-team-1 and wpcf-team-2 being correct for these fields.
OK, I've added this code to the custom code section. Before I test, I have one more question. In the Post Form, we still have the Match Title field in there. We do not need the person filling out this form to provide a Match Title if your code works. So how would you suggest handling that? Should I just delete that field from the form or is it necessary for it to still be there for the post creation process?