I am trying to display something like "Field A - Field B" as a title for each content created on a Drupal 7 website.
The Field A is entered manually through Drupal standard form.
The Field B is computed with the module Computed Field and it depends on Field A value (this part works fine).
Now I would like to create automatically the node title on saving with Automatic Entity Label, using Token. (This is the new Automatic Nodetitles).
Unfortunately, using [node:field_a] - [node:field_b], the computed field B value is invisible. More, if you edit the node and save it a second time, the title is OK...
It seems like the field value calculation is made simultaneously with the title generation and thus this value can not be used to generate the title. Of course, I can not tell my client to save twice, we can not say it is user-friendly...
Is there another way to build this automatic title based on a computed field?
Related questions :
How to Compute fields on the fly
What's wrong in my code for setting up entity title in a Computed Field?
On the same subject on Drupal.org :