Can we add a new column to field collection in edit form? I created a topic before with this question, but i write another to be more exact on what i want to do. I have an entity with several field collections and in this field collections, several fields (text, checkbox, entity ref...). When i open the form in EDIT mode, i want to add a new column to my field collection and in this column i would add a simple link to go to another page. So in my other topic we told me to use "link" module but it's not working on EDIT form but just in VIEW mode. So i searched how to add a column programmatically in drupal. I tried in my HOOK_form_alter to alter the form but i can't...

I can add a new column with jQuery i think but that won't be the best solution.

Someone got an idea ?



Thanks
It sounds like hook_form_alter is the way to go.

See this for more information

See both answers because i think that waht you want to do is just add another tab at the end of the node edit form for just a link to another page.

You can always check the form api for more information