I have a text box in symfony form which has a foreign key relationship with another table. At the time of adding I add the number and in doSave method fetch the id to save. But at the time of edit, I get the id in the text box. How do I show the number instead of id in edit mode in text box.
Can anyone put a light on this.
Thanks in advance.