Add other link that open form in list

Add a custom link to open a form from a frontend list.

Overview

The issue is not knowing how to insert a custom link in the list's HTML to trigger a specific form action.
In the frontlist settings, define a column name and then use the HTML box to create a standard HTML link. In the link's URL, include the form name and pass the required record ID as a parameter.

Answered
il ilmagowalter 09 Feb, 2016
Hi,
i have a list of data based on database...i add edit link to call edit action that open form on load event
all works, i can edit the record selected and save correctly.

i want to add another link that open another form on load event passing ID of my list
i create new action in CC, and put in "FormEvent" that "nameofform:load"
after i put permission for this action
the problem is that i don't know how put the link in front list
i tried with _nameofaction_ but don't work
can someone explain how make this ?
Gr GreyHead 09 Feb, 2016
Hi ilmagowalter,

I checked Max's FAQs and don't see an obvious way to do this - there may be one though.

I'd probably add the HTML for the form link into the HTML box - you need to include the identifier for the record you want to edit though. Here's an example for an image link - yours will be a bit more complicated than this.
content.image:<img src='images/{content.id}' />


Bob
il ilmagowalter 09 Feb, 2016
Ty Bob for the answer,
but is strange that system allow to create a new action and after don't allow to call it
Gr GreyHead 09 Feb, 2016
Hi ilmagowalter,

There probably is a way to call it - I just don't know what it is. You can try asking Max using the Contact Us menu above and linking to this thread.

Bob
il ilmagowalter 09 Feb, 2016
Answer
1 Likes
I found a solution and post here for community

in frontlist/setting/columnlist i put only a name of column
Video:Video

in HTML box i put the link i html format passing the value i need
Video:<a href="index.php?option=com_chronoforms5&chronoform=Gestione_Video&ID_SEDE={SedeInstallazione.ID_SEDE}">{SedeInstallazione.ID_SEDE}</a>

using a form named Gestione_VIdeo and a field named ID_SEDE, i have the field with correct value passed from CCv5
This topic is locked and no more replies can be posted.