Dear all
Maybe a dump question. But how can I open a specific ChronoForm with Columns list _EDIT_ function based on a value of another ChronoConnectivity column where I store the form name. See following example
Description l Form l Action
--------------------------------------------
Text Text Text l form1 l _EDIT_ --> will open form 1
Text Text Text l form2 l _EDIT_ --> will open form 2
Sorry for my bad english!
Thanks in advance
Enrico
Nobody who can give me an idea or a small hint on this? I'm searching since hours without getting any practical solution even not a point to start bring this to work.
Hi Enrico,
You may need to use the "Linkable" box instead, to build your own link, and use the "chronoform" parameter in the link:
chronoform={Model.field_name_which_has_form_name}
CC is designed to use 1 form per action though, so I'm not sure if this will work!
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
But let me know how it works and I may have a different thought!
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Max
Thanks for you answer. I tried different ways to implement your decription but can't get it to work.
I've insert my cloumn named CustomSigns.cs_artikel in View linkable as well as in Edit linkable. Afterwards I adopt your code to this chronoform={CustomSigns.cs_artikel} and put it into Actions --> Form Event for view and tried also edit. The result is:Form not found or is not published
Any idea if I did somthing wrong or is this not working that way?
No, there is a box named links, suppose that you want to display the editing links under a column called "XYZ" (this can be a virtual column, just add it to the "columns list"), and so you can use:
XYZ:index.php?option=com_chronoforms5&chronoform={CustomSigns.cs_artikel}
But this assumes that the "CustomSigns.cs_artikel" column has the form's name, or how do you get this ?
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Max
Thanks! That works as expected.
I did it like this:
Column list = CustomSigns.cs_artikel:ArtikelNr
Links = CustomSigns.cs_artikel:index.php?option=com_chronoforms5&chronoform={CustomSigns.cs_artikel}
Is there a way to expand the url with the recordset ID. I will open the form with data belongs to that specific recordset. I allready create forms (with help from your tutorial).
Now I tried to extend the link in several tests but nothing works
https://www.mydomain.de/index.php/component/chronoforms5/?chronoform=PC1000&act=edit&gcb=29
https://www.mydomain.de/index.php/component/chronoforms5/?chronoform=PC1000&act=edit&cb=29
https://www.mydomain.de/index.php/component/chronoforms5/?chronoform=PC1000&act=edit&id=29
Any idea how to realize that?
Hi Enrico,
Please remove "act=edit" from the URL, because this is a custom edit page now.
Any of the of the links should work, the "gcb" is needed if you are using the default CC form, but since you need your own form (depending on the record) then you can use any, you will also have to load the record data yourself, using a "DB Read" action.
But you can try one more thing first, in your form "on load" event, drag a "connection action", and configure it, your connection's name and the action should be set to "edit", you will need to use the "gcb" link in this case, see if this loaded your data on the form ?
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?