How connect two forms

Raimis 12 Nov, 2015
I have forms:
AddUser
EditUser
and
PDFExport

i have list with all users and in list i want add link to PDFExport, when press button "PDF" create PDF with PDFExport form, but id or all info get from other form, or ID send in PDFExport and then create PDF ?
GreyHead 12 Nov, 2015
Hi Raimis,

I don't really understand the question ;-(

If you have a User ID or a Record ID then and the data you need has been saved to a database table then you can re-load it using a DB Read action and then include it in your PDF.

Bob
Raimis 12 Nov, 2015
Yes, but when load list of users

id | user | data |

1 | usr1 | data1 | edit | delete | pdf
2 | usr2 | data2 | edit | delete | pdf
...

when press edit or delete connective get id and delete or load form with data from id 1 or 2, how make new link PDF and when press PDF in pdf form get id 1 or 2 and export pdf with data from id 1 or 2
GreyHead 12 Nov, 2015
Hi Raimis,

Include the User ID in the URL you create for each button. . . .&uid=999

You can also do this with ChronoConnectivity.

Bob
Raimis 12 Nov, 2015
hmm how use this uid in ChronoConnectivity on all list url ?
GreyHead 13 Nov, 2015
Hi Raimis,

I think that you can use the HTML box on the Front List > Settings tab like this[code]model_id.link:<a href='some_url/{model_id.uid}' >[Edit}</a> [/code]
Bob
Raimis 13 Nov, 2015
hmm not work in HTML box
GreyHead 13 Nov, 2015
Hi Raimis,

You have to change most of that code to use the values from your listing.

Bob
Raimis 13 Nov, 2015
UserEdit.PdfUrl:<a href='/{UserEdit.PdfUrl}{UserEdit.id}' >PDF</a>
GreyHead 13 Nov, 2015
Hi Raimis,

That looks OK

Bob
Raimis 13 Nov, 2015
but not work... :/
GreyHead 13 Nov, 2015
Hi Raimis.

Saying that it doesn't work is not very helpful in finding a solution. Exactly how doesn't it work? What is the HTML that is being created?

Bob
Raimis 14 Nov, 2015
in HTML box just nothing, but in columns list box work fine this code. thanks you Bob
Raimis 14 Nov, 2015
hmm but in admin list not work.. why ?
Max_admin 17 Nov, 2015
Hi,

You can use the "Edit linkable" box for creating edit links directly.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.