Skip to main content
5 events
when toggle format what by license comment
Feb 17, 2021 at 7:17 vote accept MrIssue
Feb 17, 2021 at 7:17 comment added MrIssue With Prepopulate I was able to do the desired link. Because I can't hide it of 'Manage form display', I installed [Popup field group] (drupal.org/project/popup_field_group) Its funny because popups are not working and the fields added to it dissapear from the form, so I added the reference field to the Pop up group and done! Now my form its not displaying it. Thanks for pointing me to the right direction, I mark your answer as solved :) If someone thinks that last fix with Popup is not recommended let me know
Feb 17, 2021 at 2:45 comment added Patrick Kenny The Prepopulate module will let you pre-fill the form based on the query string, but if you want to hide the field and fill it in automatically, you'll need to write custom code. drupal.org/project/prepopulate
Feb 17, 2021 at 1:11 comment added MrIssue Thank you! I was able to render it, but now I got to see how to make a link that auto-fill the ID of the Content or Comment to automatize it. The idea is to make that field not visible in 'Manage Display Form' so the user only have to click that link to reference it.
Feb 17, 2021 at 0:42 history answered Patrick Kenny CC BY-SA 4.0