2

My channel has a few required fields. I want to use those required field to dynamically build the {title} instead of having the user enter it. Is there a way for me to, say, user {first_name} and {last_name} (the required fields of my Channel) as the title?

3 Answers 3

9

You can use MX Title Control or Title Master to do this.

Title Master specifically lists the scenario you describe as an example:

If you have a channel with people in it, it is annoying to have to enter a Title when it is the same information you will enter for the First and Last Name fields. Here is a quick example of templates you could use. Title - {last_name}, {first_name} = Brown, John URL Title - {first_name} {last_name} = john_brown

3

Is there an entry being submitted from front end (not from control panel)? if so I think you are using safecraker. In this case you can use dynamic_title parameter and can pass value like dynamic_title="{first_name} {last_name}".

2
0

You could just make the field a hidden form field and use javascript to update when they enter in their first and last name?

1
  • And that JS would somehow have to work in EE CP, etc. It's a bit messy to try to implement that myself (I'm still learning my way around EE). I was hoping for a native solution. Commented Jan 30, 2013 at 12:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.