Forums

Add other link that open form in list

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 ?
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
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
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
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.